blob: 1527de2e4eb0b4043ee5ae583a79d233998ae9e3 [file]
from lldbsuite.test.decorators import *
from lldbsuite.test.concurrent_base import ConcurrentEventsBase
from lldbsuite.test.lldbtest import TestBase
@skipIfTargetDoesNotSupportThreads()
@skipIfWindows
class ConcurrentManyCrash(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple="^mips")
def test(self):
"""Test 100 threads that cause a segfault."""
self.build()
self.do_thread_actions(num_crash_threads=100)