문제

Which tools do you guys use? How do demangle c++ symbols do be able to pass it to profiler tools, such as opannotate?

Thanks

도움이 되었습니까?

해결책

Use nm to see all symbols and c++filt to demangle.

Example:

nm -an foo | c++filt

다른 팁

The profiling tool I use already knows the symbols and source code, since it is just the debugger. I can build the app with symbols included, even with full optimization.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top