teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities/thread
Pavel Labath 13c07c62d1 Make sure TestNumThreads works with libc++
The problem was that with libc++ the std::unique_lock declaration was
completely inlined, so there was no line table entry in the main.cpp
file to set a breakpoint on. Therefore, the breakpoint got moved to the
next line, but that meant the test would deadlock as the thread would
stop with the lock already held.

I fix that issue by adding a dummy statement before the std::unique_lock
line to anchor the breakpoint.

I think this should fix the issue because of which this test was
disabled on darwin, but someone should verify that before enabling it.

llvm-svn: 335132
2018-06-20 14:54:34 +00:00
..
backtrace_all Including <functional> for std::bind 2018-03-05 17:54:23 +00:00
break_after_join Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
concurrent_events Move "concurrent events" tests back into one folder 2018-02-27 02:01:30 +00:00
crash_during_step Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
create_after_attach Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
create_during_step Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
exit_during_break Typo fixes. 2018-05-29 09:10:46 +00:00
exit_during_step Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
jump [lit, windows] Disable a number of tests that are failing on Windows 2018-06-07 17:49:22 +00:00
multi_break Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
num_threads Make sure TestNumThreads works with libc++ 2018-06-20 14:54:34 +00:00
state [test] Skip flaky TestThreadStates tests on Darwin 2018-03-19 20:50:49 +00:00
step_out Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
step_until Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
thread_exit Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
thread_specific_break Fix breakpoint thread name conditionals after breakpoint options refactor. 2018-02-23 21:10:42 +00:00
thread_specific_break_plus_condition Skip TestThreadSpecificBpPlusCondition on Darwin due to timeouts 2018-03-16 19:33:39 +00:00