Skip to content

Commit 9bbcef3

Browse files
committed
[Runtime] Fix missing return in getMetadataFromPointerKeyedMap.
When DYLD_FIND_POINTER_HASH_TABLE_ENTRY_DEFINED is set but the function is not found at runtime, we're missing a return statement.
1 parent b6c6e86 commit 9bbcef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/LibPrespecialized.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ getMetadataFromPointerKeyedMap(const LibPrespecializedState &state,
408408
#else
409409
LOG("Looking up description %p but dyld hash table call not available.",
410410
description);
411-
return nullptr;
412411
#endif
412+
return nullptr;
413413
}
414414

415415
// When we have a pointer-keyed map from a debug library, it's not built as a

0 commit comments

Comments
 (0)