1from lldbsuite.test.decorators import * 2from lldbsuite.test.concurrent_base import ConcurrentEventsBase 3from lldbsuite.test.lldbtest import TestBase 4 5 6@skipIfWindows 7class ConcurrentCrashWithWatchpointBreakpointSignal(ConcurrentEventsBase): 8 # Atomic sequences are not supported yet for MIPS in LLDB. 9 @skipIf(triple="^mips") 10 @add_test_categories(["watchpoint"]) 11 def test(self): 12 """Test a thread that crashes while other threads generate a signal and hit a watchpoint and breakpoint.""" 13 self.build() 14 self.do_thread_actions( 15 num_crash_threads=1, 16 num_breakpoint_threads=1, 17 num_signal_threads=1, 18 num_watchpoint_threads=1, 19 ) 20