Fixed IRForTarget to handle Objective-C messages
sent to "super".
<rdar://problem/13042260>
llvm-svn: 180217
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp
index b4d9655..778c6c0 100644
--- a/lldb/source/Expression/IRForTarget.cpp
+++ b/lldb/source/Expression/IRForTarget.cpp
@@ -1869,6 +1869,16 @@
return false;
}
}
+ else if (global_name.find("OBJC_CLASSLIST_SUP_REFS_$") != global_name.npos)
+ {
+ if (!HandleObjCClass(global))
+ {
+ if (m_error_stream)
+ m_error_stream->Printf("Error [IRForTarget]: Couldn't resolve the class for an Objective-C static method call\n");
+
+ return false;
+ }
+ }
else if (DeclForGlobal(global))
{
if (!MaybeHandleVariable (global))