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

Abid Qadeer via flang-commits flang-commits at lists.llvm.org
Wed Sep 17 12:11:20 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);
----------------
abidh wrote:

Can you kindly describe what problem do you see because the version have a default value both in pass declaration and in opts.

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


More information about the flang-commits mailing list