summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-10-12 23:22:09 +0000
committerDevang Patel <dpatel@apple.com>2009-10-12 23:22:09 +0000
commit9da3cc2b2d7f32730997a4735dcdbf2d0b9f474d (patch)
treef56a61322c084d936592d78dd613f63c277923b3
parente3afaeb7e4f2ad7ed4d734beb1b9bd8648a7875e (diff)
downloadbcm5719-llvm-9da3cc2b2d7f32730997a4735dcdbf2d0b9f474d.tar.gz
bcm5719-llvm-9da3cc2b2d7f32730997a4735dcdbf2d0b9f474d.zip
Enable "debug info attached to an instruction" mode.
llvm-svn: 83925
-rw-r--r--llvm/include/llvm/Analysis/DebugInfo.h2
-rw-r--r--llvm/include/llvm/CodeGen/MachineModuleInfo.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/DebugInfo.h b/llvm/include/llvm/Analysis/DebugInfo.h
index d494bf5f225..f76aa46b75d 100644
--- a/llvm/include/llvm/Analysis/DebugInfo.h
+++ b/llvm/include/llvm/Analysis/DebugInfo.h
@@ -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;
diff --git a/llvm/include/llvm/CodeGen/MachineModuleInfo.h b/llvm/include/llvm/CodeGen/MachineModuleInfo.h
index 3544074d1f1..5878d67b939 100644
--- a/llvm/include/llvm/CodeGen/MachineModuleInfo.h
+++ b/llvm/include/llvm/CodeGen/MachineModuleInfo.h
@@ -44,6 +44,8 @@
#include "llvm/Pass.h"
#include "llvm/Metadata.h"
+#define ATTACH_DEBUG_INFO_TO_AN_INSN 1
+
namespace llvm {
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud