summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMAsmPrinter.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-04-28 02:22:40 +0000
committerDevang Patel <dpatel@apple.com>2011-04-28 02:22:40 +0000
commit3e021533cd5f6e92cb1849d0f7fa4b48d2659fd8 (patch)
tree71d0c963a1a2546392c361e62981aecbad59cf81 /llvm/lib/Target/ARM/ARMAsmPrinter.h
parenta85af56e66b90ae287f8c6d7aa6a11af0887d71d (diff)
downloadbcm5719-llvm-3e021533cd5f6e92cb1849d0f7fa4b48d2659fd8.tar.gz
bcm5719-llvm-3e021533cd5f6e92cb1849d0f7fa4b48d2659fd8.zip
Teach dwarf writer to handle complex address expression for .debug_loc entries.
This fixes clang generated blocks' variables' debug info. Radar 9279956. llvm-svn: 130373
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAsmPrinter.h')
-rw-r--r--llvm/lib/Target/ARM/ARMAsmPrinter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmPrinter.h b/llvm/lib/Target/ARM/ARMAsmPrinter.h
index 5f9169ef7f7..1ee1b7024d1 100644
--- a/llvm/lib/Target/ARM/ARMAsmPrinter.h
+++ b/llvm/lib/Target/ARM/ARMAsmPrinter.h
@@ -89,6 +89,10 @@ public:
MachineLocation getDebugValueLocation(const MachineInstr *MI) const;
+ /// getDwarfRegOpSize - get size required to emit given machine location
+ /// using dwarf encoding.
+ virtual unsigned getDwarfRegOpSize(const MachineLocation &MLoc) const;
+
/// EmitDwarfRegOp - Emit dwarf register operation.
virtual void EmitDwarfRegOp(const MachineLocation &MLoc) const;
OpenPOWER on IntegriCloud