[LLVMdev] [patch] New feature: debug info in add2line format (--jit-emit-debug-addr2line)
yuri at rawbw.com
Wed Jun 16 12:23:08 PDT 2010
This new option will allow to output function information in the same
format as addr2line from binutils emits:
0xABCDEF01 T function_name_is_here
This feature is useful to profile the code when it is run in JIT by
external tools like valgrind and google-perftools.
For example, google-perftools runs addr2line on executable and uses the
resulting file to resolve memory addresses to function names. In case of
LLVM JIT the resulting from --jit-emit-debug-addr2line option
addr2line-formatted file can be just appended to the original addr2line
file to allow google-perftools to show created by JIT functions as well.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the llvm-dev