[LLVMdev] [patch] New feature: debug info for function memory ranges (-jit-emit-debug-function-range)
Yuri
yuri at rawbw.com
Tue Jun 22 16:18:55 PDT 2010
On 06/19/2010 14:03, Yuri wrote:
> 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,
> Yuri
Anybody can check this in?
Yuri
More information about the llvm-dev
mailing list