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

Yuri yuri at rawbw.com
Thu Jun 24 00:02:13 PDT 2010


On 06/23/2010 23:44, Chris Lattner wrote:
> This doesn't seem specific to the JIT.  Can you add this to the normal code generator, and have the JIT leverage off that?  Here are some minor comments, but the bigger issue of how this integrates seems important.
>    

Why this isn't specific to JIT? It outputs memory addresses of functions 
while they are run in JIT. Can code be run within LLVM in some other way 
than JIT?

> This doesn't look like a valid forward declaration:
>
> +  raw_fd_ostream* JITEmitDebugInfoFunctionRangeStream(NULL);
>    

This isn't the forward declaration, but the definition of the static value.


Yuri



More information about the llvm-dev mailing list