llvm-project/llvm/test/tools/gold
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
..
PowerPC [gold] Add datalayout to two tests where it was missing. 2016-12-14 22:53:43 +00:00
X86 LTO: Mark undefined module asm symbols as used. 2017-04-26 17:53:39 +00:00
invalid-dir.ll [gold] Test that we handle invalid directory correctly. 2016-09-09 22:14:57 +00:00
lit.local.cfg [gold] Test that we handle invalid directory correctly. 2016-09-09 22:14:57 +00:00