[LLVMdev] [patch] New feature: debug info for function memory ranges (-jit-emit-debug-function-range)
yuri at rawbw.com
Sat Jun 19 14:03:27 PDT 2010
This new option (--jit-emit-debug-function-range) will allow to output
function information for memory ranges that functions occupy in memory
while they run in JIT. File format generated is like this:
0x5000000 0x5001000 function_name_is_here
This feature is useful for external tools like valgrind and
google-perftools to profile the code when it is run in JIT. Particularly
google-perftools will have a special option (--external_symbols) that
will be able to import this file.
Note: to be useful this flag should be used with -disable-fp-elim to
generate standard prologs.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the llvm-dev