[LLVMdev] Debugging of LLVM-IR

Garrison Venn gvenn.cfe.dev at gmail.com
Tue Feb 9 09:37:40 PST 2010


Are you running this in a JIT? If so this will help: http://llvm.org/docs/DebuggingJITedCode.html.

Garrison

On Feb 9, 2010, at 10:33, Sebastian Schlunke wrote:

> Hello,
> 
> is there any way to debug a program in LLVM-IR line-by-line (i.e. with gdb)?
> 
> The problem is, i have a program in human-readable-intermediate representation that segfaults, when executed. I want to know, which line in the IR causes this.
> 
> Any help is appreciated.
> 
> Best regards,
> Sebastian
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list