[lldb] Improve 'lang objc tagged-pointer info' command
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 5 Nov 2021 20:13:41 +0000 (13:13 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 5 Nov 2021 20:19:00 +0000 (13:19 -0700)
commit10eb32f45d40e180a229590f57dd0a61f97f1bc9
tree2d5b92167bc96ab2634b78358d4700d7590eb5fc
parentc92a253cf0ddcf905707b4e9265b42570ce409d9
[lldb] Improve 'lang objc tagged-pointer info' command

Don't try to get a class descriptor for a pointer that doesn't look like
a tagged pointer. Also print addresses as fixed-width hex and update the
test.
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
lldb/test/API/lang/objc/tagged-pointer/TestTaggedPointerCmd.py
lldb/test/API/lang/objc/tagged-pointer/main.m