[all-commits] [llvm/llvm-project] 64afbf: [rtsan][compiler-rt] Prevent UB hang in rtsan lock...
Chris Apple via All-commits
all-commits at lists.llvm.org
Fri Aug 23 14:10:06 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 64afbf0cbe2e7b77cc0e139cb9ccd086a7f9b930
https://github.com/llvm/llvm-project/commit/64afbf0cbe2e7b77cc0e139cb9ccd086a7f9b930
Author: Chris Apple <cja-private at pm.me>
Date: 2024-08-23 (Fri, 23 Aug 2024)
Changed paths:
M compiler-rt/lib/rtsan/tests/rtsan_test_interceptors.cpp
Log Message:
-----------
[rtsan][compiler-rt] Prevent UB hang in rtsan lock unit tests (#104733)
It is undefined behavior to lock or unlock an uninitialized lock, and
unlock a lock which isn't locked.
Introduce a fixture to set up and tear down the locks where
appropriate, and separates them into two tests (realtime death and non
realtime survival) so each test is guaranteed a fresh lock.
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