Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions Tools/tsan/suppressions.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# This file contains suppressions for the default (with GIL) build.
# reference: https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
#
# Reference: https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
#
# When adding a suppression, include a comment referencing a GitHub issue
# that describes how to reproduce the race and includes the relevant TSan
# output.

# https://gist.github.com/mpage/daaf32b39180c1989572957b943eb665
thread:pthread_create
# There are currently no active suppressions. This file is kept so tooling
# that expects it can still find it.
24 changes: 9 additions & 15 deletions Tools/tsan/suppressions_free_threading.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
# This file contains suppressions for the free-threaded build. It contains the
# suppressions for the default build and additional suppressions needed only in
# This file contains suppressions for the free-threaded build. It includes the
# default build suppressions plus any additional suppressions needed only in
# the free-threaded build.
#
# reference: https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a "this page intentionally left blank" comment, to make it clear this really is meant to be empty but we don't want to delete it because tooling might be expect it to exist in 3.15 like it did in 3.14. (I assume that's why you aren't deleting it.)

## Free-threaded suppressions


# These entries are for warnings that trigger in a library function, as called
# by a CPython function.

# These warnings trigger directly in a CPython function.

race_top:_PyObject_TryGetInstanceAttribute
# Reference: https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
#
# When adding a suppression, include a comment referencing a GitHub issue
# that describes how to reproduce the race and includes the relevant TSan
# output.

# https://gist.github.com/mpage/6962e8870606cfc960e159b407a0cb40
thread:pthread_create
# There are currently no active suppressions. This file is kept so tooling
# that expects it can still find it.
Loading