mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The specific environment variable is SWIFT_DEBUG_RUNTIME_EXCLUSIVITY_LOGGING. We only check the environment the first time we try to lookup the TLSContext, so it shouldn't impact exclusivity performance. My intention is to use this to write some FileCheck tests so that we can really be sure that the runtime is doing what we think it is. As such I also changed the small amount of logging routines meant for use in the debugger to use stdout.
2.7 KiB
2.7 KiB