Review request: generate DWARF pubnames under a compiler option

Eric Christopher echristo at gmail.com
Mon Feb 11 14:33:26 PST 2013


On Mon, Feb 11, 2013 at 2:32 PM, Krzysztof Parzyszek <
kparzysz at codeaurora.org> wrote:

> 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
> correct?
>

Yup.

Thanks!

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130211/ccb676a1/attachment.html>


More information about the llvm-commits mailing list