Switched AppleObjCRuntimeV2::CreateClassDescriptor
authorSean Callanan <scallanan@apple.com>
Wed, 10 Oct 2012 00:46:46 +0000 (00:46 +0000)
committerSean Callanan <scallanan@apple.com>
Wed, 10 Oct 2012 00:46:46 +0000 (00:46 +0000)
commit2cc1fbfc9bbc59badd85c476f12211ae608712ea
tree454be723983663274f9c7cb054222e729e780168
parent8fd10ef0d6eb6fcc3990aba1621edb528640fff8
Switched AppleObjCRuntimeV2::CreateClassDescriptor
over to simply update its cache and then look up
the descriptor in the cache.  This is fine because
the cache now builds much faster (since descriptors
are minimal).

Metaclasses aren't in the cache, so I switched
the Describe method for class descriptors from using
GetClassDescriptor to manually creating an automatic
ClassDescriptorV2.

llvm-svn: 165579
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp