Review request: generate DWARF pubnames under a compiler option

Krzysztof Parzyszek kparzysz at
Mon Feb 11 14:32:13 PST 2013

On 2/11/2013 4:20 PM, Eric Christopher wrote:
> Mmm.. I'd prefer you use llvm-dwarfdump after making an object file with
> it. Also, I'd hope that whatever way you're iterating over the list is
> stable.

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.

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 

I'll split the updates to llvm-dwarfdump to a separate commit (that will 
be the first of the two).


Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation

More information about the llvm-commits mailing list