Author: jankratochvil Date: Sat Nov 25 09:16:56 2017 New Revision: 318981 URL: http://llvm.org/viewvc/llvm-project?rev=318981&view=rev Log: Due to changes for DWZ I would need to update those such as renaming it to SetFileOffset.
Differential revision: https://reviews.llvm.org/D40458 Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp?rev=318981&r1=318980&r2=318981&view=diff ============================================================================== --- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp (original) +++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp Sat Nov 25 09:16:56 2017 @@ -1314,19 +1314,6 @@ bool DWARFDebugInfoEntry::AppendTypeName 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 //---------------------------------------------------------------------- Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h?rev=318981&r1=318980&r2=318981&view=diff ============================================================================== --- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h (original) +++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h Sat Nov 25 09:16:56 2017 @@ -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; } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits