summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2018-05-29 19:14:46 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2018-05-29 19:14:46 +0000
commita3ad3c483951b5a138f34a0e660d0cb360b74ba3 (patch)
tree773218f6e51f386af6195664f13dbf65b7eb1e41 /lldb/source/Plugins/SymbolFile
parent2ca6b1f2bacdff57f3dadfe0dfaf5a46fbfb9b27 (diff)
downloadbcm5719-llvm-a3ad3c483951b5a138f34a0e660d0cb360b74ba3.tar.gz
bcm5719-llvm-a3ad3c483951b5a138f34a0e660d0cb360b74ba3.zip
Remove unused DWARFUnit::HasDIEsParsed()
It was not implemented correctly after https://reviews.llvm.org/D46810 but then it has not been used anywhere anyway. llvm-svn: 333452
Diffstat (limited to 'lldb/source/Plugins/SymbolFile')
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp2
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
index 8ce5a2e654e..47775b24838 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
@@ -449,8 +449,6 @@ DWARFFormValue::FixedFormSizes DWARFUnit::GetFixedFormSizes() {
void DWARFUnit::SetBaseAddress(dw_addr_t base_addr) { m_base_addr = base_addr; }
-bool DWARFUnit::HasDIEsParsed() const { return m_die_array.size() > 1; }
-
//----------------------------------------------------------------------
// Compare function DWARFDebugAranges::Range structures
//----------------------------------------------------------------------
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h b/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
index fe094d7a438..b28f2a977fb 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
@@ -118,8 +118,6 @@ public:
DWARFDIE DIE() { return DWARFDIE(this, DIEPtr()); }
- bool HasDIEsParsed() const;
-
DWARFDIE GetDIE(dw_offset_t die_offset);
static uint8_t GetAddressByteSize(const DWARFUnit *cu);
OpenPOWER on IntegriCloud