summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/thread
Commit message (Collapse)AuthorAgeFilesLines
...
* tests: Mark expected FreeBSD failures due to pr16696Ed Maste2013-07-256-0/+20
| | | | | | Live debugging for threaded inferiors is not yet implemented on FreeBSD llvm-svn: 187131
* tests: Mark expected FreeBSD failures due to pr16696Ed Maste2013-07-243-0/+5
| | | | | | | Live debugging of threaded inferiors is currently unimplemented for FreeBSD. llvm-svn: 187077
* Updating tests that fail with ICC 13.1 because of the different mapping of ↵Ashok Thirumurthi2013-07-241-3/+3
| | | | | | assembly to DWARF. llvm-svn: 187035
* Add tests for 'thread step out' for multithreaded programsDaniel Malea2013-07-163-0/+216
| | | | | | | | | - test with python API - test with command interpreter - test stepping a single (selected) thread - test stepping all threads in the program llvm-svn: 186446
* Work-around for GCC issue where setting a breakpoint on a vector definition ↵Daniel Malea2013-07-121-7/+5
| | | | | | also adds a breakpoint on the d'tor call llvm-svn: 186193
* Fix gcc buildbot failures, re-enable tests disabled due to llvm.org/pr16575Daniel Malea2013-07-121-11/+2
| | | | llvm-svn: 186166
* Get debugserver to call task_set_state to prime the control registers so ↵Jim Ingham2013-07-111-21/+0
| | | | | | | | | | | | | that watchpoints take for threads created while the program is running. Remove the testcase skips from TestConcurrentEvents.py, since they all pass now, and fix TestWatchpointMultipleThreads.py - which should have caught this problem - so it doesn't artificially break on new thread creation before the watchpoint triggers. llvm.org/pr16566 <rdar://problem/14383244> llvm-svn: 186132
* Tentatively re-enabling TestBreakAfterJoin on LinuxDaniel Malea2013-07-111-1/+0
| | | | | | - Unable to reproduce llvm.org/pr16170 locally llvm-svn: 186129
* Enable Mac OS X tests disabled due to llvm.org/pr16567Daniel Malea2013-07-111-9/+0
| | | | | | - thread count remains correct now that we use pthread_kill() instead of kill() to deliver signals llvm-svn: 186126
* Improve TestConcurrentEvents.pyDaniel Malea2013-07-112-86/+126
| | | | | | | | | | - code cleanup, improved reporting when failures take place - ensure known thread is interrupted by using pthread_kill() instead of kill() in the signal worker thread - above should avoid llvm.org/pr16567 on Mac OS X (though kill() could still cause threads to pop out of existance temporarily) - added an additional check that all threads have exited after worker threads are all join()ed - logged llvm.org/pr16603 for the new Linux bug discovered llvm-svn: 186124
* Cleanup in TestConcurrentEvents.pyDaniel Malea2013-07-092-28/+11
| | | | | | | | - re-enable tests fixed by Matt's commit this morning (addressed llvm.org/pr16567) - disabled tests affected by new bug llvm.org/pr16575 - removed some commented out code in inferior llvm-svn: 185951
* Add TestConcurrentEvents test for LLDB's handling of inferior threadsDaniel Malea2013-07-093-0/+692
| | | | | | | | | | | | | | - Test verifies LLDB's handling of inferiors with threads that: hit breakpoints, modfiy variables that have watchpoints set, generate user signals, and crash. - Add a few "stress tests" (with ~100 threads) -- run these with "-l" dotest.py flag. - Fix stop_reason_to_str helper in lldbutil to handle eStopReasonThreadExited. - Add sort_stopped_threads helper to lldbutil to separate thread lists based on stop reason. Logged llvm.org/pr16566 and llvm.org/pr16567 for bugs exposed. llvm-svn: 185889
* Skip tests that hang on FreeBSDEd Maste2013-06-251-0/+5
| | | | | | | There's still significant work to do in the FreeBSD port, so no point in a pr for these yet. llvm-svn: 184871
* Fix single whitespace before breakpoint filename in some tests due to r183932.Matt Kopec2013-06-178-16/+16
| | | | llvm-svn: 184104
* Revert r183281, adds a comment about how to reproduce the hang.Ashok Thirumurthi2013-06-071-0/+1
| | | | llvm-svn: 183569
* Add test cases for attaching to a process after forkDaniel Malea2013-06-053-0/+188
| | | | | | | | | - one test case is due to llvm.org/pr16229 - other test case uses a Linux workaround for above by using os.fork() instead of subprocess module Patch by Andy Kaylor! llvm-svn: 183340
* Re-enabling a test that is no longer failingAndrew Kaylor2013-06-041-1/+0
| | | | llvm-svn: 183281
* Improve TestExitDuringStep to verify thread behaviour during step-over, ↵Daniel Malea2013-05-301-4/+50
| | | | | | | | step-in in addition to step-inst Patch by Brian Minard! llvm-svn: 182961
* Remove extraneous files from test directory.Matt Kopec2013-05-303-117/+0
| | | | llvm-svn: 182943
* Fixing problems with thread create during step test.Andrew Kaylor2013-05-291-8/+6
| | | | llvm-svn: 182888
* Adding support for stopping all threads of multithreaded inferiors on Linux. ↵Andrew Kaylor2013-05-2823-14/+1438
| | | | | | Also adding multithreaded test cases. llvm-svn: 182809
* Clean up linux test decorators and add links to known bugsDaniel Malea2013-05-151-4/+4
| | | | | | | | | - s/skipOnLinux/skipIfLinux/ to match style of every other decorator - linkify bugizilla/PR numbers in comments No intended change in functionality. llvm-svn: 181913
* Adding support for setting thread stop state when a process stops.Andrew Kaylor2013-05-101-2/+0
| | | | | | This re-submission of this patch fixes a problem where the code sometimes caused a deadlock. The Process::SetPrivateState method was locking the Process::m_private_state variable and then later calling ThreadList::DidStop, which locks the ThreadList mutex. Other methods in ThreadList which were being called from other threads lock the ThreadList mutex and then call Process::GetPrivateState which locks the Process::m_private_state mutex. To avoid deadlocks, Process::SetPrivateState now locks the ThreadList mutex before locking the Process::m_private_state mutex. llvm-svn: 181609
* Revert r181482 as it causes occasional hangs in LLDB buildbotsDaniel Malea2013-05-091-0/+2
| | | | llvm-svn: 181526
* Adding code to set thread state to stopped when the process stops.Andrew Kaylor2013-05-081-2/+0
| | | | llvm-svn: 181482
* Refactoring thread state tests to show individual failuresAndrew Kaylor2013-04-302-8/+265
| | | | llvm-svn: 180828
* Removing invalid test cases from thread state testAndrew Kaylor2013-04-261-14/+0
| | | | llvm-svn: 180613
* Fix missing module name in expectedFailure callsDaniel Malea2013-04-231-2/+2
| | | | llvm-svn: 180158
* Adding basic test for thread state (See PR-15824)Andrew Kaylor2013-04-233-0/+186
| | | | llvm-svn: 180149
* Update test scripts and Makefiles to allow testing with GCC:Daniel Malea2013-01-251-1/+1
| | | | | | | | | | | - introduce new variable ARCHFLAG in make/Makefile.rules to switch between "-arch" on Mac and "-m" everywhere else - update testcase makefiles to use LD_EXTRAS instead of LDFLAGS (the former interacts with Makefile.rules badly) - special treatment for gcc 4.6: replace "-std=c++11" with "-std=c++0x" as the former is not handled correctly - remove hardcoded "-arch" from test Makefile This patch should not have any effect on lldb on Mac OS X. llvm-svn: 173402
* Add test to check the number of threads.Matt Kopec2013-01-083-0/+129
llvm-svn: 171869
OpenPOWER on IntegriCloud