diff options
-rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp | 13 | ||||
-rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h | 14 |
2 files changed, 0 insertions, 27 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp index 56ef1907a1c..f595bd83d84 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp @@ -1314,19 +1314,6 @@ bool DWARFDebugInfoEntry::AppendTypeName(SymbolFileDWARF *dwarf2Data, return false; } -bool DWARFDebugInfoEntry::Contains(const DWARFDebugInfoEntry *die) const { - if (die) { - const dw_offset_t die_offset = die->GetOffset(); - if (die_offset > GetOffset()) { - const DWARFDebugInfoEntry *sibling = GetSibling(); - assert(sibling); // TODO: take this out - if (sibling) - return die_offset < sibling->GetOffset(); - } - } - return false; -} - //---------------------------------------------------------------------- // BuildAddressRangeTable //---------------------------------------------------------------------- diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h index 15abac77a47..89450d327ad 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h @@ -60,18 +60,6 @@ public: m_empty_children(false), m_abbr_idx(0), m_has_children(false), m_tag(0) {} - void Clear() { - m_offset = DW_INVALID_OFFSET; - m_parent_idx = 0; - m_sibling_idx = 0; - m_empty_children = false; - m_abbr_idx = 0; - m_has_children = false; - m_tag = 0; - } - - bool Contains(const DWARFDebugInfoEntry *die) const; - void BuildAddressRangeTable(SymbolFileDWARF *dwarf2Data, const DWARFCompileUnit *cu, DWARFDebugAranges *debug_aranges) const; @@ -211,8 +199,6 @@ public: dw_offset_t GetOffset() const { return m_offset; } - void SetOffset(dw_offset_t offset) { m_offset = offset; } - bool HasChildren() const { return m_has_children; } void SetHasChildren(bool b) { m_has_children = b; } |