-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[RuntimeDyld][Windows] Allocate space for dllimport things. #102586
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
We weren't taking account of the space we require in the stubs for things that are `dllimport`ed, and as a result we could hit the assertion failure for running out of stub space. Fix that. rdar://133473673
This is a cherry pick of swiftlang#9071. |
No need for `TargetName` to exist separately, really. Co-authored-by: Saleem Abdulrasool <[email protected]>
adaa01b
to
8be77e9
Compare
✅ With the latest revision this PR passed the C/C++ code formatter. |
Looks to me like the build passed just fine, but the attempt to print the |
@lhames Any chance you could review this upstream PR? Also, I don't have merge rights and I also don't see how to kick the PR testing apparatus into retrying the build here (the failures don't seem to be anything to do with the PR). |
Fix `StringRef::starts_with` use. Co-authored-by: Ben Barham <[email protected]>
We weren't taking account of the space we require in the stubs for things that are dllimported, and as a result we could hit the assertion failure for running out of stub space. Fix that. Also add a couple of `override` specifiers that were missing last time (#102586). rdar://133473673
We weren't taking account of the space we require in the stubs for things that are dllimported, and as a result we could hit the assertion failure for running out of stub space. Fix that.
rdar://133473673