diff options
author | Eric Christopher <echristo@gmail.com> | 2014-03-05 22:41:20 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-03-05 22:41:20 +0000 |
commit | a27220fb8c15e0e09cb2175b155e9a27852f2392 (patch) | |
tree | 2db8cc643d96aa20176fd1d1a38e68b1d135d5bf /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | |
parent | 3e373261667f848035ffecce72a4d03a65f21604 (diff) | |
download | bcm5719-llvm-a27220fb8c15e0e09cb2175b155e9a27852f2392.tar.gz bcm5719-llvm-a27220fb8c15e0e09cb2175b155e9a27852f2392.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 3 |
1 files changed, 3 insertions, 0 deletions
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, |