From: Devang Patel Date: Mon, 12 Oct 2009 23:22:09 +0000 (+0000) Subject: Enable "debug info attached to an instruction" mode. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6e37f4878b3e33752cd2d50818a0813733c2bd63;p=oota-llvm.git 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 --- diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index d494bf5f225..f76aa46b75d 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 3544074d1f1..5878d67b939 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 { //===----------------------------------------------------------------------===//