[llvm-commits] JITEventListener for eventual profiling and maybe gdb support

Eric Christopher echristo at apple.com
Wed Jun 24 14:46:58 PDT 2009


On Jun 24, 2009, at 2:43 PM, Evan Cheng wrote:

> +// This is a public symbol so the performance tools can find it.
> +JitSymbolTable *__jitSymbolTable;
> +
>
> Hmm. Is there a better solution? From what I can tell, the event
> listener is responsible for allocating symbol table memory so it
> effectively owns it. Can we register the address with the performance
> tools? We're pushing to be more thread safe.

This code is just a move of something already in llvm.  I'm currently  
bugging
the performance tools guys here for a better way to do this, and have  
hopes
of something reasonably soon I can add into llvm.  That said, as far  
as I can tell
from asking this code doesn't work with any performance tools at apple
and is off by default :)

-eric



More information about the llvm-commits mailing list