Skip to content

Commit efe32c4

Browse files
authored
Merge pull request #35715 from mikeash/protocol-conformance-shared-cache
[Runtime] Support precomputed protocol conformances in the shared cache.
2 parents 6ba4b66 + f35b110 commit efe32c4

File tree

2 files changed

+349
-41
lines changed

2 files changed

+349
-41
lines changed

stdlib/public/runtime/EnvironmentVariables.def

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,12 @@ VARIABLE(SWIFT_DEBUG_ENABLE_MALLOC_SCRIBBLE, bool, false,
4747
VARIABLE(SWIFT_DEBUG_ENABLE_COW_CHECKS, bool, false,
4848
"Enable internal checks for copy-on-write operations.")
4949

50+
#if defined(__APPLE__) && defined(__MACH__)
51+
52+
VARIABLE(SWIFT_DEBUG_VALIDATE_SHARED_CACHE_PROTOCOL_CONFORMANCES, bool, false,
53+
"Validate shared cache protocol conformance results against the "
54+
"lists of conformances in the shared cache images.")
55+
56+
#endif
57+
5058
#undef VARIABLE

0 commit comments

Comments
 (0)