<div dir="ltr">This is actually another instance of <a href="http://llvm.org/PR20722">http://llvm.org/PR20722</a> . If you CC yourself on that PR you'll be notified when the fix goes in.<br><div><br></div><div>Cheers,</div><div>Lang.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 20, 2014 at 2:47 PM, Lang Hames <span dir="ltr"><<a href="mailto:lhames@gmail.com" target="_blank">lhames@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Radek,<div><br></div><div>I'm working on a patch that will fix this right now. It should be committed in the next day or so.</div><div><br></div><div>Cheers,</div><div>Lang.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Nov 20, 2014 at 6:41 AM, Radek Zagorowicz <span dir="ltr"><<a href="mailto:radek.zagorowicz@gmail.com" target="_blank">radek.zagorowicz@gmail.com</a>></span> wrote:<br></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>Hi guys.</div><div><br></div><div>I found a little bug in implementation of MCJIT.</div><div>I noticed that when I added object file (with all needed debug information) to lli by using -extra-object flag, it's impossible to debug it with gdb. Object file is in ELF format generated by llc. It is properly loaded by mcjit.</div><div>I noticed that the reason is probably in lack of calling "registerWithDebugger()" after object loading.</div><div>Adding this registration to the addObjectFile function body causes crash in runtime, probably because the Buffer member in loaded ObjectImage is null.</div><div>Am I right?</div><div>Do you have any idea how it can be fixed without reimplementation od loading objects in RuntimeDyld?</div><div><br></div><div>Regards.</div><div>rodia</div></div>
<br></div></div>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>