diff options
author | Stephen Tozer <stephen.tozer@sony.com> | 2024-06-11 12:15:09 +0100 |
---|---|---|
committer | Stephen Tozer <stephen.tozer@sony.com> | 2024-06-11 12:19:06 +0100 |
commit | 2dc2290860355dd2bac3b655eea895fe30fde257 (patch) | |
tree | 00007f64a0db2547527ffc46360f1dffca26f19f /llvm/lib/IR/Module.cpp | |
parent | fc6e97cf2f28a9c7a73b97488ec6b90fc0d34a4a (diff) | |
download | llvm-2dc2290860355dd2bac3b655eea895fe30fde257.zip llvm-2dc2290860355dd2bac3b655eea895fe30fde257.tar.gz llvm-2dc2290860355dd2bac3b655eea895fe30fde257.tar.bz2 |
Revert new debug info format commits:
"[Flang] Update test to not check for tail calls on debug intrinsics" &
"Reapply#3 "[RemoveDIs] Load into new debug info format by default in LLVM (#89799)"
Recent updates to flang have added debug info generation via MLIR, a path
which currently does not support debug records. The patch that enables
debug records by default (and a small followup patch) are thus being
reverted until the MLIR path has been fixed.
This reverts commits:
21396be865b4640abf6afa0b05de6708a1a996e0
c5aeca732d1ff6769b0659efebd1cfb5f60487e4
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
-rw-r--r-- | llvm/lib/IR/Module.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/IR/Module.cpp b/llvm/lib/IR/Module.cpp index 55c282c..f97dd18 100644 --- a/llvm/lib/IR/Module.cpp +++ b/llvm/lib/IR/Module.cpp @@ -54,8 +54,6 @@ using namespace llvm; -extern cl::opt<bool> UseNewDbgInfoFormat; - //===----------------------------------------------------------------------===// // Methods to implement the globals and functions lists. // @@ -74,7 +72,7 @@ template class llvm::SymbolTableListTraits<GlobalIFunc>; Module::Module(StringRef MID, LLVMContext &C) : Context(C), ValSymTab(std::make_unique<ValueSymbolTable>(-1)), ModuleID(std::string(MID)), SourceFileName(std::string(MID)), DL(""), - IsNewDbgInfoFormat(UseNewDbgInfoFormat) { + IsNewDbgInfoFormat(false) { Context.addModule(this); } |