teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities/thread
Pavel Labath f104d6b224 Fix TestThreadExit for gcc&libc++ combo
pseudo_barrier_wait() begins by decrementing an atomic variable. Since
these are always_inline in libc++, there is no line table anchor to
break on before we decrement it. This meant that on gcc we stopped after
the variable has been decremented, which meant that thread2 could have
exited, violating the test setup. On clang this wasn't a problem
because it generated some line table entries for the do{}while(0) loop
in the macro, so we still ended up stopping, before we touched the
variable.

I fix this by adding a dummy statement before the pseudo_barrier_wait()
command and setting the breakpoint there.

llvm-svn: 335476
2018-06-25 14:28:38 +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 Make testcase classnames unique 2018-06-24 10:36:44 +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 Make testcase classnames unique 2018-06-24 10:36:44 +00:00
thread_exit Fix TestThreadExit for gcc&libc++ combo 2018-06-25 14:28:38 +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