<div dir="ltr"><div dir="ltr" class="gmail_msg">Sure, it isn't urgent at all. I created this as a resolution for the crash reported by Ramana (<a href="http://lists.llvm.org/pipermail/lldb-dev/2017-February/012001.html">http://lists.llvm.org/pipermail/lldb-dev/2017-February/012001.html</a>) but I don't fully understand the use case he/she is working on when wanting to open a ".o" file yet (but I still wanted to get rid of an LLDB crash).</div><div dir="ltr" class="gmail_msg"><br></div><div class="gmail_msg">Tamas</div><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Wed, Feb 22, 2017 at 3:03 PM Zachary Turner <<a href="mailto:zturner@google.com" class="gmail_msg" target="_blank">zturner@google.com</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yea if this isn't urgent, can we wait for my other changes to go in?<br class="gmail_msg"><br class="gmail_msg">Llvm does support mapping writable, but not through the same interface.  So it should still work <br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Wed, Feb 22, 2017 at 6:43 AM Pavel Labath via Phabricator <<a href="mailto:reviews@reviews.llvm.org" class="gmail_msg" target="_blank">reviews@reviews.llvm.org</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">labath added a reviewer: zturner.<br class="gmail_msg">
labath added a comment.<br class="gmail_msg">
<br class="gmail_msg">
Adding Zachary as he was about to remove this code.<br class="gmail_msg">
<br class="gmail_msg">
The timing of this patch is a bit unfortunate, as it would complicate the removal of the code in question. If I am not mistaken, llvm's version currently does not support copy-on-write mappings, which is what we are trying to do here. The c-o-w could certainly be added there, and we will probably need to do it in the future, but I am not sure whether this is the right time for it. I don't want to impede Zachary's cleanup effort due to a "feature" that noone has serious commitment of supporting.<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<a href="https://reviews.llvm.org/D30251" rel="noreferrer" class="gmail_msg" target="_blank">https://reviews.llvm.org/D30251</a><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div>
</blockquote></div></div>