[PATCH] D120490: [ELF] Enable new passmanager plugin support for LTO
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 23 22:01:50 PDT 2022
MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lld/ELF/Options.td:718
+
+defm load_pass_plugins: Eq<"load-pass-plugin", "Load passes from plugin library">;
----------------
================
Comment at: lld/test/ELF/lto/ltopasses-extension.ll:4
+; RUN: opt -module-summary %s -o %t.o
+; RUN: ld.lld -%loadnewpmbye --lto-newpm-passes="goodbye" -mllvm=%loadbye -mllvm=-wave-goodbye %t.o 2>&1 | FileCheck %s
+; CHECK: Bye
----------------
Don't leave output in the current directory (which may be read-only in some downstream groups)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120490/new/
https://reviews.llvm.org/D120490
More information about the llvm-commits
mailing list