aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-04-26 00:12:46 +0000
committerDevang Patel <dpatel@apple.com>2011-04-26 00:12:46 +0000
commit0c99861836741911300587c579d4f9d3fe1d2a39 (patch)
tree7117357786298499eb2bde6c3761ff91ba5b85ee /include
parent9341d10f9443da6c6b0833f8a208afec69505f6e (diff)
downloadexternal_llvm-0c99861836741911300587c579d4f9d3fe1d2a39.zip
external_llvm-0c99861836741911300587c579d4f9d3fe1d2a39.tar.gz
external_llvm-0c99861836741911300587c579d4f9d3fe1d2a39.tar.bz2
Let dwarf writer allocate extra space in the debug location expression. This space, if requested, will be used for complex addresses of the Blocks' variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 1dac671..56e125e 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -384,7 +384,8 @@ namespace llvm {
virtual unsigned getISAEncoding() { return 0; }
/// EmitDwarfRegOp - Emit dwarf register operation.
- virtual void EmitDwarfRegOp(const MachineLocation &MLoc) const;
+ virtual void EmitDwarfRegOp(const MachineLocation &MLoc,
+ unsigned ExtraExprSize = 0) const;
//===------------------------------------------------------------------===//
// Dwarf Lowering Routines