[PATCH] D40278: Object: Improve COFF irsymtab comdat representation.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 18:40:48 PST 2017


pcc created this revision.
Herald added subscribers: hiraditya, mehdi_amini.

Change the representation of COFF comdats so that a COFF linker
is able to accurately resolve comdats between IR and native object
files. Specifically, apply name mangling to comdat names consistently
with native object files, and do not export comdats with an internal
leader because they do not affect symbol resolution.


https://reviews.llvm.org/D40278

Files:
  llvm/lib/Object/IRSymtab.cpp
  llvm/test/LTO/Resolution/X86/symtab.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40278.123706.patch
Type: text/x-patch
Size: 3124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171121/fa617d32/attachment.bin>


More information about the llvm-commits mailing list