diff options
author | Bob Haarman <llvm@inglorion.net> | 2017-03-01 19:22:18 +0000 |
---|---|---|
committer | Bob Haarman <llvm@inglorion.net> | 2017-03-01 19:22:18 +0000 |
commit | f947d8d16319bd3309ebdee5b68758272fbf9179 (patch) | |
tree | 7c21426276dee4637aa5c2559ab07bd5b76afada /lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py | |
parent | 9a563daff5cea6067c147faa3be325eada632707 (diff) | |
download | bcm5719-llvm-f947d8d16319bd3309ebdee5b68758272fbf9179.tar.gz bcm5719-llvm-f947d8d16319bd3309ebdee5b68758272fbf9179.zip |
enable building with LTO on Windows using clang-cl and lld
Summary: With clang-cl gaining support for link-time optimization, we can now enable builds using LTO when using clang-cl and lld on Windows. To do this, we must not pass the -flto flag to the linker; lld-link does not understand it, but will perform LTO automatically when it encounters bitcode files. We also don't pass /Brepro when using LTO - the compiler doesn't generate object files for LTO, so passing the flag would only result in a warning about it being unused.
Reviewers: rnk, ruiu, hans
Reviewed By: hans
Subscribers: mgorny, mehdi_amini, llvm-commits
Differential Revision: https://reviews.llvm.org/D30240
llvm-svn: 296658
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py')
0 files changed, 0 insertions, 0 deletions