================
@@ -995,7 +995,12 @@ void
CodeGenAction::runOptimizationPipeline(llvm::raw_pwrite_stream &os) {
// Create the pass manager.
llvm::ModulePassManager mpm;
- if (opts.PrepareForFullLTO)
+ if (opts.PrepareForFatLTO) {
+ bool emitSummary = opts.PrepareForThinLTO || opts.PrepareForFullLTO ||
+ triple.getVendor() != llvm::Triple::Apple;
----------------
anchuraj wrote:
Thank you! Updated.
https://github.com/llvm/llvm-project/pull/158125
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits