-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[runtime] Directly reference objc_setHook_getImageName #19414
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
@swift-ci Please test macOS |
@swift-ci Please smoke test Linux |
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 good!
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.
Whoops, didn't actually approve it.
Build failed |
Uh, hm. Do we need a runtime library that's not present to do this? Oh well, I'll go back to the old way and silence the warning. |
(instead of using dlsym) The original use went in before <objc/runtime.h> was updated, but now it should be present in all Xcode 10 SDKs. rdar://problem/42137765
bdda1e2
to
9cb6d39
Compare
@swift-ci Please test macOS |
@swift-ci Please smoke test Linux |
Build failed |
Weird. Does |
I suspect it just requires compiler-rt or something that's not being built in all configurations, but I'm not motivated enough to find out since this way is fine too. |
@swift-ci Please test macOS |
(instead of using dlsym)
The original use went in before <objc/runtime.h> was updated, but now it should be present in all Xcode 10 SDKs.
rdar://problem/42137765