From 15ec085c40cf45726a5c8925706795b52fd231bd Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 14 Sep 2011 00:15:32 +0000 Subject: DebugInfo: Don't print DIEs multiple times. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139671 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/DebugInfo/DWARFDebugInfoEntry.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/DebugInfo/DWARFDebugInfoEntry.h') diff --git a/lib/DebugInfo/DWARFDebugInfoEntry.h b/lib/DebugInfo/DWARFDebugInfoEntry.h index 0b0a00c..5e7b89b 100644 --- a/lib/DebugInfo/DWARFDebugInfoEntry.h +++ b/lib/DebugInfo/DWARFDebugInfoEntry.h @@ -33,6 +33,9 @@ class DWARFDebugInfoEntryMinimal { const DWARFAbbreviationDeclaration *AbbrevDecl; public: + DWARFDebugInfoEntryMinimal() + : Offset(0), ParentIdx(0), SiblingIdx(0), AbbrevDecl(0) {} + void dump(raw_ostream &OS, const DWARFCompileUnit *cu, unsigned recurseDepth, unsigned indent = 0) const; void dumpAttribute(raw_ostream &OS, const DWARFCompileUnit *cu, -- cgit v1.1