[llvm-branch-commits] [clang] [Clang] Load pass plugins before parsing LLVM options (PR #171868)

William Moses via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 15 07:51:31 PST 2025


================
@@ -474,8 +475,11 @@ class CodeGenOptions : public CodeGenOptionsBase {
 
   std::vector<std::string> DefaultFunctionAttrs;
 
-  /// List of dynamic shared object files to be loaded as pass plugins.
-  std::vector<std::string> PassPlugins;
+  /// List of dynamic shared object file names to be loaded as pass plugins.
+  std::vector<std::string> PassPluginNames;
----------------
wsmoses wrote:

Since this PR keeps the existing pass plugin name infrastructure, it is wise to not rename it and avoid churn.

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


More information about the llvm-branch-commits mailing list