Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions stdlib/public/runtime/MetadataLookup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,20 @@ ResolveAsSymbolicReference::operator()(SymbolicReferenceKind kind,
case Demangle::SymbolicReferenceKind::UniqueExtendedExistentialTypeShape:
nodeKind = Node::Kind::UniqueExtendedExistentialTypeShapeSymbolicReference;
isType = false;
#if SWIFT_PTRAUTH
ptr = (uintptr_t)ptrauth_sign_unauthenticated((void*)ptr,
ptrauth_key_process_independent_data,
SpecialPointerAuthDiscriminators::ExtendedExistentialTypeShape);
#endif
break;
case Demangle::SymbolicReferenceKind::NonUniqueExtendedExistentialTypeShape:
nodeKind = Node::Kind::NonUniqueExtendedExistentialTypeShapeSymbolicReference;
isType = false;
#if SWIFT_PTRAUTH
ptr = (uintptr_t)ptrauth_sign_unauthenticated((void*)ptr,
ptrauth_key_process_independent_data,
SpecialPointerAuthDiscriminators::NonUniqueExtendedExistentialTypeShape);
#endif
break;
}

Expand Down