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

Christine Cheng clcheng at stanford.edu
Thu Aug 18 16:56:03 PDT 2011


Hi Eric,

Thanks for the reply. I am very new to llvm so could you elaborate more
about you meant by 'debugging lli'?

Thanks a lot!

Christine

On Thu, Aug 18, 2011 at 4:47 PM, Eric Christopher <echristo at apple.com>wrote:

>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110818/d8ad423f/attachment.html>


More information about the llvm-dev mailing list