summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaTemplate.cpp
diff options
context:
space:
mode:
authorLeonard Chan <leonardchan@google.com>2019-06-20 19:44:51 +0000
committerLeonard Chan <leonardchan@google.com>2019-06-20 19:44:51 +0000
commit97dc622ab3f77d877ee302908dec20d9dbddfe2b (patch)
tree4752ea94709b449017d8d0fa101ac8419c97807f /clang/lib/Sema/SemaTemplate.cpp
parent642ed40e57faa34ee3ae7ba0e32f75ff582d408b (diff)
downloadbcm5719-llvm-97dc622ab3f77d877ee302908dec20d9dbddfe2b.tar.gz
bcm5719-llvm-97dc622ab3f77d877ee302908dec20d9dbddfe2b.zip
[clang][NewPM] Do not eliminate available_externally durng `-O2 -flto` runs
This fixes CodeGen/available-externally-suppress.c when the new pass manager is turned on by default. available_externally was not emitted during -O2 -flto runs when it should still be retained for link time inlining purposes. This can be fixed by checking that we aren't LTOPrelinking when adding the EliminateAvailableExternallyPass. Differential Revision: https://reviews.llvm.org/D63580 llvm-svn: 363971
Diffstat (limited to 'clang/lib/Sema/SemaTemplate.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud