summaryrefslogtreecommitdiffstats
path: root/include/llvm
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
commit6e37f4878b3e33752cd2d50818a0813733c2bd63 (patch)
tree6327c65ed5eba8b866dd5ac8d4b3a0ffc4d377ae /include/llvm
parent6ef75173142f782b281909125e846f3b6828de98 (diff)
downloadexternal_llvm-6e37f4878b3e33752cd2d50818a0813733c2bd63.zip
external_llvm-6e37f4878b3e33752cd2d50818a0813733c2bd63.tar.gz
external_llvm-6e37f4878b3e33752cd2d50818a0813733c2bd63.tar.bz2
Enable "debug info attached to an instruction" mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-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 d494bf5..f76aa46 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 3544074..5878d67 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 {
//===----------------------------------------------------------------------===//