]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117657: Replace TSAN suppresions with more specific rules (#118722)
authorBrett Simmers <swtaarrs@users.noreply.github.com>
Thu, 9 May 2024 21:02:39 +0000 (14:02 -0700)
committerGitHub <noreply@github.com>
Thu, 9 May 2024 21:02:39 +0000 (17:02 -0400)
commit98ff3f65c0232f31df89ebb52b244625ec9e3eb6
tree7acebcc1627c4f9886b8f67021e2d8c8eb645073
parent1b1db2fd9a531e26b79b34667bccfb938c4d184d
gh-117657: Replace TSAN suppresions with more specific rules (#118722)

Using `race:` filters out warnings if the function appears anywhere in
the stack trace. This can hide a lot of unrelated warnings, especially
for a function like `_PyEval_EvalFrameDefault`, which is somewhere on
the stack more often than not.

Change all free-threaded suppressions to `race_top:`, which only matches
the top frame, and add any new suppressions this exposes.
Tools/tsan/suppressions_free_threading.txt