summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-08-23 22:02:36 +0000
committerAdrian Prantl <aprantl@apple.com>2017-08-23 22:02:36 +0000
commit7db6b5e2b3c804191095d32bb9cc8b5747d3f363 (patch)
tree42f7010b247691979d03a2af9762bef3ee0e33e4 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent850b9834555e45c7c6066b22ffff298211241f60 (diff)
downloadbcm5719-llvm-7db6b5e2b3c804191095d32bb9cc8b5747d3f363.tar.gz
bcm5719-llvm-7db6b5e2b3c804191095d32bb9cc8b5747d3f363.zip
Retire the llvm.dbg.mir hack after r311594.
llvm-svn: 311610
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineModuleInfo.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp
index 3999cd5eb7e..f0dd77ef0da 100644
--- a/llvm/lib/CodeGen/MachineModuleInfo.cpp
+++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp
@@ -210,8 +210,6 @@ bool MachineModuleInfo::doInitialization(Module &M) {
DbgInfoAvailable = UsesVAFloatArgument = UsesMorestackAddr = false;
AddrLabelSymbols = nullptr;
TheModule = &M;
- if (getDebugMetadataVersionFromModule(M))
- M.getOrInsertNamedMetadata("llvm.dbg.mir");
return false;
}
OpenPOWER on IntegriCloud