[lldb] Try harder to find the __NSCFBoolean addresses
authorFred Riss <friss@apple.com>
Fri, 22 May 2020 02:21:51 +0000 (19:21 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 6 Aug 2021 20:04:29 +0000 (13:04 -0700)
commit9ed7416aaf257b13079b48f856df9b45d783fab2
tree939018e738054de5178d868075175f51baca6119
parent2b067e333572a26431d1f3f4e8c226f0f7cccc0a
[lldb] Try harder to find the __NSCFBoolean addresses

It looks like recent CoreFoundation builds strip the non-public symbol
that we were looking for to find the 2 boolean "classes". The public
symbol is of course there, and it contains the address of the private
one. If we don't find the private symbol directly, go through a memory
read at the public symbol's location instead.
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp