From 1f6948565bf0ad9709cb5ac2b02c004aa1c2b95f Mon Sep 17 00:00:00 2001 From: Jan Svoboda Date: Fri, 19 Dec 2025 15:25:05 -0800 Subject: [PATCH] [llvm] Propagate the VFS to `SampleProfileLoaderPass` --- llvm/lib/Passes/PassBuilderPipelines.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Passes/PassBuilderPipelines.cpp b/llvm/lib/Passes/PassBuilderPipelines.cpp index 67b9a61cc576f..e2fd14b95af32 100644 --- a/llvm/lib/Passes/PassBuilderPipelines.cpp +++ b/llvm/lib/Passes/PassBuilderPipelines.cpp @@ -2343,7 +2343,7 @@ PassBuilder::buildO0DefaultPipeline(OptimizationLevel Level, // pipeline. MPM.addPass(SampleProfileLoaderPass(PGOOpt->ProfileFile, PGOOpt->ProfileRemappingFile, - ThinOrFullLTOPhase::None, nullptr, + ThinOrFullLTOPhase::None, FS, /*DisableSampleProfileInlining=*/true, /*UseFlattenedProfile=*/true)); // Cache ProfileSummaryAnalysis once to avoid the potential need to insert