-
Notifications
You must be signed in to change notification settings - Fork 34
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
Demangle invocation block symbols #197
Conversation
I wonder if we should also support four underscores in parity with |
This looks good so far, I don't see why we couldn't add support for 4 |
Added and rebased! |
// Taken from https://git.llvm.org/klaus/libcxxabi/commit/5dd173b3792e868a7ebfa699d156f24075eafc01.diff | ||
demangles!( | ||
___ZN19URLConnectionClient33_clientInterface_cancelConnectionEP16dispatch_queue_sU13block_pointerFvvE_block_invoke14, | ||
"invocation function for block in URLConnectionClient::_clientInterface_cancelConnection(dispatch_queue_s*, void () block_pointer)" |
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.
Maybe
"invocation function for block in URLConnectionClient::_clientInterface_cancelConnection(dispatch_queue_s*, void () block_pointer)" | |
"invocation function for block 14 in URLConnectionClient::_clientInterface_cancelConnection(dispatch_queue_s*, void () block_pointer)" |
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.
Just confirming -- LLVM demangles without that number. Do you still prefer me to add it in?
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.
Do you still prefer me to add it in?
I guess not.
I think this is fine to merge, thanks @jan-auer! 😄 |
@miguelsaldivar could we get another release with the recent fixes so that we can release this in dependent crates? |
0.2.16 released. |
Demangles symbols like this one:
___Z
(three_
)_block_invoke
and an optional number (required if followed by_
)See http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20130408/077728.html