summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-01-18 22:11:33 +0000
committerEric Christopher <echristo@gmail.com>2013-01-18 22:11:33 +0000
commite9ec2458e7cb160d0924c39d6ee108fe01f3493b (patch)
treec33529cee1f9babb5aeb15c217b51a74beeaf7ab /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
parentf75c8b3c8db9cac8f25b379d8fd24ae3ff31919a (diff)
downloadbcm5719-llvm-e9ec2458e7cb160d0924c39d6ee108fe01f3493b.tar.gz
bcm5719-llvm-e9ec2458e7cb160d0924c39d6ee108fe01f3493b.zip
Split out DW_OP_addr for the split debug info DWARF5 proposal.
llvm-svn: 172857
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index e576ff294ec..1091bcec994 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@ -215,6 +215,11 @@ public:
///
void addLabelAddress(DIE *Die, unsigned Attribute, MCSymbol *Label);
+ /// addOpAddress - Add a dwarf op address data and value using the
+ /// form given and an op of either DW_FORM_addr or DW_FORM_GNU_addr_index.
+ ///
+ void addOpAddress(DIE *Die, MCSymbol *Label);
+
/// addDelta - Add a label delta attribute data and value.
///
void addDelta(DIE *Die, unsigned Attribute, unsigned Form,
OpenPOWER on IntegriCloud