Skip to content

Add Scala Native demangling and tests #109

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
Mar 7, 2024

Conversation

keynmol
Copy link
Contributor

@keynmol keynmol commented Mar 7, 2024

This PR adds demangling of Scala Native symbols, using a crate I've written and updated specifically to be used in samply: https://crates.io/crates/scala-native-demangle

I've verified that demangling works:

CleanShot 2024-03-07 at 09 58 21@2x

The crate source is here: https://github.com/indoorvivants/scala-native-demangle-rs, it has no dependencies and as much as I can see with my very limited Rust ability, it shouldn't panic under normal circumstances.

Additionally, I put down some smoke tests for existing demanglers.

@mstange
Copy link
Owner

mstange commented Mar 7, 2024

Looks great, thank you!

@mstange mstange merged commit 2a1cf89 into mstange:main Mar 7, 2024
@keynmol keynmol deleted the scala-native-demangle branch March 7, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants