[all-commits] [llvm/llvm-project] c28584: Enable new passmanager plugin support for LTO.
Eli Friedman via All-commits
all-commits at lists.llvm.org
Tue Apr 14 15:07:44 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c285841a4fb7ab0ead76043649394c443b03e5fc
https://github.com/llvm/llvm-project/commit/c285841a4fb7ab0ead76043649394c443b03e5fc
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2020-04-14 (Tue, 14 Apr 2020)
Changed paths:
M lld/tools/lld/CMakeLists.txt
M llvm/examples/Bye/Bye.cpp
M llvm/include/llvm/LTO/Config.h
M llvm/lib/LTO/CMakeLists.txt
M llvm/lib/LTO/LTOBackend.cpp
M llvm/test/Feature/load_extension.ll
M llvm/test/lit.cfg.py
M llvm/tools/llvm-lto2/CMakeLists.txt
M llvm/tools/llvm-lto2/llvm-lto2.cpp
Log Message:
-----------
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
More information about the All-commits
mailing list