mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
* Move TSan function lookup out of the common path Move TSan function lookup via `dlsym()` out of the common path. The TSan runtime will now call `__tsan_on_initialize()` which we can use to initialize the TSan functions in the Swift runtime. This avoids paying the cost of `dlsym()` in the common, non-TSan case. Depends on: https://reviews.llvm.org/D98810 rdar://75493372 * Remove Windows code Thread Sanitizer is not supported on Windows. Co-authored-by: Julian Lettner <julian.lettner@apple.com>
1.4 KiB
1.4 KiB