[clang] [llvm] [LLVM] Add plugin hook for back-ends (PR #170846)

Mikael Holmen via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 16 22:17:32 PST 2025


================
@@ -0,0 +1,18 @@
+; REQUIRES: x86-registered-target
+; RUN: llc < %s %loadnewpmbye | FileCheck %s --check-prefix=CHECK-ASM
+; RUN: llc < %s %loadnewpmbye -last-words | FileCheck %s --check-prefix=CHECK-ACTIVE
+; RUN: not llc %s %loadnewpmbye -last-words -filetype=obj 2>&1 | FileCheck %s --check-prefix=CHECK-ERR
----------------
mikaelholmen wrote:

I think this RUN line is opening a file codegen-plugin.o in the local directory (which may be write protected) for the output. Can we change it to stdout (or dev/null if we're nott interested in it)?
Maybe just do "< %s" as in the other RUN lines?

https://github.com/llvm/llvm-project/pull/170846


More information about the cfe-commits mailing list