Skip to content

[lldb] Do not return old Swift mangled symbols from resolvePointerAsSymbol #3967

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

kastiglione
Copy link

@kastiglione kastiglione commented Feb 19, 2022

isSwiftSymbol() returns true for old Swift type mangling, which is any symbol starting with "_T". This is unwanted, so the check is expanded to exclude regular symbols that happen to collide with the old prefix.

@kastiglione
Copy link
Author

@swift-ci test

@kastiglione
Copy link
Author

@swift-ci test Linux

@kastiglione
Copy link
Author

I am hoping to supersede this with #3984.

@kastiglione
Copy link
Author

I am keeping this as is.

@kastiglione kastiglione merged commit 652a6fd into stable/20211026 Feb 25, 2022
@kastiglione kastiglione deleted the lldb-Do-not-return-old-Swift-mangled-symbols-from-resolvePointerAsSymbol branch February 25, 2022 17:52
kastiglione added a commit that referenced this pull request Mar 24, 2022
…ymbol (#3967)

`isSwiftSymbol()` returns true for old Swift type mangling, which is any symbol starting with `"_T"`. This is unwanted, so the check is expanded to exclude regular symbols that happen to collide with the old prefix.

(cherry picked from commit 652a6fd)
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