Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
Show First 20 Lines • Show All 432 Lines • ▼ Show 20 Lines | void DWARFUnit::ClearDIEsRWLocked() { | ||||
if (m_dwo_symbol_file) | if (m_dwo_symbol_file) | ||||
m_dwo_symbol_file->GetCompileUnit()->ClearDIEsRWLocked(); | m_dwo_symbol_file->GetCompileUnit()->ClearDIEsRWLocked(); | ||||
} | } | ||||
lldb::ByteOrder DWARFUnit::GetByteOrder() const { | lldb::ByteOrder DWARFUnit::GetByteOrder() const { | ||||
return m_dwarf.GetObjectFile()->GetByteOrder(); | return m_dwarf.GetObjectFile()->GetByteOrder(); | ||||
} | } | ||||
TypeSystem *DWARFUnit::GetTypeSystem() { | llvm::Expected<TypeSystem &> DWARFUnit::GetTypeSystem() { | ||||
return m_dwarf.GetTypeSystemForLanguage(GetLanguageType()); | return m_dwarf.GetTypeSystemForLanguage(GetLanguageType()); | ||||
} | } | ||||
void DWARFUnit::SetBaseAddress(dw_addr_t base_addr) { m_base_addr = base_addr; } | void DWARFUnit::SetBaseAddress(dw_addr_t base_addr) { m_base_addr = base_addr; } | ||||
// Compare function DWARFDebugAranges::Range structures | // Compare function DWARFDebugAranges::Range structures | ||||
static bool CompareDIEOffset(const DWARFDebugInfoEntry &die, | static bool CompareDIEOffset(const DWARFDebugInfoEntry &die, | ||||
const dw_offset_t die_offset) { | const dw_offset_t die_offset) { | ||||
▲ Show 20 Lines • Show All 429 Lines • Show Last 20 Lines |