diff options
Diffstat (limited to 'lldb/source/Core')
-rw-r--r-- | lldb/source/Core/AddressResolverName.cpp | 1 | ||||
-rw-r--r-- | lldb/source/Core/Module.cpp | 2 | ||||
-rw-r--r-- | lldb/source/Core/ModuleList.cpp | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Core/AddressResolverName.cpp b/lldb/source/Core/AddressResolverName.cpp index baf62f21a2f..82187004199 100644 --- a/lldb/source/Core/AddressResolverName.cpp +++ b/lldb/source/Core/AddressResolverName.cpp @@ -111,7 +111,6 @@ AddressResolverName::SearchCallback if (context.module_sp) { context.module_sp->FindSymbolsWithNameAndType (m_func_name, - NULL, eSymbolTypeCode, sym_list); context.module_sp->FindFunctions (m_func_name, diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp index 429362c6ab5..3f8a7635144 100644 --- a/lldb/source/Core/Module.cpp +++ b/lldb/source/Core/Module.cpp @@ -687,7 +687,7 @@ Module::SymbolIndicesToSymbolContextList (Symtab *symtab, std::vector<uint32_t> } size_t -Module::FindSymbolsWithNameAndType (const ConstString &name, const ClangNamespaceDecl *namespace_decl, SymbolType symbol_type, SymbolContextList &sc_list) +Module::FindSymbolsWithNameAndType (const ConstString &name, SymbolType symbol_type, SymbolContextList &sc_list) { // No need to protect this call using m_mutex all other method calls are // already thread safe. diff --git a/lldb/source/Core/ModuleList.cpp b/lldb/source/Core/ModuleList.cpp index 7c35c9b6ed3..f3a2f0fbfa6 100644 --- a/lldb/source/Core/ModuleList.cpp +++ b/lldb/source/Core/ModuleList.cpp @@ -254,7 +254,7 @@ ModuleList::FindSymbolsWithNameAndType (const ConstString &name, sc_list.Clear(); collection::iterator pos, end = m_modules.end(); for (pos = m_modules.begin(); pos != end; ++pos) - (*pos)->FindSymbolsWithNameAndType (name, NULL, symbol_type, sc_list); + (*pos)->FindSymbolsWithNameAndType (name, symbol_type, sc_list); return sc_list.GetSize(); } |