hanchenye-llvm-project/llvm/test/LTO/Resolution/X86/Inputs
Peter Collingbourne fa58f7528e LTO: Mark undefined module asm symbols as used.
Marking them as used causes them to be considered visible outside of LTO. This
prevents the symbols from being internalized or discarded, either by GlobalDCE
or by summary-based dead stripping in ThinLTO.

This change makes it unnecessary to add these symbols to llvm.compiler.used
in the backend, as the symbols are kept alive by virtue of being external,
so remove the backend code that handles that.

Fixes PR32798.

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

llvm-svn: 301438
2017-04-26 17:53:39 +00:00
..
alias-1.ll
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
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