<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 3, 2017 at 9:21 AM Adrian Prantl <<a href="mailto:aprantl@apple.com">aprantl@apple.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="gmail_msg">
> On Dec 23, 2016, at 11:33 AM, Mehdi Amini <<a href="mailto:mehdi.amini@apple.com" class="gmail_msg" target="_blank">mehdi.amini@apple.com</a>> wrote:<br class="gmail_msg">
><br class="gmail_msg">
> CC a few folks more aware of debug info that I am: is there a plan to make <a href="http://llvm.dbg.cu" rel="noreferrer" class="gmail_msg" target="_blank">llvm.dbg.cu</a> disappear?<br class="gmail_msg">
<br class="gmail_msg">
No. The <a href="http://llvm.dbg.cu" rel="noreferrer" class="gmail_msg" target="_blank">llvm.dbg.cu</a> named MDNode is the one IR node that (via their owning DICompileUnits) points to debug info for entities that have been optimized away.<br class="gmail_msg"></blockquote><div><br>I suppose arguably we could end up with a list of those entities, rather than a list of CUs. That way if all the functions in a CU were optimized away (& there were no other entities in the CU) the CU would be implicitly dropped.<br><br>- Dave<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="gmail_msg">
-- adrian<br class="gmail_msg">
</blockquote></div></div>