Skip to content

Teach MetadataReader how to skip artificial subclasses. #7535

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 1 commit into from
Feb 16, 2017

Conversation

rjmccall
Copy link
Contributor

@rjmccall rjmccall commented Feb 16, 2017

Even when the API isn't being used, this has the side-effect of preventing MetadataReader from going off into the weeds when it sees a null NominalTypeDescriptor reference.

and improve RemoteAST to provide corresponding APIs.
@rjmccall
Copy link
Contributor Author

@swift-ci Please smoke test and commit.

@rjmccall
Copy link
Contributor Author

@swift-ci Please smoke test.

@slavapestov
Copy link
Contributor

Do we want this for 3.1 as well?

@rjmccall rjmccall merged commit 0874207 into swiftlang:master Feb 16, 2017
@rjmccall rjmccall deleted the metadata-reader-skip-artificial branch February 16, 2017 22:56
@rjmccall
Copy link
Contributor Author

Not unless someone's asking for it. RemoteAST didn't have a getHeapMetadataForObject accessor before, so I suspect that LLDB just does this itself, in which case maybe it looks through artificial classes, too.

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