[LLVMdev] Debugging of LLVM-IR

Sebastian Schlunke schlunki at cs.tu-berlin.de
Tue Feb 9 07:33:29 PST 2010


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,

More information about the llvm-dev mailing list