summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-01-07 04:21:42 +0000
committerGreg Clayton <gclayton@apple.com>2012-01-07 04:21:42 +0000
commit11c99162c41f6c788b2535779915a70319dc3510 (patch)
treee3245f3647a895c0482ea553246d23b5b232f64d
parentbbf8c9a9395dd9afe95ed11bb6a0e5469b2e1c48 (diff)
downloadbcm5719-llvm-11c99162c41f6c788b2535779915a70319dc3510.tar.gz
bcm5719-llvm-11c99162c41f6c788b2535779915a70319dc3510.zip
<rdar://problem/10658091>
Fixed dynamic types for objective C to not try and make everything dynamic including base classes. llvm-svn: 147722
-rw-r--r--lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
index d584cb28d9e..7df812c84e8 100644
--- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
@@ -180,7 +180,7 @@ AppleObjCRuntime::CouldHaveDynamicValue (ValueObject &in_value)
{
lldb::LanguageType known_type = in_value.GetObjectRuntimeLanguage();
if (known_type == lldb::eLanguageTypeObjC)
- return true;
+ return in_value.IsPossibleDynamicType ();
else
return in_value.IsPointerType();
}
OpenPOWER on IntegriCloud