diff options
author | Teresa Johnson <tejohnson@google.com> | 2015-06-10 17:49:45 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2015-06-10 17:49:45 +0000 |
commit | 88c3c6799748a14a7decb48a31d4f99a72af1527 (patch) | |
tree | d8ef43478108eaa3b12a53c56d8710d9338a7b54 /llvm/lib/CodeGen/AsmPrinter/WinException.cpp | |
parent | 232fa9af3b127a95d017e9cd4d764898d19916b2 (diff) | |
download | bcm5719-llvm-88c3c6799748a14a7decb48a31d4f99a72af1527.tar.gz bcm5719-llvm-88c3c6799748a14a7decb48a31d4f99a72af1527.zip |
Pass down the -flto option to the -cc1 job, and from there into the
CodeGenOptions and onto the PassManagerBuilder. This enables gating
the new EliminateAvailableExternally module pass on whether we are
preparing for LTO.
If we are preparing for LTO (e.g. a -flto -c compile), the new pass is not
included as we want to preserve available externally functions for possible
link time inlining.
llvm-svn: 239481
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/WinException.cpp')
0 files changed, 0 insertions, 0 deletions