[all-commits] [llvm/llvm-project] 55ee54: [lldb/test] Clean up TestThreadSpecificBpPlusCondi...
Pavel Labath via All-commits
all-commits at lists.llvm.org
Wed Apr 21 08:37:52 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 55ee541653a817c77a6b5b837c4b8cc50ed3ae0e
https://github.com/llvm/llvm-project/commit/55ee541653a817c77a6b5b837c4b8cc50ed3ae0e
Author: Pavel Labath <pavel at labath.sk>
Date: 2021-04-21 (Wed, 21 Apr 2021)
Changed paths:
M lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py
M lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/main.cpp
Log Message:
-----------
[lldb/test] Clean up TestThreadSpecificBpPlusCondition inferior
The test had a race that could cause two threads to end up with the same
"thread local" value. I believe this would not cause the test to fail,
but it could cause it to succeed even when the functionality is broken.
The new implementation removes this uncertainty, and removes a lot of
cruft left over from the time this test was written using pthreads.
More information about the All-commits
mailing list