Enable "debug info attached to an instruction" mode.
authorDevang Patel <dpatel@apple.com>
Mon, 12 Oct 2009 23:22:09 +0000 (23:22 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 12 Oct 2009 23:22:09 +0000 (23:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83925 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DebugInfo.h
include/llvm/CodeGen/MachineModuleInfo.h

index d494bf5f2251ab9ba196a172d4abfb56dfe62d01..f76aa46b75d4865f17f115a2fe18d8831e3859a9 100644 (file)
@@ -26,6 +26,8 @@
 #include "llvm/Support/Dwarf.h"
 #include "llvm/Support/ValueHandle.h"
 
+#define ATTACH_DEBUG_INFO_TO_AN_INSN 1
+
 namespace llvm {
   class BasicBlock;
   class Constant;
index 3544074d1f16d9ad5d12501d514165f0845bd198..5878d67b939d6fcb757b311e4cf742f9db419b80 100644 (file)
@@ -44,6 +44,8 @@
 #include "llvm/Pass.h"
 #include "llvm/Metadata.h"
 
+#define ATTACH_DEBUG_INFO_TO_AN_INSN 1
+
 namespace llvm {
 
 //===----------------------------------------------------------------------===//