Skip to content

[lldb] Consider local decls when getting base name of a node #3194

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

augusto2112
Copy link

No description provided.

@adrian-prantl
Copy link

LGTM, this also looks like a great candidate for a function that should have a unit test where expect GetBaseName(mangle("mangled_Name") == "base-name".

@augusto2112
Copy link
Author

@adrian-prantl this will be tested when we make GetDynamicTypeAndAddress_Class use reflection, but good idea, I'll write a more specific test for this situation.

@augusto2112 augusto2112 force-pushed the get-base-of-local-decl branch from 87ce905 to 3e2a53f Compare August 26, 2021 21:32
@augusto2112 augusto2112 force-pushed the get-base-of-local-decl branch from 3e2a53f to cf7cb6b Compare August 26, 2021 21:34
@augusto2112 augusto2112 merged commit c87898e into swiftlang:stable/20210726 Aug 26, 2021
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