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

Simon Dardis via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 09:05:17 PDT 2016


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24721.71836.patch
Type: text/x-patch
Size: 13445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160919/950d221c/attachment.bin>


More information about the llvm-commits mailing list