summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-10-30 05:15:23 +0000
committerTeresa Johnson <tejohnson@google.com>2016-10-30 05:15:23 +0000
commit3bc8abdffc648cf1ff17edfed6fcb155b52e823f (patch)
treed1129315532cd132936f387b3c87d645e40c8ea3 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent720033ad19fef80d033fc5be806e0f4c62cc0423 (diff)
downloadbcm5719-llvm-3bc8abdffc648cf1ff17edfed6fcb155b52e823f.tar.gz
bcm5719-llvm-3bc8abdffc648cf1ff17edfed6fcb155b52e823f.zip
[ThinLTO] Correctly resolve linkonce when importing aliasee
Summary: When we have an aliasee that is linkonce, while we can't convert the non-prevailing copies to available_externally, we still need to convert the prevailing copy to weak. If a reference to the aliasee is exported, not converting a copy to weak will result in undefined references when the linkonce is removed in its original module. Add a new test and update existing tests. Reviewers: mehdi_amini Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D26076 llvm-svn: 285512
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud