<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 28, 2011, at 2:36 PM, Vedavyas Duggirala wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>What is the right way to get a handle on the MDNode of the CompileUnit<br>in a Module ?<br><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><br></div><div><div>The CompileUnit is an instance of DICompileUnit, which is just a wrapper around a MDNode. See DebugInfo.h</div><div><br></div><div><blockquote type="cite"><div>I can't figure out what is wrong, there are no obvious duplicate<br>entries. The original CU entry got replaced by the CU I created  with<br>DIBuilder. Not sure, if changing the CU is the cause of error.<br></div></blockquote><br></div><div>How did you create a CU ?</div><div>-</div><div>Devang</div></div><br></body><!
 /html>