================
@@ -1350,7 +1352,12 @@ runThinLTOBackend(CompilerInstance &CI, 
ModuleSummaryIndex *CombinedIndex,
   assert(OptLevelOrNone && "Invalid optimization level!");
   Conf.CGOptLevel = *OptLevelOrNone;
   Conf.OptLevel = CGOpts.OptimizationLevel;
-  initTargetOptions(CI, Diags, Conf.Options);
+  Conf.InitTargetOptions = [&](llvm::Triple TheTriple) -> llvm::TargetOptions {
----------------
arichardson wrote:

```suggestion
  Conf.InitTargetOptions = [&](const llvm::Triple &TheTriple) -> 
llvm::TargetOptions {
```

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

Reply via email to