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 4290f0a + f01d46c commit ee5290aCopy full SHA for ee5290a
stdlib/public/runtime/ProtocolConformance.cpp
@@ -444,8 +444,15 @@ static bool _checkWitnessTableIsolation(
444
llvm::ArrayRef<const void *> conditionalArgs,
445
ConformanceExecutionContext &context
446
) {
447
- // If there's no protocol conformance descriptor, do nothing.
+#if SWIFT_STDLIB_USE_RELATIVE_PROTOCOL_WITNESS_TABLES && SWIFT_PTRAUTH
448
+ auto description = lookThroughOptionalConditionalWitnessTable(
449
+ reinterpret_cast<const RelativeWitnessTable *>(wtable))
450
+ ->getDescription();
451
+#else
452
auto description = wtable->getDescription();
453
+#endif
454
+
455
+ // If there's no protocol conformance descriptor, do nothing.
456
if (!description)
457
return false;
458
0 commit comments