[PATCH] MC: For variable symbols, maintain MCSymbol::Section as a cache.

Peter Collingbourne peter at pcc.me.uk
Tue Mar 24 11:59:57 PDT 2015


Hi rafael,

This fixes the visibility of symbols in certain edge cases involving aliases
with multiple levels of indirection.

http://reviews.llvm.org/D8586

Files:
  include/llvm/MC/MCMachObjectWriter.h
  include/llvm/MC/MCSymbol.h
  lib/MC/MCExpr.cpp
  lib/MC/MCSymbol.cpp
  lib/MC/MachObjectWriter.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
  lib/Target/X86/X86AsmPrinter.cpp
  test/MC/ELF/alias.s
  test/MC/MachO/ARM/aliased-symbols.s

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8586.22590.patch
Type: text/x-patch
Size: 9977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150324/aec4478a/attachment.bin>


More information about the llvm-commits mailing list