summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2017-06-30 14:03:24 +0000
committerTeresa Johnson <tejohnson@google.com>2017-06-30 14:03:24 +0000
commitb247ffbaed52c4518b8bd688a9716ba21f5513ca (patch)
tree477988f624fd143b6586ef2fffecc69dceec05f0 /clang
parent7b6097ce737a17d69e14ec9203b2b6eb0db3e57c (diff)
downloadbcm5719-llvm-b247ffbaed52c4518b8bd688a9716ba21f5513ca.tar.gz
bcm5719-llvm-b247ffbaed52c4518b8bd688a9716ba21f5513ca.zip
[LTO] Remove values from non-prevailing comdats
Summary: When linking a regular LTO module, if it has any non-prevailing values (dropped to available_externally) in comdats, we need to do more than just remove those values from their comdat. We also remove all values from that comdat, so as to avoid leaving an incomplete comdat. This is necessary in case we are compiling in mixed regular and ThinLTO mode, since the resulting regularLTO native object is always linked into the final binary first. We need to prevent the linker from selecting an incomplete comdat that was not the prevailing copy. Fixes PR32980. Reviewers: pcc, rafael Subscribers: mehdi_amini, david2050, llvm-commits, inglorion Differential Revision: https://reviews.llvm.org/D34803 llvm-svn: 306826
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud