teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities/thread
Zachary Turner 783550be62 Remove assumptions that thread 0 is always the main thread.
Starting with Windows 10, the Windows loader is itself multi-threaded,
meaning that the loader spins up a few threads to do process
initialization before it executes main.  Windows delivers these
notifications asynchronously and they can come out of order, so
we can't be sure that the first thread we get a notification about
is actually the zero'th thread.

This patch fixes this by requesting the thread stopped at the
breakpoint that was specified, rather than getting thread 0 and
verifying that it is stopped at a breakpoint.

Differential Revision: http://reviews.llvm.org/D16247

llvm-svn: 258432
2016-01-21 21:07:30 +00:00
..
backtrace_all Merge ENABLE_THREADS and ENABLE_STD_THREADS markers 2015-12-15 12:11:00 +00:00
break_after_join Merge ENABLE_THREADS and ENABLE_STD_THREADS markers 2015-12-15 12:11:00 +00:00
concurrent_events Enable TestConcurrentEvents on i386 linux 2016-01-20 12:09:12 +00:00
crash_during_step Remove assumptions that thread 0 is always the main thread. 2016-01-21 21:07:30 +00:00
create_after_attach Centralize the handling of attach permissions on linux in tests 2016-01-11 10:24:50 +00:00
create_during_step Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
exit_during_break Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
exit_during_step Remove last XTIMEOUTs from android tests 2016-01-19 10:59:10 +00:00
jump [TestThreadJump] Adjust match sub-string after recent change. 2016-01-12 22:33:19 +00:00
multi_break Remove assumptions that thread 0 is always the main thread. 2016-01-21 21:07:30 +00:00
state Remove assumptions that thread 0 is always the main thread. 2016-01-21 21:07:30 +00:00
step_out Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
thread_exit Remove expectedFailureFreeBSD from passing ThreadExitTestCase::test_with_dwarf 2015-11-24 18:22:37 +00:00
thread_specific_break Make TestThreadSpecificBreakpoint.py more focused. 2015-12-04 22:59:41 +00:00
thread_specific_break_plus_condition Remove XFAIL from a few tests that have been fixed on Windows. 2016-01-08 22:21:40 +00:00
main.cpp
Makefile Merge ENABLE_THREADS and ENABLE_STD_THREADS markers 2015-12-15 12:11:00 +00:00
TestNumThreads.py Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00