[clang] [flang] [llvm] [mlir] [LLVM-Flang] Add support for -fdebug-info-for-profiling option (PR #188022)

via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 23 06:29:25 PDT 2026


================
@@ -372,12 +373,14 @@ void createOpenMPFIRPassPipeline(mlir::PassManager &pm,
 void createDebugPasses(mlir::PassManager &pm,
                        llvm::codegenoptions::DebugInfoKind debugLevel,
                        llvm::OptimizationLevel OptLevel,
+                       bool debugInfoForProfiling,
----------------
jeanPerier wrote:

As more and more options are threaded up to addDebugInfoPass, I think it would be simpler to just directly thread the MLIRToLLVMPassPipelineConfig up to addDebugInfoPass.

https://github.com/llvm/llvm-project/pull/188022


More information about the cfe-commits mailing list