From a27220fb8c15e0e09cb2175b155e9a27852f2392 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 5 Mar 2014 22:41:20 +0000 Subject: Add a DIELocList class to handle pointers into the location list. This enables us to figure out where in the debug_loc section our locations are so that we can eventually hash them. It also helps remove some special case code in emission. No functional change. llvm-svn: 203018 --- llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h index 82d3af2a84c..e338752b66a 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h @@ -340,6 +340,9 @@ public: void addLabel(DIELoc *Die, dwarf::Form Form, const MCSymbol *Label); + /// addLocationList - Add a Dwarf loclistptr attribute data and value. + void addLocationList(DIE *Die, dwarf::Attribute Attribute, unsigned Index); + /// addSectionLabel - Add a Dwarf section label attribute data and value. /// void addSectionLabel(DIE *Die, dwarf::Attribute Attribute, -- cgit v1.2.3