summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-04-12 21:57:04 +0000
committerRui Ueyama <ruiu@google.com>2018-04-12 21:57:04 +0000
commit039d24877870c902274963250867a90b0b52f012 (patch)
tree0db899e4217245a2eb174f001d6ac6f3dc9ac71f /clang/lib/Frontend/CompilerInvocation.cpp
parent1615da6f4eb17882b5234aec47c838af51e6122b (diff)
downloadbcm5719-llvm-039d24877870c902274963250867a90b0b52f012.tar.gz
bcm5719-llvm-039d24877870c902274963250867a90b0b52f012.zip
Do not keep shared symbols created from garbage-collected eliminated DSOs.
If all references to a DSO happen to be weak, and if the DSO is specified with --as-needed, the DSO is not added to DT_NEEDED. If that happens, we also need to eliminate shared symbols created from the DSO. Otherwise, they become dangling references that point to non-exsitent DSO. Fixes https://bugs.llvm.org/show_bug.cgi?id=36991 Differential Revision: https://reviews.llvm.org/D45536 llvm-svn: 329960
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud