diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2025-06-12 11:51:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-12 11:51:58 +0100 |
commit | 97ac6483aaead89897d9bda8a12f1f4c11fad621 (patch) | |
tree | faad9132e247263838004084e3202ba8da29a678 /llvm/lib/IR/Module.cpp | |
parent | fe28ea37b640ea4842583df3b89e08877220fb8e (diff) | |
download | llvm-97ac6483aaead89897d9bda8a12f1f4c11fad621.zip llvm-97ac6483aaead89897d9bda8a12f1f4c11fad621.tar.gz llvm-97ac6483aaead89897d9bda8a12f1f4c11fad621.tar.bz2 |
[DebugInfo][RemoveDIs] Delete debug-info-format flag (#143746)
This flag was used to let us incrementally introduce debug records
into LLVM, however everything is now using records. It serves no
purpose now, so delete it.
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 0a47f98..37f4a72 100644 --- a/llvm/lib/IR/Module.cpp +++ b/llvm/lib/IR/Module.cpp @@ -71,8 +71,7 @@ template class LLVM_EXPORT_TEMPLATE 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)), - IsNewDbgInfoFormat(true) { + ModuleID(std::string(MID)), SourceFileName(std::string(MID)) { Context.addModule(this); } @@ -83,7 +82,6 @@ Module &Module::operator=(Module &&Other) { ModuleID = std::move(Other.ModuleID); SourceFileName = std::move(Other.SourceFileName); - IsNewDbgInfoFormat = std::move(Other.IsNewDbgInfoFormat); GlobalList.clear(); GlobalList.splice(GlobalList.begin(), Other.GlobalList); |