-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Add a SWIFT_RUNTIME_MACHO_NO_DYLD stdlib mode that doesn't dynamically look up sections in modules, and only assumes a single static module #33441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
738b631 to
1beec26
Compare
|
@swift-ci please test |
|
Build failed |
|
Build failed |
|
Instead of #ifdef-ing half of ImageInspectionMachO, maybe this variant could be put in its own ImageInspectionStatic.cpp file. It would also be useful to do this for static executables on Linux. |
|
@swift-ci please test |
|
Build failed |
|
Build failed |
…y look up sections in modules, and only assumes a single static module
1564b54 to
e2f1e55
Compare
|
@swift-ci please test |
|
Build failed |
|
Build failed |
|
@jckarter I've introduced the ImageInspectionStatic.cpp file instead of changing ImageInspectionMacho.cpp. Would you take another look now? |
| @@ -0,0 +1,77 @@ | |||
| //===--- ImageInspectionMachO.cpp - Mach-O image inspection ---------------===// | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still has the old name and short description.
|
Thanks to both of you, this approach looks much nicer. |
|
@swift-ci please test |
|
Build failed |
|
Build failed |
jckarter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much nicer this way. Thanks @kubamracek !
No description provided.