aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2021-02-10 01:44:05 -0800
committerVitaly Buka <vitalybuka@google.com>2021-02-23 22:14:41 -0800
commit8560c2d4268c32fb57a99993ffeb99b3745e0999 (patch)
tree27928be3735670257bdfe71cb1225c9e943bce38 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent053dc95839b3b8a36db46f8c419e36e632e989cd (diff)
downloadllvm-8560c2d4268c32fb57a99993ffeb99b3745e0999.zip
llvm-8560c2d4268c32fb57a99993ffeb99b3745e0999.tar.gz
llvm-8560c2d4268c32fb57a99993ffeb99b3745e0999.tar.bz2
[ThinLTO, NewPM] Run OptimizerLastEPCallbacks from buildThinLTOPreLinkDefaultPipeline
-O1 and above do dont call real optimizer pipeline in ThinLTO PreLink. Also clang can't add PostLink OptimizerLastEPCallbacks for in-process ThinLTO. This results in missing sanitizer passes with ThinLTO. Simple working solution is just call OptimizerLastEPCallbacks at the end of buildThinLTOPreLinkDefaultPipeline. Differential Revision: https://reviews.llvm.org/D96320
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions