<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 11, 2013 at 2:32 PM, Krzysztof Parzyszek <span dir="ltr"><<a href="mailto:kparzysz@codeaurora.org" target="_blank">kparzysz@codeaurora.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2/11/2013 4:20 PM, Eric Christopher wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Mmm.. I'd prefer you use llvm-dwarfdump after making an object file with<br>
it. Also, I'd hope that whatever way you're iterating over the list is<br>
stable.<br>
</blockquote>
<br></div>
The names are emitted using a StringMap::iterator.  I'll have to check if that's stable.  If not, I can change the emission of names to be stable.  The code in llvm-dwarfdump displays the names in the order in which they appear in the binary.<br>

<br>
Regarding the testcase---let me see if I understand: I'll use llc to create the .o, and then pass the .o to llvm-dwarfdump, and | the result through FileCheck to see if all the expected names are there.  Is that correct?<br>
</blockquote><div><br></div><div style>Yup.</div><div style><br></div><div style>Thanks!</div><div style><br></div><div style>-eric </div></div></div></div>