diff options
author | Stephen Tozer <stephen.tozer@sony.com> | 2024-05-01 16:56:34 +0100 |
---|---|---|
committer | Stephen Tozer <stephen.tozer@sony.com> | 2024-05-01 16:56:34 +0100 |
commit | 00821fed09969305b0003d3313c44d1e761a7131 (patch) | |
tree | 8d28038f25f4898cbc40a224b27f423d76e610b3 /llvm/lib/IR/Module.cpp | |
parent | 2f01fd99eb8c8ab3db9aba72c4f00e31e9e60a05 (diff) | |
download | llvm-00821fed09969305b0003d3313c44d1e761a7131.zip llvm-00821fed09969305b0003d3313c44d1e761a7131.tar.gz llvm-00821fed09969305b0003d3313c44d1e761a7131.tar.bz2 |
Revert "[RemoveDIs] Load into new debug info format by default in LLVM (#89799)"
A unit test was broken by the above commit:
https://lab.llvm.org/buildbot/#/builders/139/builds/64627
This reverts commit 2f01fd99eb8c8ab3db9aba72c4f00e31e9e60a05.
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 915fa50..a8696ed 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); } |