[LLVMdev] [patch] New feature: debug info for function memory ranges (-jit-emit-debug-function-range)

Yuri 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.

Thank you,

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-debug-info.txt
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100619/7a359d1a/attachment.txt>

More information about the llvm-dev mailing list