Skip to content

Conversation

jonathanpenn
Copy link
Contributor

The stub executor needs to trampoline to the entry point in the debug dylib. But linking with -no_exported_symbols strips it and launching the app fails to find the symbol.

Handles both the LD_EXPORT_SYMBOLS build setting and manual flags added to OTHER_LDFLAGS.

Cherry-picked from b133772.

…2244838) (swiftlang#554)

The stub executor needs to trampoline to the entry point in the debug dylib. But linking with `-no_exported_symbols` strips it and launching the app fails to find the symbol.

Handles both the `LD_EXPORT_SYMBOLS` build setting and manual flags added to `OTHER_LDFLAGS`.
@jonathanpenn jonathanpenn changed the base branch from main to release/6.2 July 2, 2025 20:55
@jonathanpenn jonathanpenn enabled auto-merge (squash) July 3, 2025 02:53
@jonathanpenn
Copy link
Contributor Author

@swift-ci test

@jonathanpenn jonathanpenn merged commit 5bec990 into swiftlang:release/6.2 Jul 7, 2025
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants