summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-04-26 17:53:39 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-04-26 17:53:39 +0000
commitfa58f7528e81c1a6d055cd93efe2a2f0364e0a3d (patch)
treef4126113b71764527f836220c52235eb39bc7e49 /clang/lib/Frontend/CompilerInvocation.cpp
parentc9f0a4f1eccf55c1f588c8d7e966c677a1baf781 (diff)
downloadbcm5719-llvm-fa58f7528e81c1a6d055cd93efe2a2f0364e0a3d.tar.gz
bcm5719-llvm-fa58f7528e81c1a6d055cd93efe2a2f0364e0a3d.zip
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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud