From 7db6b5e2b3c804191095d32bb9cc8b5747d3f363 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Wed, 23 Aug 2017 22:02:36 +0000 Subject: Retire the llvm.dbg.mir hack after r311594. llvm-svn: 311610 --- llvm/lib/CodeGen/MachineModuleInfo.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp') 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; } -- cgit v1.2.3