-
Notifications
You must be signed in to change notification settings - Fork 124
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 other languages #6
Comments
Yes please! C++ source isn't loading right now. |
@mcourteaux can you provide a minimal repro, it'll be easier to test. |
You also need to include dwarf information in the binary -- i.e. For installing the tool |
Just tried your suggestion, and it still isn't working. Is there some verbose mode that could give you more information? Thanks for telling me about |
@mcourteaux if it doesn't work, then my guess was just wrong :). |
I would really like a general language tool for doing what this does for C Rust C++ etc. I am willing to put the time to make this happen is this a direction this project is willing to go or should I make my own tool? |
@nevakrien I'm definitely interested in it, but other things in life have gotten in the way, so I haven't had too much time for personal coding projects. So, if you are interested in implementing that part there are few things that are needed. The main interfaces that need to be implemented are in For reference you can see the
https://github.com/google/pprof already does many of these things and for multiple languages, but in a different form. For example https://github.com/google/pprof/blob/main/internal/binutils/addr2liner.go is a good starting point. For this project the approach would be similar -- hook into clang/gcc tooling to do the disassembly and symbolization. I currently also have partial WASM support. Search for |
Technically the core logic needs:
lensm/internal/disasm/file.go
Line 3 in d977133
Rest of the code should work fine.
The text was updated successfully, but these errors were encountered: