<div dir="ltr"><div><div>interesting ... just curious, why did they delete "-debug-ir" to begin with ? <br><br></div>Also,
 it's extremely interesting that gdb and lldb can be used to debug LLVM 
IR. How does your code work (on a high level)? A high level explanation 
will help me understand what you've done better.<br><br></div>From first
 glance, my idea is slight different because your code interfaces with 
gdb and lldb while i'm more interested in making the debugger itself 
(sort of an extended interpreter). <div class="gmail-yj6qo gmail-ajU"><div id="gmail-:2e3" class="gmail-ajR" tabindex="0"><img class="gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div><div class="gmail-ajR" tabindex="0">Yours,</div><div class="gmail-ajR" tabindex="0">Brenda<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 4, 2018 at 12:32 AM, Siddharth Bhat <span dir="ltr"><<a href="mailto:siddu.druid@gmail.com" target="_blank">siddu.druid@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">You can attach debug info to the Llvm module about LLVM IR, at which point one can throw the executable into any debugger and get llvm level debugging.</p>
<p dir="ltr">I've started a patch to revive this feature (DebugIR pass). I've been sidetracked the past month, but I'll come back to it soon :)<br>
<a href="https://reviews.llvm.org/D40778" target="_blank">https://reviews.llvm.org/<wbr>D40778</a><br></p>
<p dir="ltr">Cheers,<br>
Siddharth </p>
<br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Thu 4 Jan, 2018, 09:23 Brenda So via llvm-dev, <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div>Hi <br></div><div><br></div><div>I am looking at 
open projects that LLVM want to implement and it seems to be a 
suggestion to write an LLVM IR level debugger. Is there any existing 
LLVM projects out there that already does such a thing? If not, I would 
like to try implementing one myself. <br><br></div>By debugger, I think 
it means something like gdb, where you can insert breakpoints, run code 
and observe layout of registers and memory at certain periods of time.<br><br></div>If anyone has suggestions as to how this IR debugger should work please let me know.<br></div><br></div>Thanks!<br></div>Brenda<br></div></div></div>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><div dir="ltr">-- <br></div><div class="m_7143297622509370479gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Sending this from my phone, please excuse any typos!</div></div>
</font></span></blockquote></div><br></div>