Hi Eric,<br><br>Thanks for the reply. I am very new to llvm so could you elaborate more about you meant by 'debugging lli'? <br><br>Thanks a lot!<br><br>Christine<br><br><div class="gmail_quote">On Thu, Aug 18, 2011 at 4:47 PM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@apple.com">echristo@apple.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
On Aug 18, 2011, at 4:39 PM, Christine Cheng wrote:<br>
<br>
> Hi,<br>
><br>
> 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?<br>
<br>
</div>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.<br>
<br>
You could try to use bugpoint to reduce a test case out of what you have.<br>
<font color="#888888"><br>
-eric<br>
</font></blockquote></div><br>