[LLVMdev] how to debug with interpreter
Rob Nikander
rob.nikander at gmail.com
Mon Mar 21 05:42:44 PDT 2011
On Sun, Mar 20, 2011 at 11:56 AM, Reid Kleckner <reid.kleckner at gmail.com> wrote:
> Alternatively, if you're on Linux, there's the gdb-jit interface,
> which should give you symbols and unwind tables without any extra
> effort on your part:
> http://llvm.org/docs/DebuggingJITedCode.html
This page says to run `lli -jit-emit-debug myfile.bc' under gdb. Does
the entire program need to be .bc files running through lli, or is
there a way to pass that -jit-emit-debug flag to the C++ api, inside a
normally compiled program?
thanks,
Rob
More information about the llvm-dev
mailing list