================
@@ -131,6 +132,9 @@ class CompilerInstance : public ModuleLoader {
   /// The semantic analysis object.
   std::unique_ptr<Sema> TheSema;
 
+  /// Back-end pass plugins.
+  std::vector<llvm::PassPlugin *> PassPlugins;
----------------
tarunprabhu wrote:

Why does the CompilerInstance not own the loaded `llvm::PassPlugin` objects? 
The owner seems to be the `ExecuteCompilerInvocation` function.

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