Skip to content

Commit 5836dbd

Browse files
authored
[Reflection] Fix failing arm64e test
rdar://88403538
1 parent 94ed352 commit 5836dbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/swift/Remote/MetadataReader.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,8 @@ class MetadataReader {
421421
}
422422
} else {
423423
resolved = Reader->resolvePointer(RemoteAddress(remoteAddress), 0);
424-
if (!resolved)
424+
if (resolved.getSymbol().empty())
425+
// No symbol found, use the already calculated address.
425426
resolved = RemoteAbsolutePointer("", remoteAddress);
426427
}
427428

0 commit comments

Comments
 (0)