aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Analysis/DebugInfo.h2
-rw-r--r--include/llvm/CodeGen/MachineModuleInfo.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index d494bf5f22..f76aa46b75 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/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/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h
index 3544074d1f..5878d67b93 100644
--- a/include/llvm/CodeGen/MachineModuleInfo.h
+++ b/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 {
//===----------------------------------------------------------------------===//