diff options
author | Eli Friedman <efriedma@quicinc.com> | 2020-03-26 10:09:13 -0700 |
---|---|---|
committer | Eli Friedman <efriedma@quicinc.com> | 2020-04-14 15:07:07 -0700 |
commit | c285841a4fb7ab0ead76043649394c443b03e5fc (patch) | |
tree | 9de2e4102d91d65c63f09b54ec6a1dcd19d65c07 /lld/tools | |
parent | ca99a70237c0c762c5d9872625865a8ac19e6c10 (diff) | |
download | llvm-c285841a4fb7ab0ead76043649394c443b03e5fc.tar.gz |
Enable new passmanager plugin support for LTO.
This should make both static and dynamic NewPM plugins work with LTO.
And as a bonus, it makes static linking of OldPM plugins more reliable
for plugins with both an OldPM and NewPM interface.
I only implemented the command-line flag to specify NewPM plugins in
llvm-lto2, to show it works. Support can be added for other tools later.
Differential Revision: https://reviews.llvm.org/D76866
Diffstat (limited to 'lld/tools')
-rw-r--r-- | lld/tools/lld/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lld/tools/lld/CMakeLists.txt b/lld/tools/lld/CMakeLists.txt index 2cdd9b854246..e6f72fcd3488 100644 --- a/lld/tools/lld/CMakeLists.txt +++ b/lld/tools/lld/CMakeLists.txt @@ -5,7 +5,6 @@ set(LLVM_LINK_COMPONENTS add_lld_tool(lld lld.cpp - ENABLE_PLUGINS SUPPORT_PLUGINS ) export_executable_symbols_for_plugins(lld) |