Skip to content
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

Add support for Rust v0 symbol mangling scheme #474

Open
cerisier opened this issue May 8, 2024 · 0 comments
Open

Add support for Rust v0 symbol mangling scheme #474

cerisier opened this issue May 8, 2024 · 0 comments

Comments

@cerisier
Copy link

cerisier commented May 8, 2024

Rust has defined its own symbol mangling scheme (https://rust-lang.github.io/rfcs/2603-rust-symbol-name-mangling-v0.html) which is currently not supported since it differs completely from the C++ name mangling scheme speedscope already support.

I can see that the C++ demangling support was taken from what seems like a pre WASM C++/Javascript transpilation process but not sure what?

If Rust demangling support makes sense for speedscope, what would be the best way to add support for it ?
Would you be open to loading WASM modules for demangling support ?

That way we could just use the official demangle from https://github.com/rust-lang/rustc-demangle
We could even do the same for C++ with abi::__cxa_demangle from cxxabi.h.

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

No branches or pull requests

1 participant