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.
2 parents 7020740 + a100d3e commit 8ea5a86Copy full SHA for 8ea5a86
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