diff options
author | Devang Patel <dpatel@apple.com> | 2009-10-12 23:22:09 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-10-12 23:22:09 +0000 |
commit | 7e02bc626b03039d40d461df1bb5c3c322a74fef (patch) | |
tree | 6327c65ed5eba8b866dd5ac8d4b3a0ffc4d377ae /include/llvm | |
parent | 6096157c93259c3484c250b3541e9851dfc55da4 (diff) | |
download | external_llvm-7e02bc626b03039d40d461df1bb5c3c322a74fef.tar.gz external_llvm-7e02bc626b03039d40d461df1bb5c3c322a74fef.tar.bz2 external_llvm-7e02bc626b03039d40d461df1bb5c3c322a74fef.zip |
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.h | 2 | ||||
-rw-r--r-- | include/llvm/CodeGen/MachineModuleInfo.h | 2 |
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 { //===----------------------------------------------------------------------===// |