[PATCH] D24721: [MC][MCParser] Mark local and weak symbols as such when parsing assembly text

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 09:10:40 PDT 2016


Sorry, why do you need to dump internal state? The description says:

This lead to different output
depending on whether MCAsmStreamer or MCELFStreamer was.

So you should be able to just check the output, no?

Cheers,
Rafael


On 19 September 2016 at 12:05, Simon Dardis via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> sdardis updated this revision to Diff 71836.
> sdardis added a comment.
>
> Expanded MCSymbol<ELF/COFF/MachO> to dump internal state. Expanded
> MCContext to be able to dump the symbol table. Added a new hidden option
> -asm-show-symbol-table that prints out the symbol table just before the
> AsmParser finishes running.
>
>
> https://reviews.llvm.org/D24721
>
> Files:
>   include/llvm/MC/MCContext.h
>   include/llvm/MC/MCSymbol.h
>   include/llvm/MC/MCSymbolCOFF.h
>   include/llvm/MC/MCSymbolELF.h
>   include/llvm/MC/MCSymbolMachO.h
>   lib/MC/MCContext.cpp
>   lib/MC/MCParser/AsmParser.cpp
>   lib/MC/MCParser/ELFAsmParser.cpp
>   lib/MC/MCSymbolELF.cpp
>   test/MC/ELF/common.s
>   test/MC/ELF/common2.s
>   test/MC/ELF/weak.s
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160919/0c084c89/attachment.html>


More information about the llvm-commits mailing list