Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
source/Core/Module.cpp
Show First 20 Lines • Show All 347 Lines • ▼ Show 20 Lines | void Module::SetUUID(const lldb_private::UUID &uuid) { | ||||
if (!m_did_set_uuid) { | if (!m_did_set_uuid) { | ||||
m_uuid = uuid; | m_uuid = uuid; | ||||
m_did_set_uuid = true; | m_did_set_uuid = true; | ||||
} else { | } else { | ||||
lldbassert(0 && "Attempting to overwrite the existing module UUID"); | lldbassert(0 && "Attempting to overwrite the existing module UUID"); | ||||
} | } | ||||
} | } | ||||
TypeSystem *Module::GetTypeSystemForLanguage(LanguageType language) { | llvm::Expected<TypeSystem &> | ||||
Module::GetTypeSystemForLanguage(LanguageType language) { | |||||
return m_type_system_map.GetTypeSystemForLanguage(language, this, true); | return m_type_system_map.GetTypeSystemForLanguage(language, this, true); | ||||
} | } | ||||
void Module::ParseAllDebugSymbols() { | void Module::ParseAllDebugSymbols() { | ||||
std::lock_guard<std::recursive_mutex> guard(m_mutex); | std::lock_guard<std::recursive_mutex> guard(m_mutex); | ||||
size_t num_comp_units = GetNumCompileUnits(); | size_t num_comp_units = GetNumCompileUnits(); | ||||
if (num_comp_units == 0) | if (num_comp_units == 0) | ||||
return; | return; | ||||
▲ Show 20 Lines • Show All 1,300 Lines • Show Last 20 Lines |