[LLVMdev] tools to debug human readable llvm assembly bc code?

Eric Christopher echristo at apple.com
Thu Aug 18 16:47:08 PDT 2011


On Aug 18, 2011, at 4:39 PM, Christine Cheng wrote:

> Hi,
> 
> I am working with a long llvm bc code in human readable form. I am wondering is there a tool like gdb to help me debug that piece of code?

It's not directly executable so no, not really. You could try debugging lli but that's probably pretty painful and is effectively debugging jitted code.

You could try to use bugpoint to reduce a test case out of what you have.

-eric



More information about the llvm-dev mailing list