Skip to content

Commit bd54916

Browse files
author
Greg Clayton
committed
Fix selectors not being objc-uniquified in the expression parser after a recent renaming in clang (clang change for revision 221451). This broke all objective C expressions in LLDB.
llvm-svn: 221632
1 parent 642e770 commit bd54916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Expression/IRForTarget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ static bool IsObjCSelectorRef (Value *value)
10361036
{
10371037
GlobalVariable *global_variable = dyn_cast<GlobalVariable>(value);
10381038

1039-
if (!global_variable || !global_variable->hasName() || !global_variable->getName().startswith("\01L_OBJC_SELECTOR_REFERENCES_"))
1039+
if (!global_variable || !global_variable->hasName() || !global_variable->getName().startswith("OBJC_SELECTOR_REFERENCES_"))
10401040
return false;
10411041

10421042
return true;

0 commit comments

Comments
 (0)