[flang-commits] [clang] [flang] [llvm] [polly] [Plugins] Pass options to a pass plugin in -load-pass-plugin (PR #226773)
via flang-commits
flang-commits at lists.llvm.org
Sun Sep 27 06:00:06 PDT 2026
================
@@ -91,9 +91,11 @@ static cl::opt<std::string> RemarksFormat(
cl::desc("The format used for serializing remarks (default: YAML)"),
cl::value_desc("format"), cl::init("yaml"));
-static cl::list<std::string>
- PassPlugins("load-pass-plugin",
- cl::desc("Load passes from plugin library"));
+static cl::list<std::string> PassPlugins(
+ "load-pass-plugin",
+ cl::desc("Load passes from plugin library. The plugin's options follow "
+ "its file name, separated by commas"),
----------------
serge-sans-paille wrote:
nit: what should we do for people who add commas in their filesystem? Support escaping? Quoting?
https://github.com/llvm/llvm-project/pull/226773
More information about the flang-commits
mailing list