Skip to content

[Mangled name to metadata] Minor fixes/tests #13872

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
merged 2 commits into from
Jan 11, 2018

Conversation

DougGregor
Copy link
Member

Two minor fixes:

  • Add tests for demangling never-before-seen function and existential types to metadata
  • Skip Objective-C type records when looking for types

This helps ensure that we're uniquing metadata properly when given
non-constant inputs, for existential types and function types.
When we scan the type metadata records or conformances to look
for a type by name, skip over indirect Objective-C class
references. We won’t find anything new there, but we’ll 
currently crash if they exist.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit b0d5454 into swiftlang:master Jan 11, 2018
@DougGregor DougGregor deleted the mangling-to-metadata-fixes branch January 11, 2018 16:44
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.

2 participants