<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 22, 2011, at 6:48 AM, Irina Lipov wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,</div><div>I saw your update regarding "<em>The <code>DIBuilder</code> interface used by front ends to encode debugging     information in the LLVM IR now expects clients to use <code>DIBuilder::finalize()</code>    at the end of translation unit to complete debugging information encoding"</em><br clear="all">
Does it mean that in the new version you defer emission of some debug info until  the translation  is finished and this is a reason to use DIBuilder::finalize?</div></blockquote><br></div><div>Before this change, each type, subprogram and global variable information used to refer compile unit directly. Now, the compile unit keeps track of all these info directly. The compile unit MDNode is updated in the ::finalize() with list of types, subprograms etc..<div>-</div><div>Devang</div></div><br></body></html>