[flang-commits] [flang] [flang] Lowering support for -gdwarf-N flag. (PR #159137)

Susan Tan ス-ザン タン via flang-commits flang-commits at lists.llvm.org
Wed Sep 17 11:19:18 PDT 2025


================
@@ -158,7 +158,7 @@ void createOpenMPFIRPassPipeline(mlir::PassManager &pm,
 void createDebugPasses(mlir::PassManager &pm,
                        llvm::codegenoptions::DebugInfoKind debugLevel,
                        llvm::OptimizationLevel OptLevel,
-                       llvm::StringRef inputFilename);
+                       llvm::StringRef inputFilename, int32_t dwarfVersion);
----------------
SusanTan wrote:

Could you please give dwarfVersion a default value in the declaration? 

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


More information about the flang-commits mailing list