summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/AsmPrinter.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-04-28 01:39:28 +0000
committerDevang Patel <dpatel@apple.com>2010-04-28 01:39:28 +0000
commit28ff35d030e2f49ff4e4b1544c015ebe011a530b (patch)
tree9c7d0f502660bd10243cb75425f6404cd00f5f16 /include/llvm/CodeGen/AsmPrinter.h
parent8b1190a5400d263b5344f1fcd7b54ae1b6263e7c (diff)
downloadllvm-28ff35d030e2f49ff4e4b1544c015ebe011a530b.tar.gz
llvm-28ff35d030e2f49ff4e4b1544c015ebe011a530b.tar.bz2
llvm-28ff35d030e2f49ff4e4b1544c015ebe011a530b.tar.xz
Emit debug info for byval parameters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 5a1e7f18d2..b5c287ae90 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -34,6 +34,7 @@ namespace llvm {
class MachineBasicBlock;
class MachineFunction;
class MachineInstr;
+ class MachineLocation;
class MachineLoopInfo;
class MachineLoop;
class MachineConstantPool;
@@ -368,7 +369,11 @@ namespace llvm {
/// that Label lives in.
void EmitSectionOffset(const MCSymbol *Label,
const MCSymbol *SectionLabel) const;
-
+
+ /// getDebugValueLocation - Get location information encoded by DBG_VALUE
+ /// operands.
+ virtual MachineLocation getDebugValueLocation(const MachineInstr *MI) const;
+
//===------------------------------------------------------------------===//
// Dwarf Lowering Routines
//===------------------------------------------------------------------===//