diff options
author | Teresa Johnson <tejohnson@google.com> | 2016-07-14 21:13:24 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2016-07-14 21:13:24 +0000 |
commit | 35e0204eecb944ff879c752d8b75f8122de621ea (patch) | |
tree | 30e01a1894e47e929f10d3ecee34904bceebb8c7 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 96e881deb5243dc915d049874389b4d01ae2db2a (diff) | |
download | bcm5719-llvm-35e0204eecb944ff879c752d8b75f8122de621ea.tar.gz bcm5719-llvm-35e0204eecb944ff879c752d8b75f8122de621ea.zip |
[ThinLTO/gold] Perform index-based weak/linkonce resolution
Summary:
Invoke the weak/linkonce symbol resolution support (already used by
libLTO) that operates via the summary index.
This ensures prevailing linkonce are kept, by making them weak, and
marks preempted copies as available_externally when possible.
With this change, the older support for keeping the prevailing linkonce
(by changing their symbol resolution) is removed.
Reviewers: mehdi_amini
Subscribers: llvm-commits, mehdi_amini
Differential Revision: http://reviews.llvm.org/D22302
llvm-svn: 275474
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions