We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d63debe commit a100d3eCopy full SHA for a100d3e
stdlib/public/runtime/SwiftObject.mm
@@ -893,6 +893,9 @@ static bool isObjCForUnownedReference(void *value) {
893
894
UnownedReference *swift::swift_unknownObjectUnownedInit(UnownedReference *dest,
895
void *value) {
896
+ // Note that LLDB also needs to know about the memory layout of unowned
897
+ // references. The implementation here needs to be kept in sync with
898
+ // lldb_private::SwiftLanguagueRuntime.
899
if (!value) {
900
dest->Value = nullptr;
901
} else if (isObjCForUnownedReference(value)) {
0 commit comments