[clang] [lld] [llvm] [RFC] Initial reference pass-plugin in LLVM (PR #171111)

Stefan Gränitz via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 8 06:29:08 PST 2025


================
@@ -0,0 +1,127 @@
+# REQUIRES: native, system-linux, plugins, pypass-plugin
+
+# Entry-points in default and -O0 pipeline
+#
+# RUN: env LLVM_PYPASS_SCRIPT=%s \
----------------
weliveindetail wrote:

The option approach requires `-Xclang -load` that will load the plugin in a completely different point in time. That's why I prefer the environment variables here. Once we fixed options, I am happy to update this.

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


More information about the llvm-commits mailing list