[Lldb-commits] [PATCH] D152837: [lldb] Identify Swift-implemented ObjC classes
Dave Lee via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 13 10:38:32 PDT 2023
kastiglione created this revision.
kastiglione added reviewers: aprantl, jingham, augusto2112.
Herald added a project: All.
kastiglione requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Classes implemented in Swift can be exposed to ObjC. For those classes, the ObjC
metadata is incomplete (the types of the ivars are incomplete), but as one would expect
the Swift metadata is complete. In such cases, the Swift runtime should be consulted
first when determining the dynamic type of a value.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D152837
Files:
lldb/source/Core/ValueObjectDynamicValue.cpp
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.h
lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152837.530982.patch
Type: text/x-patch
Size: 4023 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230613/95db6a3a/attachment.bin>
More information about the lldb-commits
mailing list