Which tools do you guys use? How do demangle c++ symbols do be able to pass it to profiler tools, such as opannotate?
Thanks
The flag -g is used to show only exported symbols. Show activity on this post. Try adding -l to the nm flags in order to get the source of each symbol. If the library is compiled with debugging info (gcc -g) this should be the source file and line number.
Linux Binary Directory. Binary files are the files which contain compiled source code (or machine code). They are also called executable files because they can be executed on the computer.
Use nm
to see all symbols and c++filt
to demangle.
Example:
nm -an foo | c++filt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With