<div dir="ltr">Piotr,<div><br></div><div>I just checked this in after reviewing and testing. It includes the lazy eval and caching that you added in a separate thread with me.</div><div><br></div><div><div><font face="courier new, monospace">tfiala@tfiala2:/mnt/ssd/work/svn/lgs/llvm/tools/lldb$ svn commit</font></div>
<div><font face="courier new, monospace">Waiting for Emacs...</font></div><div><font face="courier new, monospace">Sending source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp</font></div><div><font face="courier new, monospace">Sending source/Plugins/ObjectFile/ELF/ObjectFileELF.h</font></div>
<div><font face="courier new, monospace">Transmitting file data ..</font></div><div><font face="courier new, monospace">Committed revision 204749.</font></div></div><div><br></div><div>Thanks for improving that, Piotr!</div>
<div><br></div><div>Sincerely,</div><div>Todd Fiala</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 11:10 AM, Piotr Rak <span dir="ltr"><<a href="mailto:piotr.rak@gmail.com" target="_blank">piotr.rak@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"><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-24 18:52 GMT+01:00 Ed Maste <span dir="ltr"><<a href="mailto:emaste@freebsd.org" target="_blank">emaste@freebsd.org</a>></span>:<div class="">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 23 March 2014 14:28, Piotr Rak <<a href="mailto:piotr.rak@gmail.com" target="_blank">piotr.rak@gmail.com</a>> wrote:<br>
><br>
> If I understand correctly the main purpose of UUID's for ObjectFileELF is<br>
> aiding gnu_debuglink which is used to locate debug info. The other one is<br>
> related to ModuleSpec and ModuleList where it is used for identification.<br>
><br>
> First in case of modules doesn't make much sense, it won't be correct, or<br>
> have even possibility to work, while second turns out to be useful, anyway.<br>
<br>
</div>gnu_debuglink uses the CRC to confirm that a standalone debug file<br>
(e.g. library.so.debug) matches the binary or library, and needs to be<br>
calculated only for those debug files. In fact, prior to the<br>
gnu_debuglink support I think ELF files all ended up with an all-0s<br>
UUID. I think your change is a reasonable first step.<br>
<span><font color="#888888"><br>
-Ed<br>
</font></span></blockquote></div></div><br></div><div class="gmail_extra">I was thinking about core files, not modules - no proof reading on my side - sorry, and of course you're 100% correct here.</div><div class="gmail_extra">
We already got gnu_debuglink crc from binary, and calculated value from core file makes no sense for that purpose.</div><div class="gmail_extra"><br></div><div class="gmail_extra">What I was thinking about is that would be nice to have "core matches executable" functionality, and I plan to work at it at some point, but it is other issue...</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Cheers,</div><div class="gmail_extra">/P</div></div>
<br>_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small">
<td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a> |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table><br></div>
</div>