-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtsan.supp
More file actions
34 lines (31 loc) 路 1.17 KB
/
Copy pathtsan.supp
File metadata and controls
34 lines (31 loc) 路 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ThreadSanitizer suppression file for Draxul (WI 134)
#
# Usage:
# TSAN_OPTIONS="suppressions=tsan.supp" ./build/draxul.app/Contents/MacOS/draxul ...
#
# Or via the mac-tsan CMake preset which sets TSAN_OPTIONS automatically.
#
# Rationale: suppress known-benign data races in third-party libraries
# (SDL3, Metal driver, system frameworks) that we cannot fix. All races
# in Draxul's own code should be fixed at the source, not suppressed.
#
# Each entry documents the library/component and why the race is benign.
# --- SDL3 internals ---
# SDL's event queue and video subsystem use internal threading that TSan
# sometimes flags during init/shutdown. These are managed by SDL and not
# actionable by us.
race:libSDL3*
race:SDL_*
# --- Metal / GPU driver ---
# Apple's Metal framework and GPU driver libraries contain internal
# threading for command buffer scheduling and drawable management.
race:libMTLCapture*
race:AGXG*
race:libGPUSupportMercury*
race:MTLIGAccelDevice*
race:IOGPUMetalCommandQueue*
# --- macOS system libraries ---
# libsystem_pthread and libdispatch occasionally produce benign TSan
# reports during process startup or teardown.
race:libsystem_pthread*
race:libdispatch*