[Lldb-commits] [lldb] r227281 - If we say:
Greg Clayton
gclayton at apple.com
Tue Jan 27 17:08:39 PST 2015
Author: gclayton
Date: Tue Jan 27 19:08:39 2015
New Revision: 227281
URL: http://llvm.org/viewvc/llvm-project?rev=227281&view=rev
Log:
If we say:
(lldb) b isEqual:
We end up calling "breakpoint set --name "isEqual:" and it was not checking for selectors due to a logic error.
Modified:
lldb/trunk/source/Core/Module.cpp
Modified: lldb/trunk/source/Core/Module.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Module.cpp?rev=227281&r1=227280&r2=227281&view=diff
==============================================================================
--- lldb/trunk/source/Core/Module.cpp (original)
+++ lldb/trunk/source/Core/Module.cpp Tue Jan 27 19:08:39 2015
@@ -1736,7 +1736,7 @@ Module::PrepareForFunctionNameLookup (co
if (CPPLanguageRuntime::ExtractContextAndIdentifier (name_cstr, context, basename))
lookup_name_type_mask |= (eFunctionNameTypeMethod | eFunctionNameTypeBase);
else
- lookup_name_type_mask = eFunctionNameTypeFull;
+ lookup_name_type_mask |= eFunctionNameTypeFull;
}
else
{
More information about the lldb-commits
mailing list