summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-09 21:01:39 +0000
committerDevang Patel <dpatel@apple.com>2010-08-09 21:01:39 +0000
commit6d9f9feb2b60c3002b63f2c8ccee8fdf8c2c733b (patch)
tree4f2ad398116c0de89a56979550adeffdcb3de217 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent8ef4c807a1d3e15978f0994a78537af2587586ee (diff)
downloadbcm5719-llvm-6d9f9feb2b60c3002b63f2c8ccee8fdf8c2c733b.tar.gz
bcm5719-llvm-6d9f9feb2b60c3002b63f2c8ccee8fdf8c2c733b.zip
Refactoring. Update DbgVarible to handle queries itself.
llvm-svn: 110600
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 2915b384676..c3f7fd422e0 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -376,6 +376,10 @@ private:
void addBlockByrefAddress(DbgVariable *&DV, DIE *Die, unsigned Attribute,
const MachineLocation &Location);
+ /// addVariableAddress - Add DW_AT_location attribute for a DbgVariable.
+ void addVariableAddress(DbgVariable *&DV, DIE *Die, unsigned Attribute,
+ const MachineLocation &Location);
+
/// addToContextOwner - Add Die into the list of its context owner's children.
void addToContextOwner(DIE *Die, DIDescriptor Context);
@@ -560,12 +564,6 @@ private:
/// construct SubprogramDIE - Construct subprogram DIE.
void constructSubprogramDIE(const MDNode *N);
- // FIXME: This should go away in favor of complex addresses.
- /// Find the type the programmer originally declared the variable to be
- /// and return that type. Obsolete, use GetComplexAddrType instead.
- ///
- DIType getBlockByrefType(DIType Ty, std::string Name);
-
/// recordSourceLine - Register a source line with debug info. Returns the
/// unique label that was emitted and which provides correspondence to
/// the source line list.
OpenPOWER on IntegriCloud