Changeset View
Changeset View
Standalone View
Standalone View
lldb/source/Symbol/Symbol.cpp
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | void Symbol::Clear() { | ||||
m_contains_linker_annotations = false; | m_contains_linker_annotations = false; | ||||
m_is_weak = false; | m_is_weak = false; | ||||
m_type = eSymbolTypeInvalid; | m_type = eSymbolTypeInvalid; | ||||
m_flags = 0; | m_flags = 0; | ||||
m_addr_range.Clear(); | m_addr_range.Clear(); | ||||
} | } | ||||
bool Symbol::ValueIsAddress() const { | bool Symbol::ValueIsAddress() const { | ||||
return m_addr_range.GetBaseAddress().GetSection().get() != nullptr || | return (bool)m_addr_range.GetBaseAddress().GetSection(); | ||||
m_type == eSymbolTypeAbsolute; | |||||
} | } | ||||
ConstString Symbol::GetDisplayName() const { | ConstString Symbol::GetDisplayName() const { | ||||
return GetMangled().GetDisplayDemangledName(); | return GetMangled().GetDisplayDemangledName(); | ||||
} | } | ||||
ConstString Symbol::GetReExportedSymbolName() const { | ConstString Symbol::GetReExportedSymbolName() const { | ||||
if (m_type == eSymbolTypeReExported) { | if (m_type == eSymbolTypeReExported) { | ||||
▲ Show 20 Lines • Show All 599 Lines • Show Last 20 Lines |