Skip to content

[runtime] Add tests of pre-stable ABI objects with the stable ABI runtime #21403

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

gparker42
Copy link
Contributor

Someday old Swift apps using the pre-stable ABI may pass their objects to OS code implemented using the stable Swift ABI and runtime. This test verifies that the new Swift runtime handles such objects correctly.

This test does nothing until we enable the intended is-Swift bit in the stable ABI. At that point this test will run by creating ObjC classes and objects with bits set to mimic the pre-stable ABI.

@gparker42
Copy link
Contributor Author

@swift-ci please smoke test

@gparker42
Copy link
Contributor Author

@swift-ci please smoke test

@gparker42
Copy link
Contributor Author

Blocked by unrelated CI failure in lldb.

@gparker42
Copy link
Contributor Author

@swift-ci please smoke test

@gparker42 gparker42 merged commit 7200e10 into swiftlang:master Dec 21, 2018
gparker42 pushed a commit to gparker42/swift that referenced this pull request Dec 21, 2018
…time (swiftlang#21403)


* [test] Fix objc_old_swift when objc/objc-internal.h is not in the SDK.
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.

1 participant