Review request: generate DWARF pubnames under a compiler option

Krzysztof Parzyszek kparzysz at codeaurora.org
Tue Feb 12 09:06:43 PST 2013


On 2/11/2013 4:20 PM, Eric Christopher wrote:
>
> [...] Also, I'd hope that whatever way you're iterating over the list is
> stable. I didn't think to check that, so if it isn't please make sure it
> is.

The StringMap iterator will give the same sequence for each map that has 
been filled with the same contents and the individual insertions were 
done in the same order.  Unless the code that inserts the names into the 
map changes, the results should be the same.

On a somewhat different note---is there a way to test the change to 
llvm-dwarfdump?  I already committed it without a test, and testing it 
would require something like a pre-existing object file to parse.  I saw 
that there were other testcases that had object files associated with 
them---is this the usual strategy?

-Krzysztof

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



More information about the llvm-commits mailing list