diff options
author | Devang Patel <dpatel@apple.com> | 2011-04-28 02:22:40 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-04-28 02:22:40 +0000 |
commit | c26f5447e39b43a6dd9c1a9d88227f4adf3b5600 (patch) | |
tree | 8aa0a0b61c3c69a8c101b2ed4b58adbe1abd180f /lib/Target/ARM/ARMAsmPrinter.h | |
parent | 450ed1a05bd5e12c141629b0d0ba275958634980 (diff) | |
download | external_llvm-c26f5447e39b43a6dd9c1a9d88227f4adf3b5600.zip external_llvm-c26f5447e39b43a6dd9c1a9d88227f4adf3b5600.tar.gz external_llvm-c26f5447e39b43a6dd9c1a9d88227f4adf3b5600.tar.bz2 |
Teach dwarf writer to handle complex address expression for .debug_loc entries.
This fixes clang generated blocks' variables' debug info.
Radar 9279956.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmPrinter.h')
-rw-r--r-- | lib/Target/ARM/ARMAsmPrinter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.h b/lib/Target/ARM/ARMAsmPrinter.h index 5f9169e..1ee1b70 100644 --- a/lib/Target/ARM/ARMAsmPrinter.h +++ b/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; |