[Lldb-commits] [lldb] r221632 - 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.
Greg Clayton
gclayton at apple.com
Mon Nov 10 13:45:59 PST 2014
Author: gclayton
Date: Mon Nov 10 15:45:59 2014
New Revision: 221632
URL: http://llvm.org/viewvc/llvm-project?rev=221632&view=rev
Log:
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.
Modified:
lldb/trunk/source/Expression/IRForTarget.cpp
Modified: lldb/trunk/source/Expression/IRForTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/IRForTarget.cpp?rev=221632&r1=221631&r2=221632&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRForTarget.cpp (original)
+++ lldb/trunk/source/Expression/IRForTarget.cpp Mon Nov 10 15:45:59 2014
@@ -1036,7 +1036,7 @@ static bool IsObjCSelectorRef (Value *va
{
GlobalVariable *global_variable = dyn_cast<GlobalVariable>(value);
- if (!global_variable || !global_variable->hasName() || !global_variable->getName().startswith("\01L_OBJC_SELECTOR_REFERENCES_"))
+ if (!global_variable || !global_variable->hasName() || !global_variable->getName().startswith("OBJC_SELECTOR_REFERENCES_"))
return false;
return true;
More information about the lldb-commits
mailing list