Add demangle support using external rustfilt tool#2
Conversation
|
Rebased and re-tested: Symbols that previously looked like This does emit a warning about not having been able to run the demangler even when there are no Rust symbols, but then I don't know how to reliably recognize them, it's just a warning, and it's not like there's certainty that there are no surprise Rust modules in RIOT any more ;-) Please review. |
rustfix toolrustfilt tool
mguetschow
left a comment
There was a problem hiding this comment.
Tested locally (or rather with BUILD_IN_DOCKER=1) with examples/rust-gcoap and can confirm this to work nicely.
All rust symbols are grouped under "unspecified", but that was already the case before so out of scope for this PR, I'd say.
Just a minor suggestion below.
mguetschow
left a comment
There was a problem hiding this comment.
Oh wait, the commit message should be changed with s/rustfix/rustfilt/
|
Thanks for checking, fixed. |
Applied the commit message suggestion
This PR adds support for an external demangler: If
rustfiltis present, symbol names are shown in a demangled way. This should cover not only Rust but also C++ symbols.This is moving haukepetersen#12 in here; marked as a draft as I'll have yet to review whether this is still all current.