From e9ec2458e7cb160d0924c39d6ee108fe01f3493b Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 18 Jan 2013 22:11:33 +0000 Subject: Split out DW_OP_addr for the split debug info DWARF5 proposal. llvm-svn: 172857 --- llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h') 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, -- cgit v1.2.3