================
@@ -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;
+
+  /// List of loaded pass plugins.
+  std::vector<llvm::PassPlugin *> PassPlugins;
----------------
jansvoboda11 wrote:

`CodeGenOptions` is supposed to be a value type. Please store this somewhere 
else (e.g. `CompilerInstance`).

https://github.com/llvm/llvm-project/pull/171868
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to