diff options
author | Greg Clayton <gclayton@apple.com> | 2015-01-28 01:08:39 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-01-28 01:08:39 +0000 |
commit | 65b0e7630db3b0eb5c940150eccd55fb797e51bc (patch) | |
tree | f6046c3e4f3cd3802e4c1ef6d367d1243cbca588 /lldb/source/Core/Module.cpp | |
parent | 4891e74c391e13e9ca126bf7aeb3e996d8208f23 (diff) | |
download | bcm5719-llvm-65b0e7630db3b0eb5c940150eccd55fb797e51bc.tar.gz bcm5719-llvm-65b0e7630db3b0eb5c940150eccd55fb797e51bc.zip |
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.
llvm-svn: 227281
Diffstat (limited to 'lldb/source/Core/Module.cpp')
-rw-r--r-- | lldb/source/Core/Module.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp index d38d403bd31..1672eed8fb9 100644 --- a/lldb/source/Core/Module.cpp +++ b/lldb/source/Core/Module.cpp @@ -1736,7 +1736,7 @@ Module::PrepareForFunctionNameLookup (const ConstString &name, 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 { |