Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
source/Symbol/SymbolFile.cpp
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | if (best_symfile_up) { | ||||
// Let the winning symbol file parser initialize itself more completely | // Let the winning symbol file parser initialize itself more completely | ||||
// now that it has been chosen | // now that it has been chosen | ||||
best_symfile_up->InitializeObject(); | best_symfile_up->InitializeObject(); | ||||
} | } | ||||
} | } | ||||
return best_symfile_up.release(); | return best_symfile_up.release(); | ||||
} | } | ||||
TypeSystem *SymbolFile::GetTypeSystemForLanguage(lldb::LanguageType language) { | llvm::Expected<TypeSystem &> | ||||
TypeSystem *type_system = | SymbolFile::GetTypeSystemForLanguage(lldb::LanguageType language) { | ||||
auto type_system_or_err = | |||||
m_obj_file->GetModule()->GetTypeSystemForLanguage(language); | m_obj_file->GetModule()->GetTypeSystemForLanguage(language); | ||||
if (type_system) | if (type_system_or_err) { | ||||
type_system->SetSymbolFile(this); | type_system_or_err->SetSymbolFile(this); | ||||
return type_system; | } | ||||
return type_system_or_err; | |||||
} | } | ||||
uint32_t SymbolFile::ResolveSymbolContext(const FileSpec &file_spec, | uint32_t SymbolFile::ResolveSymbolContext(const FileSpec &file_spec, | ||||
uint32_t line, bool check_inlines, | uint32_t line, bool check_inlines, | ||||
lldb::SymbolContextItem resolve_scope, | lldb::SymbolContextItem resolve_scope, | ||||
SymbolContextList &sc_list) { | SymbolContextList &sc_list) { | ||||
return 0; | return 0; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 145 Lines • Show Last 20 Lines |