Skip to content

Fix MetadataReader's isa-chasing on platforms that use indexed isa. #7199

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

Merged

Conversation

rjmccall
Copy link
Contributor

@rjmccall rjmccall commented Feb 2, 2017

This is just implementing Greg Parker's spec for how to do it.

rdar://29996920

@rjmccall
Copy link
Contributor Author

rjmccall commented Feb 2, 2017

@swift-ci Please test.

@rjmccall
Copy link
Contributor Author

rjmccall commented Feb 2, 2017

Starting tests, but I'm going to hold this until I see that it's fixing the armv7k problems on trunk.

@rjmccall
Copy link
Contributor Author

rjmccall commented Feb 2, 2017

In the meantime, @slavapestov would you mind reviewing?

@slavapestov
Copy link
Contributor

Looks good, thanks!

@rjmccall
Copy link
Contributor Author

rjmccall commented Feb 2, 2017

Looks like the trunk change did not fix the issue. Holding this for source updates.

This is just implementing Greg Parker's spec for how to do it.

rdar://29996920
…Shift.

Unfortunately, I'm flying blind a bit --- this code is hard to
test outside of an integrated environment on a target using the
ABI in question, and I don't have such an environment set up ---
so I'm left with this rather ugly process of iteratively submitting
patches for trivial bugs and waiting for the bots to deliver judgment.
The environment could be mocked with a test environment that used
a nonstandard ObjC ABI, but that would actually take a lot of work
because of Swift's assumptions about the ObjC ABI: we'd basically
have to configure the test environment as a real, proper target,
possibly all the way through LLVM.
@rjmccall rjmccall force-pushed the indexed-isa-metadata-reader-3.1 branch from 06c7c80 to 064ffc2 Compare February 2, 2017 18:10
@rjmccall
Copy link
Contributor Author

rjmccall commented Feb 3, 2017

Bot finally came back clean on that test, so the new revision is good to go.

@swift-ci Please test.

@swift-ci
Copy link
Contributor

swift-ci commented Feb 3, 2017

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 06c7c8071e86123eb8cf3a44778f9ddd39858d0a
Test requested by - @rjmccall

@swift-ci
Copy link
Contributor

swift-ci commented Feb 3, 2017

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 06c7c8071e86123eb8cf3a44778f9ddd39858d0a
Test requested by - @rjmccall

@rjmccall
Copy link
Contributor Author

rjmccall commented Feb 3, 2017

@swift-ci Please test.

@swift-ci
Copy link
Contributor

swift-ci commented Feb 3, 2017

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 064ffc2
Test requested by - @rjmccall

@tkremenek tkremenek merged commit 2fd9e93 into swiftlang:swift-3.1-branch Feb 3, 2017
@rjmccall rjmccall deleted the indexed-isa-metadata-reader-3.1 branch February 28, 2018 18:48
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.

4 participants