llvm-project/llvm/test/LTO/Resolution/X86/Inputs
Teresa Johnson b247ffbaed [LTO] Remove values from non-prevailing comdats
Summary:
When linking a regular LTO module, if it has any non-prevailing values
(dropped to available_externally) in comdats, we need to do more than
just remove those values from their comdat. We also remove all values
from that comdat, so as to avoid leaving an incomplete comdat.

This is necessary in case we are compiling in mixed regular and ThinLTO
mode, since the resulting regularLTO native object is always linked into
the final binary first. We need to prevent the linker from selecting an
incomplete comdat that was not the prevailing copy.

Fixes PR32980.

Reviewers: pcc, rafael

Subscribers: mehdi_amini, david2050, llvm-commits, inglorion

Differential Revision: https://reviews.llvm.org/D34803

llvm-svn: 306826
2017-06-30 14:03:24 +00:00
..
alias-1.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
comdat-mixed-lto.ll [LTO] Remove values from non-prevailing comdats 2017-06-30 14:03:24 +00:00
comdat.ll Temporarily revert "For X86-64 linux and PPC64 linux align int128 to 16 bytes." 2017-02-10 04:35:32 +00:00
common2.ll Temporarily revert "For X86-64 linux and PPC64 linux align int128 to 16 bytes." 2017-02-10 04:35:32 +00:00
commons.ll [LTO] Fix commons handling 2016-09-14 21:05:04 +00:00
dead-strip-fulllto.ll Apply summary-based dead stripping to regular LTO modules with summaries. 2017-06-15 17:26:13 +00:00
intrinsic.ll Don't drop the llvm. prefix when renaming. 2016-10-03 15:51:42 +00:00
link-odr-availextern-ae.ll Linker: Move special casing for available_externally in IRMover to clients. NFCI. 2017-02-02 05:12:15 +00:00
link-odr-availextern-odr.ll LTO: Link non-prevailing weak_odr or linkonce_odr globals into the combined module with available_externally linkage. 2017-02-02 05:22:42 +00:00
mixed_lto.ll Temporarily revert "For X86-64 linux and PPC64 linux align int128 to 16 bytes." 2017-02-10 04:35:32 +00:00
mod-asm-used.ll LTO: Mark undefined module asm symbols as used. 2017-04-26 17:53:39 +00:00