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.
1 parent 10b5031 commit d61fee3Copy full SHA for d61fee3
stdlib/public/runtime/ProtocolConformance.cpp
@@ -581,7 +581,8 @@ void swift::addImageProtocolConformanceBlockCallbackUnsafe(
581
ConformanceSection{conformances, conformancesSize});
582
return;
583
#if DYLD_FIND_PROTOCOL_ON_DISK_CONFORMANCE_DEFINED
584
- } else if (_dyld_has_preoptimized_swift_protocol_conformances(
+ } else if (&_dyld_has_preoptimized_swift_protocol_conformances &&
585
+ _dyld_has_preoptimized_swift_protocol_conformances(
586
reinterpret_cast<const mach_header *>(baseAddress))) {
587
// dyld may optimize images outside the shared cache. Skip those too.
588
DYLD_CONFORMANCES_LOG(
0 commit comments