Displaying 1 result from an estimated 1 matches for "your_tool".
2010 Oct 08
0
[LLVMdev] FW: How to debug jit code
...ead this page? http://llvm.org/docs/DebuggingJITedCode.html
>
> It contains pretty much what you're asking - it uses a command-line
> switch to lli as opposed to the C++ interface, but if you're using
> llvm::cl for options processing you get that flag automatically (try
> ./your_tool --help | grep jit-emit-debug).
>
> With that flag enabled you should just be able to run the task under
> GDB and it "just work". In theory :)
>
> Cheers,
>
> James
>
> > -----Original Message-----
> > From: llvmdev-bounces at cs.uiuc.edu [mailto:ll...