Go to file
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
clang Revert "Update to LLVM's use of WeakTrackingVH; NFC" 2017-04-26 16:37:51 +00:00
clang-tools-extra [clang-tidy] Update IdentifierNamingCheck to remove extra leading/trailing underscores 2017-04-26 16:39:11 +00:00
compiler-rt [lsan] When necessary, define LSan suppression for tls_get_addr. 2017-04-26 17:13:31 +00:00
debuginfo-tests Add additional CHECKs to safestack.c. 2017-04-17 17:57:05 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Add missing acquire_load to call_once overload. 2017-04-23 16:58:48 +00:00
libcxxabi Fix PR25874 - cxa_thread_atexit_test.pass.cpp has an incorrect XFAIL. 2017-04-20 23:40:35 +00:00
libunwind [CMake][libunwind] Fix the -target and -gcc-toolchain flag handling 2017-04-16 06:08:44 +00:00
lld LTO: Mark undefined module asm symbols as used. 2017-04-26 17:53:39 +00:00
lldb Initial implementation of SB APIs for Tracing support. 2017-04-26 08:48:50 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm LTO: Mark undefined module asm symbols as used. 2017-04-26 17:53:39 +00:00
openmp Fix Hwloc API Incompatibility 2017-04-25 19:04:07 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Update to isl-0.18-423-g30331fe 2017-04-26 17:08:02 +00:00