[PATCH] D29367: LTO: Link non-prevailing weak_odr, linkonce_odr or available_externally globals into the combined module with available_externally linkage.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 19:48:47 PST 2017


pcc created this revision.

These linkages mean that the ultimately prevailing symbol will have the same
semantics as any non-prevailing copy of the symbol, so we are free to ignore
the linker's resolution.


https://reviews.llvm.org/D29367

Files:
  llvm/lib/LTO/LTO.cpp
  llvm/test/LTO/Resolution/X86/Inputs/link-availextern.ll
  llvm/test/LTO/Resolution/X86/link-availextern.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29367.86566.patch
Type: text/x-patch
Size: 4312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170201/ae0453c0/attachment.bin>


More information about the llvm-commits mailing list