summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities
Commit message (Collapse)AuthorAgeFilesLines
...
* Disable test on Mac OS X due to llvm.org/pr16769Daniel Malea2013-08-011-0/+3
| | | | llvm-svn: 187603
* Updates TestLongjump to ensure that compiler optimizations don't affect theAshok Thirumurthi2013-08-012-2/+7
| | | | | | | | | | | mapping of source to assembly so that the same test script can be used with more compilers. Patch by Andy Kaylor! Also marks the LLDB test of template parameters as xfail on icc. llvm-svn: 187600
* Mark additional ICC failing tests as expected fail.Matt Kopec2013-07-314-0/+5
| | | | llvm-svn: 187507
* Update break conditions test to have consistent behaviour on all test suite ↵Matt Kopec2013-07-311-1/+1
| | | | | | | | compilers. Also update comment in const variables test to reflect ICC status. llvm-svn: 187501
* Set an extra debug flag when testing with ICC so that it generates the ↵Matt Kopec2013-07-313-0/+12
| | | | | | correct debug info for inlined tests. llvm-svn: 187500
* Assorted test suite fixes as a result of GCC 4.8 validation effortsDaniel Malea2013-07-302-0/+23
| | | | | | | | | | | | - disable some TestConcurrentEvents cases (which are affected by llvm.org/pr16714 -- watchpoints in multithreaded programs) - relax number-of-bp-locations check in TestUniqueTypes/TestUnsignedTypes - skip TestDataFormatterStdVector cases with GCC 4.8 (known failure due to llvm.org/pr15301) - workaround for race condition in TestHelloWorld.py - update TestSettings.py to work on distros (like Fedora) that have /bin/cat hardlinked to /usr/bin/cat After these changes, the test suite should run cleanly against GCC 4.8 (with DWARF v4)! llvm-svn: 187451
* tests: process connect needs "-p gdb-remote" on FreeBSD as on LinuxEd Maste2013-07-301-1/+1
| | | | llvm-svn: 187418
* tests: Mark expected FreeBSD failures due to pr14424Ed Maste2013-07-301-0/+5
| | | | | | | These tests fail on FreeBSD due to missing build support, the same reason they fail on Linux. llvm-svn: 187416
* tests: Mark expected FreeBSD failures due to pr16697Ed Maste2013-07-301-0/+1
| | | | llvm-svn: 187415
* Fix TestConcurrentEvents to behave nicely with GCC 4.8Daniel Malea2013-07-291-1/+9
| | | | | | | - newer gcc generates additional debuginfo for function exit (stack object desctruction) which was causing tests to fail - work-around consists of not declaring any stack objects in main() llvm-svn: 187389
* tests: Mark expected FreeBSD failures due to pr16699Ed Maste2013-07-252-0/+2
| | | | | | | | FreeBSD's Host class doesn't yet return a list of running processes, so 'platform process list' fails and attach by process name does not work. llvm-svn: 187142
* tests: Mark expected FreeBSD failures due to pr16706Ed Maste2013-07-2510-0/+32
| | | | | | Watchpoints are not yet working on FreeBSD llvm-svn: 187134
* 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
* Skip dead-strip test also on FreeBSDEd Maste2013-07-251-0/+1
| | | | | | -dead_strip isn't supported by FreeBSD's ld. llvm-svn: 187129
* 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-242-11/+12
| | | | | | assembly to DWARF. llvm-svn: 187035
* Skip test reported to hang the FreeBSD buildbotEd Maste2013-07-231-0/+1
| | | | llvm-svn: 186979
* Adds a test for "disassemble -a" after an assert, which can fail with ELFAshok Thirumurthi2013-07-231-0/+34
| | | | | | because a synthetic symbol hasn't been provided for stripped function symbols. llvm-svn: 186959
* Reworked the test decorators to match the test results on the buildbots.Ashok Thirumurthi2013-07-192-2/+2
| | | | llvm-svn: 186717
* Updated the test suite to fix xpasses on the gcc buildbot primarily due to ↵Ashok Thirumurthi2013-07-193-3/+4
| | | | | | | | r186347 (thanks Greg!). Your mileage may vary depending on the gcc and stl versions in use (see llvm.org/pr15301). llvm-svn: 186706
* Fix the partial backtrace when using a combination of stripped function symbolsAshok Thirumurthi2013-07-181-6/+0
| | | | | | | | | | | | | | and -fomit-frame-pointer. - Parses eh_frame FDEs to determine the function address and size so that the call frame parsing can continue. Note: This code path is specific to ELF and PECOFF, because ObjectFileMachO uses LCT_FunctionStarts to efficiently populate the symbol table. Thanks to Jason Molenda for the review! llvm-svn: 186585
* 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
* Adds a passing test for step-over and step-out when the inferior is about to ↵Ashok Thirumurthi2013-07-153-0/+106
| | | | | | call longjmp (non-local goto) in a single-threaded inferior. llvm-svn: 186325
* 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-112-48/+2
| | | | | | | | | | | | | 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
* Second attempt at getting the PyCallable changes in trunkEnrico Granata2013-07-091-5/+2
| | | | | | Thanks to Daniel Malea for helping test this patch for Linux happiness! llvm-svn: 185965
* 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
* Change TestRegisters.py attach case to attach to a.out and enable that test caseAndrew Kaylor2013-07-092-4/+13
| | | | llvm-svn: 185947
* Add TestConcurrentEvents test for LLDB's handling of inferior threadsDaniel Malea2013-07-094-0/+693
| | | | | | | | | | | | | | - 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
* Remove @expectedFailureGcc from TestInlineStepping as function prologue bug ↵Daniel Malea2013-07-031-6/+0
| | | | | | is not reproducible anymore. llvm-svn: 185579
* Skip Test-rdar-9974002 with Clang 3.4 (due to llvm.org/pr16214)Daniel Malea2013-07-031-0/+3
| | | | | | - should resolve remaining failures on clang buildbot llvm-svn: 185576
* Add missing -std=c99 flag to appease GCC 4.6Daniel Malea2013-07-031-0/+1
| | | | | | - this issue was detected on recent GCC buildbot runs llvm-svn: 185571
* Revert commits that cause broken builds on GCC buildbotsDaniel Malea2013-07-031-2/+5
| | | | | | | | - build fails due to PyCallable template definition inside an extern "C" scope This commit reverts 185240, 184893 and 184608. llvm-svn: 185560
* <rdar://problem/14266411>Enrico Granata2013-06-251-5/+2
| | | | | | | | | | | | The semi-unofficial way of returning a status from a Python command was to return a string (e.g. return "no such variable was found") that LLDB would pick as a clue of an error having happened This checkin changes that: - SBCommandReturnObject now exports a SetError() call, which can take an SBError or a plain C-string - script commands now drop any return value and expect the SBCommandReturnObject ("return object") to be filled in appropriately - if you do nothing, a success will be assumed If your commands were relying on returning a value and having LLDB pick that up as an error, please change your commands to SetError() through the return object or expect changes in behavior llvm-svn: 184893
* Fix undefined behaviour in data formatter test -- ensure char* null-terminatedDaniel Malea2013-06-251-3/+6
| | | | | | so LLDB does not read off the end of the array. llvm-svn: 184877
* 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
* make command history test case run silently regardless of import status of ↵Enrico Granata2013-06-221-2/+2
| | | | | | module foo llvm-svn: 184613
* Fixed a problem with materialization andSean Callanan2013-06-202-0/+17
| | | | | | | | | | dematerialization of registers that caused conditional breakpoint expressions not to work properly. Also added a testcase. <rdar://problem/14129252> llvm-svn: 184451
* <rdar://problem/14086503>Enrico Granata2013-06-192-27/+23
| | | | | | Hardening the libstdc++ std::map test case against line table changes llvm-svn: 184265
* <rdar://problem/14086503>Enrico Granata2013-06-192-20/+17
| | | | | | Hardening the libstdc++ std::vector test case against line table changes llvm-svn: 184264
* Adding a "cmdline" category to the test suiteEnrico Granata2013-06-188-0/+8
| | | | llvm-svn: 184155
* Renaming the "--wipe" option to "command history" to "--clear" (-C) for ↵Enrico Granata2013-06-171-1/+1
| | | | | | coherence with the rest of the LLDB command-line interface llvm-svn: 184147
* <rdar://problem/14134716>Enrico Granata2013-06-171-0/+72
| | | | | | | | | | | | This is a rewrite of the command history facility of LLDB It takes the history management out of the CommandInterpreter into its own CommandHistory class It reimplements the command history command to allow more combinations of options to work correctly (e.g. com hist -c 1 -s 5) It adds a new --wipe (-w) option to command history to allow clearing the history on demand It extends the lldbtest runCmd: and expect: methods to allow adding commands to history if need be It adds a test case for the reimplemented facility llvm-svn: 184140
* Fix breakpoint test to account for full path of source file location.Matt Kopec2013-06-171-6/+6
| | | | llvm-svn: 184126
* Fix single whitespace before breakpoint filename in some tests due to r183932.Matt Kopec2013-06-1712-26/+26
| | | | llvm-svn: 184104
* Update TestRegisters for running on Linux (filed llvm.org/pr16301)Daniel Malea2013-06-121-3/+10
| | | | | | | - skip the attach cases in TestRegisters.py -- caused slowness/sigabrt - fixed log file removal function (in case test is run with -# flag) llvm-svn: 183812
OpenPOWER on IntegriCloud