diff options
Diffstat (limited to 'lldb/source')
11 files changed, 35 insertions, 35 deletions
diff --git a/lldb/source/Breakpoint/BreakpointResolverAddress.cpp b/lldb/source/Breakpoint/BreakpointResolverAddress.cpp index d4647e2c589..194a7d1c7da 100644 --- a/lldb/source/Breakpoint/BreakpointResolverAddress.cpp +++ b/lldb/source/Breakpoint/BreakpointResolverAddress.cpp @@ -173,8 +173,8 @@ BreakpointResolverAddress::SearchCallback(SearchFilter &filter, return Searcher::eCallbackReturnStop; } -Searcher::Depth BreakpointResolverAddress::GetDepth() { - return Searcher::eDepthTarget; +lldb::SearchDepth BreakpointResolverAddress::GetDepth() { + return lldb::eSearchDepthTarget; } void BreakpointResolverAddress::GetDescription(Stream *s) { diff --git a/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp b/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp index 76223f25790..476da412edb 100644 --- a/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp +++ b/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp @@ -257,8 +257,8 @@ BreakpointResolverFileLine::SearchCallback(SearchFilter &filter, return Searcher::eCallbackReturnContinue; } -Searcher::Depth BreakpointResolverFileLine::GetDepth() { - return Searcher::eDepthModule; +lldb::SearchDepth BreakpointResolverFileLine::GetDepth() { + return lldb::eSearchDepthModule; } void BreakpointResolverFileLine::GetDescription(Stream *s) { diff --git a/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp b/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp index 54c05a04246..8a15f8ec7e4 100644 --- a/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp +++ b/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp @@ -157,8 +157,8 @@ BreakpointResolverFileRegex::SearchCallback(SearchFilter &filter, return Searcher::eCallbackReturnContinue; } -Searcher::Depth BreakpointResolverFileRegex::GetDepth() { - return Searcher::eDepthCompUnit; +lldb::SearchDepth BreakpointResolverFileRegex::GetDepth() { + return lldb::eSearchDepthCompUnit; } void BreakpointResolverFileRegex::GetDescription(Stream *s) { diff --git a/lldb/source/Breakpoint/BreakpointResolverName.cpp b/lldb/source/Breakpoint/BreakpointResolverName.cpp index ba277ae2655..d171a7234d1 100644 --- a/lldb/source/Breakpoint/BreakpointResolverName.cpp +++ b/lldb/source/Breakpoint/BreakpointResolverName.cpp @@ -396,8 +396,8 @@ BreakpointResolverName::SearchCallback(SearchFilter &filter, return Searcher::eCallbackReturnContinue; } -Searcher::Depth BreakpointResolverName::GetDepth() { - return Searcher::eDepthModule; +lldb::SearchDepth BreakpointResolverName::GetDepth() { + return lldb::eSearchDepthModule; } void BreakpointResolverName::GetDescription(Stream *s) { diff --git a/lldb/source/Commands/CommandCompletions.cpp b/lldb/source/Commands/CommandCompletions.cpp index fc3e8d0662d..fbc9a33f501 100644 --- a/lldb/source/Commands/CommandCompletions.cpp +++ b/lldb/source/Commands/CommandCompletions.cpp @@ -366,8 +366,8 @@ CommandCompletions::SourceFileCompleter::SourceFileCompleter( m_dir_name = partial_spec.GetDirectory().GetCString(); } -Searcher::Depth CommandCompletions::SourceFileCompleter::GetDepth() { - return eDepthCompUnit; +lldb::SearchDepth CommandCompletions::SourceFileCompleter::GetDepth() { + return lldb::eSearchDepthCompUnit; } Searcher::CallbackReturn @@ -458,8 +458,8 @@ CommandCompletions::SymbolCompleter::SymbolCompleter( m_regex.Compile(regex_str); } -Searcher::Depth CommandCompletions::SymbolCompleter::GetDepth() { - return eDepthModule; +lldb::SearchDepth CommandCompletions::SymbolCompleter::GetDepth() { + return lldb::eSearchDepthModule; } Searcher::CallbackReturn CommandCompletions::SymbolCompleter::SearchCallback( @@ -506,8 +506,8 @@ CommandCompletions::ModuleCompleter::ModuleCompleter( m_dir_name = partial_spec.GetDirectory().GetCString(); } -Searcher::Depth CommandCompletions::ModuleCompleter::GetDepth() { - return eDepthModule; +lldb::SearchDepth CommandCompletions::ModuleCompleter::GetDepth() { + return lldb::eSearchDepthModule; } Searcher::CallbackReturn CommandCompletions::ModuleCompleter::SearchCallback( diff --git a/lldb/source/Core/AddressResolverFileLine.cpp b/lldb/source/Core/AddressResolverFileLine.cpp index 798a9b50079..3295ef174a7 100644 --- a/lldb/source/Core/AddressResolverFileLine.cpp +++ b/lldb/source/Core/AddressResolverFileLine.cpp @@ -78,8 +78,8 @@ AddressResolverFileLine::SearchCallback(SearchFilter &filter, return Searcher::eCallbackReturnContinue; } -Searcher::Depth AddressResolverFileLine::GetDepth() { - return Searcher::eDepthCompUnit; +lldb::SearchDepth AddressResolverFileLine::GetDepth() { + return lldb::eSearchDepthCompUnit; } void AddressResolverFileLine::GetDescription(Stream *s) { diff --git a/lldb/source/Core/AddressResolverName.cpp b/lldb/source/Core/AddressResolverName.cpp index c3dab6d1081..ec03815cf5f 100644 --- a/lldb/source/Core/AddressResolverName.cpp +++ b/lldb/source/Core/AddressResolverName.cpp @@ -186,8 +186,8 @@ AddressResolverName::SearchCallback(SearchFilter &filter, return Searcher::eCallbackReturnContinue; } -Searcher::Depth AddressResolverName::GetDepth() { - return Searcher::eDepthModule; +lldb::SearchDepth AddressResolverName::GetDepth() { + return lldb::eSearchDepthModule; } void AddressResolverName::GetDescription(Stream *s) { diff --git a/lldb/source/Core/FileLineResolver.cpp b/lldb/source/Core/FileLineResolver.cpp index 7f0f440252e..083377692ed 100644 --- a/lldb/source/Core/FileLineResolver.cpp +++ b/lldb/source/Core/FileLineResolver.cpp @@ -68,8 +68,8 @@ FileLineResolver::SearchCallback(SearchFilter &filter, SymbolContext &context, return Searcher::eCallbackReturnContinue; } -Searcher::Depth FileLineResolver::GetDepth() { - return Searcher::eDepthCompUnit; +lldb::SearchDepth FileLineResolver::GetDepth() { + return lldb::eSearchDepthCompUnit; } void FileLineResolver::GetDescription(Stream *s) { diff --git a/lldb/source/Core/SearchFilter.cpp b/lldb/source/Core/SearchFilter.cpp index 0701955233a..c4519b2139c 100644 --- a/lldb/source/Core/SearchFilter.cpp +++ b/lldb/source/Core/SearchFilter.cpp @@ -207,7 +207,7 @@ void SearchFilter::Search(Searcher &searcher) { return; empty_sc.target_sp = m_target_sp; - if (searcher.GetDepth() == Searcher::eDepthTarget) + if (searcher.GetDepth() == lldb::eSearchDepthTarget) searcher.SearchCallback(*this, empty_sc, nullptr, false); else DoModuleIteration(empty_sc, searcher); @@ -220,7 +220,7 @@ void SearchFilter::SearchInModuleList(Searcher &searcher, ModuleList &modules) { return; empty_sc.target_sp = m_target_sp; - if (searcher.GetDepth() == Searcher::eDepthTarget) + if (searcher.GetDepth() == lldb::eSearchDepthTarget) searcher.SearchCallback(*this, empty_sc, nullptr, false); else { std::lock_guard<std::recursive_mutex> guard(modules.GetMutex()); @@ -247,9 +247,9 @@ SearchFilter::DoModuleIteration(const lldb::ModuleSP &module_sp, Searcher::CallbackReturn SearchFilter::DoModuleIteration(const SymbolContext &context, Searcher &searcher) { - if (searcher.GetDepth() >= Searcher::eDepthModule) { + if (searcher.GetDepth() >= lldb::eSearchDepthModule) { if (context.module_sp) { - if (searcher.GetDepth() == Searcher::eDepthModule) { + if (searcher.GetDepth() == lldb::eSearchDepthModule) { SymbolContext matchingContext(context.module_sp.get()); searcher.SearchCallback(*this, matchingContext, nullptr, false); } else { @@ -267,7 +267,7 @@ SearchFilter::DoModuleIteration(const SymbolContext &context, if (!ModulePasses(module_sp)) continue; - if (searcher.GetDepth() == Searcher::eDepthModule) { + if (searcher.GetDepth() == lldb::eSearchDepthModule) { SymbolContext matchingContext(m_target_sp, module_sp); Searcher::CallbackReturn shouldContinue = @@ -301,7 +301,7 @@ SearchFilter::DoCUIteration(const ModuleSP &module_sp, if (!CompUnitPasses(*(cu_sp.get()))) continue; - if (searcher.GetDepth() == Searcher::eDepthCompUnit) { + if (searcher.GetDepth() == lldb::eSearchDepthCompUnit) { SymbolContext matchingContext(m_target_sp, module_sp, cu_sp.get()); shouldContinue = @@ -421,7 +421,7 @@ void SearchFilterByModule::Search(Searcher &searcher) { if (!m_target_sp) return; - if (searcher.GetDepth() == Searcher::eDepthTarget) { + if (searcher.GetDepth() == lldb::eSearchDepthTarget) { SymbolContext empty_sc; empty_sc.target_sp = m_target_sp; searcher.SearchCallback(*this, empty_sc, nullptr, false); @@ -570,7 +570,7 @@ void SearchFilterByModuleList::Search(Searcher &searcher) { if (!m_target_sp) return; - if (searcher.GetDepth() == Searcher::eDepthTarget) { + if (searcher.GetDepth() == lldb::eSearchDepthTarget) { SymbolContext empty_sc; empty_sc.target_sp = m_target_sp; searcher.SearchCallback(*this, empty_sc, nullptr, false); @@ -773,7 +773,7 @@ void SearchFilterByModuleListAndCU::Search(Searcher &searcher) { if (!m_target_sp) return; - if (searcher.GetDepth() == Searcher::eDepthTarget) { + if (searcher.GetDepth() == lldb::eSearchDepthTarget) { SymbolContext empty_sc; empty_sc.target_sp = m_target_sp; searcher.SearchCallback(*this, empty_sc, nullptr, false); @@ -797,7 +797,7 @@ void SearchFilterByModuleListAndCU::Search(Searcher &searcher) { SymbolContext matchingContext(m_target_sp, module_sp); Searcher::CallbackReturn shouldContinue; - if (searcher.GetDepth() == Searcher::eDepthModule) { + if (searcher.GetDepth() == lldb::eSearchDepthModule) { shouldContinue = DoModuleIteration(matchingContext, searcher); if (shouldContinue == Searcher::eCallbackReturnStop) return; diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h index 0fe9134ce9e..e99025439a1 100644 --- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h +++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h @@ -74,7 +74,7 @@ public: SymbolContext &context, Address *addr, bool containing) override; - Searcher::Depth GetDepth() override { return Searcher::eDepthModule; } + lldb::SearchDepth GetDepth() override { return lldb::eSearchDepthModule; } lldb::BreakpointResolverSP CopyForBreakpoint(Breakpoint &breakpoint) override { @@ -124,7 +124,7 @@ public: SymbolContext &context, Address *addr, bool containing) override; - Searcher::Depth GetDepth() override { return Searcher::eDepthModule; } + lldb::SearchDepth GetDepth() override { return lldb::eSearchDepthModule; } lldb::BreakpointResolverSP CopyForBreakpoint(Breakpoint &breakpoint) override { @@ -269,7 +269,7 @@ public: SymbolContext &context, Address *addr, bool containing) override; - Searcher::Depth GetDepth() override { return Searcher::eDepthModule; } + lldb::SearchDepth GetDepth() override { return lldb::eSearchDepthModule; } lldb::BreakpointResolverSP CopyForBreakpoint(Breakpoint &breakpoint) override { diff --git a/lldb/source/Target/LanguageRuntime.cpp b/lldb/source/Target/LanguageRuntime.cpp index bd02121f6a4..22ad2d25ee1 100644 --- a/lldb/source/Target/LanguageRuntime.cpp +++ b/lldb/source/Target/LanguageRuntime.cpp @@ -125,11 +125,11 @@ public: return eCallbackReturnStop; } - Searcher::Depth GetDepth() override { + lldb::SearchDepth GetDepth() override { if (SetActualResolver()) return m_actual_resolver_sp->GetDepth(); else - return eDepthTarget; + return lldb::eSearchDepthTarget; } void GetDescription(Stream *s) override { |