Revert "[lldb] Expand background symbol lookup" (#81182)
Reverts llvm/llvm-project#80890
This commit is contained in:
committed by
GitHub
parent
d1fdb41629
commit
705fcd4e0a
@@ -104,15 +104,10 @@ bool ModuleListProperties::SetEnableExternalLookup(bool new_value) {
|
||||
return SetPropertyAtIndex(ePropertyEnableExternalLookup, new_value);
|
||||
}
|
||||
|
||||
SymbolDownload ModuleListProperties::GetSymbolAutoDownload() const {
|
||||
// Backward compatibility alias.
|
||||
if (GetPropertyAtIndexAs<bool>(ePropertyEnableBackgroundLookup, false))
|
||||
return eSymbolDownloadBackground;
|
||||
|
||||
const uint32_t idx = ePropertyAutoDownload;
|
||||
return GetPropertyAtIndexAs<lldb::SymbolDownload>(
|
||||
idx, static_cast<lldb::SymbolDownload>(
|
||||
g_modulelist_properties[idx].default_uint_value));
|
||||
bool ModuleListProperties::GetEnableBackgroundLookup() const {
|
||||
const uint32_t idx = ePropertyEnableBackgroundLookup;
|
||||
return GetPropertyAtIndexAs<bool>(
|
||||
idx, g_modulelist_properties[idx].default_uint_value != 0);
|
||||
}
|
||||
|
||||
FileSpec ModuleListProperties::GetClangModulesCachePath() const {
|
||||
|
||||
Reference in New Issue
Block a user