[PATCH] D34450: bug33527 - Linker::LinkOnlyNeeded should import AppendingLinkage globals (release_40)

Benoit Belley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 07:26:02 PDT 2017


belleyb created this revision.
Herald added subscribers: eraman, mehdi_amini.

- Linker::LinkOnlyNeeded should always import globals with AppendingLinkage when used in Full-LTO / non-performing-import mode.

- This the patch against the release_40 branch; 4.0.1-rc2 / revision 304242 to be exact. There's also a review for a fix in trunk. See: https://reviews.llvm.org/D34448

See: https://bugs.llvm.org/show_bug.cgi?id=33527


https://reviews.llvm.org/D34450

Files:
  lib/LTO/ThinLTOCodeGenerator.cpp
  lib/Linker/LinkModules.cpp
  unittests/Linker/LinkModulesTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34450.103373.patch
Type: text/x-patch
Size: 24018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170621/2a1cf1fa/attachment.bin>


More information about the llvm-commits mailing list