-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Demangling variadic tuples should not crash #31988
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
Demangling variadic tuples should not crash #31988
Conversation
@swift-ci Please smoke test |
Should we just remove this code? Variadic tuples were never a supported feature. |
Also can you add a test case to test/Demangler? |
@swift-ci Please test |
Build failed |
Build failed |
@swift-ci Please test |
1 similar comment
@swift-ci Please test |
Build failed |
Build failed |
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.
lgtm!
So valid demanglings of invalid types are actually accepted here.
@swift-ci Please test |
Build failed |
Build failed |
@swift-ci Please test |
Build failed |
@swift-ci Please test |
@swift-ci Please test |
Build failed |
Build failed |
@swift-ci Please test |
Build failed |
@swift-ci Please test Linux platform |
Build failed |
@swift-ci Please test Linux Platform |
Although variadic tuples per se are no longer supported, there is still code in the demangler to recognize these types. This one-line change fixes a typo in that code that was introduced in e427ded.
Resolves rdar://63342277