summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitcae2fbd6fc0bc67a881aa6f7fc5e66432d744c63 (patch)
tree9d3b0dd9b527ed332ac2bbd5463e2f7b7147a872 /llvm/include
parent420c8de92ec04e30b5c5a69d315675a78ddaacb2 (diff)
downloadbcm5719-llvm-cae2fbd6fc0bc67a881aa6f7fc5e66432d744c63.tar.gz
bcm5719-llvm-cae2fbd6fc0bc67a881aa6f7fc5e66432d744c63.zip
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.
llvm-svn: 130178
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/AsmPrinter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h
index 1dac67119a5..56e125e0a95 100644
--- a/llvm/include/llvm/CodeGen/AsmPrinter.h
+++ b/llvm/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
OpenPOWER on IntegriCloud