[LLVMdev] introspecting debug info from the JIT

Michael Muller mmuller at enduden.com
Wed Mar 30 07:05:30 PDT 2011


Hi all,

Can someone point me to a good way to get debug info from jitted code at
runtime?  Ideally I'm looking for something that given the current IP address,
provides function name, filename and line number.

The context of this request is that I'm trying to inject a stack-trace into an
exception object.

=============================================================================
michaelMuller = mmuller at enduden.com | http://www.mindhog.net/~mmuller
-----------------------------------------------------------------------------
If you are not willing to control your own mind, there are plenty of other
people who are willing to do it for you.
=============================================================================



More information about the llvm-dev mailing list