================ @@ -1382,6 +1382,7 @@ runThinLTOBackend(CompilerInstance &CI, ModuleSummaryIndex *CombinedIndex, Conf.RemarksFormat = CGOpts.OptRecordFormat; Conf.SplitDwarfFile = CGOpts.SplitDwarfFile; Conf.SplitDwarfOutput = CGOpts.SplitDwarfOutput; + Conf.PassPlugins = CGOpts.PassPlugins; ---------------- aengelke wrote:
Hm. I believe at this point the plugins have already been loaded into CI.getPassPlugins()? Right now plugins will get loaded twice (not problematic, but also not ideal). I think LTO doesn't expose an API to pass PassPlugin instances instead of file names, maybe that should be added. https://github.com/llvm/llvm-project/pull/183525 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
