[PATCH] D28806: [ThinLTO] Drop non-prevailing non-ODR weak to declarations

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 07:31:36 PST 2017


tejohnson created this revision.

Allow non-ODR weak/linkonce non-prevailing copies to be marked
as available_externally in the index. Add support for dropping these to
declarations in the backend.


https://reviews.llvm.org/D28806

Files:
  lib/LTO/LTO.cpp
  lib/Transforms/IPO/FunctionImport.cpp
  test/ThinLTO/X86/weak_resolution.ll
  test/tools/gold/X86/Inputs/thinlto_weak_library1.ll
  test/tools/gold/X86/Inputs/thinlto_weak_library2.ll
  test/tools/gold/X86/thinlto_weak_library.ll
  test/tools/gold/X86/thinlto_weak_resolution.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28806.84670.patch
Type: text/x-patch
Size: 9220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170117/8316bdf6/attachment.bin>


More information about the llvm-commits mailing list