[flang-commits] [flang] [mlir] [MLIR][Flang][DebugInfo] Set debug info format in MLIR->IR translation (PR #95098)
Jeremy Morse via flang-commits
flang-commits at lists.llvm.org
Tue Jun 11 04:48:42 PDT 2024
================
@@ -1789,6 +1791,7 @@ prepareLLVMModule(Operation *m, llvm::LLVMContext &llvmContext,
StringRef name) {
m->getContext()->getOrLoadDialect<LLVM::LLVMDialect>();
auto llvmModule = std::make_unique<llvm::Module>(name, llvmContext);
+ llvmModule->setNewDbgInfoFormatFlag(false);
----------------
jmorse wrote:
A comment directing people to the RemoveDIs page would be good, we can assure readers that the meaning of the debug-info is the same, only the format is different.
https://github.com/llvm/llvm-project/pull/95098
More information about the flang-commits
mailing list