[all-commits] [llvm/llvm-project] 09b9d1: [asan][test] Fix flake in asan_lsan_deadlock test
Paul Kirth via All-commits
all-commits at lists.llvm.org
Thu May 22 14:45:32 PDT 2025
Branch: refs/heads/users/ilovepi/fix-deadlock-test
Home: https://github.com/llvm/llvm-project
Commit: 09b9d1ea74ef085a0704a7e05ef14c26cb2f53c1
https://github.com/llvm/llvm-project/commit/09b9d1ea74ef085a0704a7e05ef14c26cb2f53c1
Author: Paul Kirth <paulkirth at google.com>
Date: 2025-05-22 (Thu, 22 May 2025)
Changed paths:
M compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp
Log Message:
-----------
[asan][test] Fix flake in asan_lsan_deadlock test
While the current test checks that a deadlock doesn't occur, it also
assumes that lsan reporting happens at the end of the program as part of
the summary. However, it sometimes happens that due to ordering the
stack-buffer-overflow is reported differently. In these cases the error
message will be prefixed with 'ERROR:' instead of 'SUMMARY:'. Since the
verbiage of the reporting isn't the point of the test, we can relax the
check slightly to avoid test flake due to non-determinism in the
execution ordering of the program. Fixes #140646.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list