summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CachePruning.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-04-02 02:10:40 +0000
committerDavide Italiano <davide@freebsd.org>2016-04-02 02:10:40 +0000
commit4fda708624e1453c89e0520008de4780fc4fb885 (patch)
tree67b0759fba3c96f4bd0cf856d2492b7954b84412 /llvm/lib/Support/CachePruning.cpp
parent242bbdb7bf73e99a7e79b8d37320e7f14906102f (diff)
downloadbcm5719-llvm-4fda708624e1453c89e0520008de4780fc4fb885.tar.gz
bcm5719-llvm-4fda708624e1453c89e0520008de4780fc4fb885.zip
[LTO] Fix symbols which were internalized incorrectly.
If a symbol is defined in an archive, when we replace its body the isUsedInRegularObj wasn't set correctly. Internalize makes its decision based on that bit so we ended up internalizing symbols that we shouldn't (because they're referenced). This should fix. Thanks to Peter and Rafael for discussion and help diagnosing the issue! Found during LTO of unittests. llvm-svn: 265208
Diffstat (limited to 'llvm/lib/Support/CachePruning.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud