2016-07-22 21:50:55 +00:00
|
|
|
|
|
|
|
|
import unittest2
|
|
|
|
|
|
|
|
|
|
from lldbsuite.test.decorators import *
|
|
|
|
|
from lldbsuite.test.concurrent_base import ConcurrentEventsBase
|
|
|
|
|
from lldbsuite.test.lldbtest import TestBase
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@skipIfWindows
|
|
|
|
|
class ConcurrentManyBreakpoints(ConcurrentEventsBase):
|
|
|
|
|
|
|
|
|
|
mydir = ConcurrentEventsBase.compute_mydir(__file__)
|
|
|
|
|
|
|
|
|
|
# Atomic sequences are not supported yet for MIPS in LLDB.
|
2016-10-10 10:02:09 +00:00
|
|
|
@skipIf(triple='^mips')
|
2019-09-24 22:39:04 +00:00
|
|
|
@skipIfOutOfTreeDebugserver
|
2021-03-03 15:57:51 +01:00
|
|
|
@expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
|
|
|
|
|
bugnumber="llvm.org/pr49433")
|
2016-10-24 16:20:43 +00:00
|
|
|
def test(self):
|
2016-07-22 21:50:55 +00:00
|
|
|
"""Test 100 breakpoints from 100 threads."""
|
2021-12-30 11:22:26 +01:00
|
|
|
self.build()
|
2016-07-22 21:50:55 +00:00
|
|
|
self.do_thread_actions(num_breakpoint_threads=100)
|