[clang] [flang] [llvm] [polly] [Plugins] Pass options to a pass plugin in -load-pass-plugin (PR #226773)

Alexis Engelke via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 27 03:19:33 PDT 2026


================

----------------
aengelke wrote:

We might want to pass arguments (as an ArrayRef<StringRef>) to the plugin here instead of calling cl:: here. I mean, this breaks plugins with options already on the user side and plugins that use cl:: will need to get ported eventually, so we might just as well break them once properly now and remove the implicit call to cl:: here (which we eventually want to remove again). Plugins can call cl:: themselves if they want to, or use whatever other option parsing library they want.

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


More information about the llvm-commits mailing list