<div dir="ltr">The ELF backend does the exact same thing here. Should we rip that out too? Otherwise, could we maybe selectively enable it for the MCJIT case? I guess the real problem here is the debugger interface, which requires this kind of thing. Might be good to sit down very soon and think about if there's a better interface to the debugger we should expose. It would be good to do that sooner rather than later.</div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 15, 2014 at 12:54 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 Keno,<div><br></div><div>I've reverted this in r213086 and filed <a href="http://llvm.org/bugs/show_bug.cgi?id=20309" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=20309</a> to track re-enabling support.<div>

<br>
</div><div>Cheers,</div><div>Lang.<br><div><br></div></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 15, 2014 at 11:30 AM, 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 Keno,<div><br></div><div>Sorry - I'm going to have to back this out: It's breaking llvm-rtdyld due to the read-only MemoryBuffer issue. It also wreaks havoc with RuntimeDyldMachO in general, since we can no longer code to the MachOObjectFile API (section address references are common, and now these all need to go via the ObjectImage).</div>



<div><br></div><div>Once the RuntimeDyldMachO cleanup is in (hopefully today) I'll return to this - I think I can adapt your patch to build a solution that will do the right thing here.</div><div><br></div><div>Cheers,</div>



<div>Lang.</div><div> </div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 24, 2014 at 5:29 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">Committed in r211652. Thanks Keno!<br>
<br>
<a href="http://reviews.llvm.org/D4005" target="_blank">http://reviews.llvm.org/D4005</a><br>
<br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>