summaryrefslogtreecommitdiffstats
path: root/lldb/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Teach the lldbinline test cases to run in DWO modeEnrico Granata2015-10-191-0/+7
| | | | llvm-svn: 250734
* Split getting the key from a window from the code that handles the key.Greg Clayton2015-10-161-12/+17
| | | | llvm-svn: 250580
* Skip hanging watchpoint test on Windows (rather than just xfailing).Adrian McCarthy2015-10-161-1/+1
| | | | llvm-svn: 250576
* More general fixes to the tree view and BoxedPanel.Greg Clayton2015-10-161-33/+152
| | | | llvm-svn: 250478
* Factor the execution of the test method into a separate function to ensure ↵Adrian McCarthy2015-10-152-26/+43
| | | | | | | | that any exceptions that are thrown go out of scope and no longer hold references to SB objects that need to be freed before teardown. Differential Revision: http://reviews.llvm.org/D13788 llvm-svn: 250467
* Fixup previous commit.Todd Fiala2015-10-151-3/+2
| | | | | | Looks like I blasted something into my editor... llvm-svn: 250454
* Modify pylint/flake8 path helper to add lldb python module to path.Todd Fiala2015-10-151-0/+69
| | | | | | | | | | | | It was adding all the test infrastructure paths properly, but it was not adding the lldb module. The current approach only adds the lldb from the path. That can be improved (in the comments) to add the one from the related build directory if it can be ascertained. With this change, lldb tests can be run through pylint/flake8 and have the lldb module found and used as part of the checks. llvm-svn: 250453
* In r240466, when Greg added the jThreadsInfo packet, he accidentallyJason Molenda2015-10-152-1/+80
| | | | | | | | | | | | | | disabled the use of the jThreadGetExtendedInfo packet which is used to retrieve additional information about a thread, such as the QoS setting for that thread on darwin systems. Re-enable the use of the jThreadGetExtendedInfo packet, and add some quick tests to the TestQueues mac test case which will verify that we can retrieve the QoS names for these test threads. <rdar://problem/22925096> llvm-svn: 250364
* Fix the ability to quit and use a custom exception. Also print tree items ↵Greg Clayton2015-10-151-11/+49
| | | | | | out so they are more aligned. llvm-svn: 250353
* Add a data formatter for __NSArray0, the type of empty arraysEnrico Granata2015-10-141-0/+2
| | | | llvm-svn: 250341
* lldb-server: add support for binary memory readsPavel Labath2015-10-141-0/+45
| | | | | | | | | | | | | | | | | Summary: This commit adds support for binary memory reads ($x) to lldb-server. It also removes the "0x" prefix from the $x client packet, to make it more compatible with the old $m packet. This allows us to use almost the same code for handling both packet types. I have verified that debugserver correctly handles $x packets even without the leading "0x". I have added a test which verifies that the stub returns the same memory contents for both kinds of memory reads ($x and $m). Reviewers: tberghammer, jasonmolenda Subscribers: iancottrell, lldb-commits Differential Revision: http://reviews.llvm.org/D13695 llvm-svn: 250295
* Mark TestBatchMode as flaky on linuxPavel Labath2015-10-141-0/+1
| | | | llvm-svn: 250280
* ArchSpec: fix unintentional promotion of unspecified unknowns to specified ↵Todd Fiala2015-10-131-7/+7
| | | | | | | | | | | | | | | | | | | | | unknowns * ArchSpec::MergeFrom() would erroneously promote an unspecified unknown to a specified unknown when both the ArchSpec and the merged in ArchSpec were both unspecified unknowns. This no longer happens, which fixes issues with global module cache lookup in some situations. * Added ArchSpec::DumpTriple(Stream&) that now properly prints unspecified unknowns as '*' and specified unknows as 'unknown'. This makes it trivial to tell the difference between the two. Converted printing code over ot using DumpTriple() rather than building from scratch. * Fixed up a couple places that were not guaranteeing that an unspecified unknown was recorded as such. llvm-svn: 250253
* Added tree panels.Greg Clayton2015-10-131-15/+281
| | | | llvm-svn: 250248
* Xfail a watchpoint test on Windows, until Windows implements watchpoints.Adrian McCarthy2015-10-131-0/+1
| | | | llvm-svn: 250189
* Fix TestTargetAPI.py test for users who use Swig 3.0.5 or greater.Adrian McCarthy2015-10-131-0/+3
| | | | | DifferentialRevision: http://reviews.llvm.org/D13679 llvm-svn: 250188
* Fix test for change in a summary string (objects -> elements).Jim Ingham2015-10-121-6/+6
| | | | llvm-svn: 250081
* TestAttachResume is still flaky on linux. mark it as suchPavel Labath2015-10-121-0/+1
| | | | llvm-svn: 250069
* Switch threading mode for tests on Windows when there are lots of cores.Adrian McCarthy2015-10-121-4/+7
| | | | | | | | This prevents a "too many files" error. Differential Revision: http://reviews.llvm.org/D13555 llvm-svn: 250044
* dotest.py: Remove useless AttributeError catchesPavel Labath2015-10-121-45/+18
| | | | | | | | | | | | | | | Summary: Test decorators were ignoring AttributeError exceptions. These were introduced three years ago, and copied to all decorators. They seem to serve no purpose and removing them produces no errors. Given that they have prevented us from noticing the problem in r249819, I am removing them. Reviewers: zturner, tfiala Subscribers: iancottrell, lldb-commits Differential Revision: http://reviews.llvm.org/D13583 llvm-svn: 250038
* Improve TestValueOfVectorVariableTamas Berghammer2015-10-121-10/+3
| | | | | | | * XFAIL it for android arm/aarch64 as watchpoints aren't supported there * Remove the dwarf/dsym test separation as they will be generated automatically llvm-svn: 250024
* X86: Change FTAG register size in FXSAVE structureAbhishek Aggarwal2015-10-122-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: - Changed from 16 bits to 8 bits for Intel Architecture -- FXSAVE structure now conforms with the layout of FXSAVE area specified by IA Architecture Software Developer Manual - Modified Linux and FreeBSD specific files to support this change -- MacOSX already uses 8 bits for ftag register - Modified TestRegisters.py and a.cpp: -- Change allows 8 bit comparison of ftag values -- Change resolves Bug 24733: Removed XFAIL for Clang as the test works and passes for Clang compiler as well -- Change provides a Generic/Better way of testing Bug 24457 and Bug 25050 by using 'int3' inline assembly in inferior Signed-off-by: Abhishek Aggarwal <abhishek.a.aggarwal@intel.com> Reviewers: ovyalov, jingham, clayborg Subscribers: tfiala, emaste Differential Revision: http://reviews.llvm.org/D13587 llvm-svn: 250022
* [TestValueOfVectorVariable] Reduce the vector size to 4.Siva Chandra2015-10-092-4/+6
| | | | | | | | | | | | Summary: On x86, we only have 4 watchpoint registers. Reviewers: mohit.bhakkad Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13608 llvm-svn: 249916
* Correction in rL249838: Moving test to appropriate directoryMohit K. Bhakkad2015-10-093-0/+75
| | | | llvm-svn: 249897
* dotest.py: Fail if we detect multiple tests with the same namePavel Labath2015-10-091-0/+9
| | | | | | | | | | | | | | | | Summary: Log files produced by dotest have names derived from the test name, and this produces errors in case we have multiple tests with the same name. Additionally, it's good if the test name explains what the test is testing (which it clearly doesn't do well if there are multiple tests with identical names). This commit makes the presence of such tests a hard error. Reviewers: tberghammer, zturner Subscribers: iancottrell, lldb-commits Differential Revision: http://reviews.llvm.org/D13588 llvm-svn: 249828
* Fix the way dwo tests are skipped on darwinTamas Berghammer2015-10-091-6/+7
| | | | | | | | We want to skip these tests when the target platform is darwin, not when the host because they have to be enabled in case of darwin -> android llvm-svn: 249825
* Rename one of the TestGoASTContextsPavel Labath2015-10-091-0/+0
| | | | llvm-svn: 249823
* Fix regression caused by r249769Tamas Berghammer2015-10-091-2/+2
| | | | | | | | * Change TestSettings to test qith go instead of pascal as ToT pascal support isn't complete * Fix crash inside PluginManager llvm-svn: 249821
* Fix disabling of dwo testsPavel Labath2015-10-091-0/+1
| | | | | | without this, dwo tests would be run even if they were meant to be disabled. llvm-svn: 249819
* Testcase and fix for bug 24074Ravitheja Addepally2015-10-083-0/+96
| | | | | | | | | | | | | | | | | | | | Summary: In bug 24074, the type information is not shown correctly. This commit includes the following - -> Changes for displaying correct type based on current lexical scope for the command "image lookup -t" -> The corresponding testcase. -> This patch was reverted due to segfaults in FreeBSD and Mac, I fixed the problems for both now. Reviewers: emaste, granata.enrico, jingham, clayborg Differential Revision: http://reviews.llvm.org/D13290 llvm-svn: 249673
* Expected fail this test and supplied the radar number that is tracking the fix.Greg Clayton2015-10-071-1/+2
| | | | llvm-svn: 249631
* [DWARFASTParserClang] Strengthen incomplete type handling.Siva Chandra2015-10-078-0/+102
| | | | | | | | | | | | Summary: This change fixes pr24916. As associated test has been added. Reviewers: clayborg Subscribers: zturner, lldb-commits Differential Revision: http://reviews.llvm.org/D13224 llvm-svn: 249629
* Don't do DWO tests on darwin as they aren't supported. If this is an error ↵Greg Clayton2015-10-071-1/+1
| | | | | | and they are supported, we need to add support _only_ if the clang compiler that is being used supports the compiler option for DWO stuff as right now I just get an error saying "warning: unused option -gsplit-dwarf". So unless we can successfully test if "-gsplit-dwarf" is truly supported, I am going to disable it on darwin for now so we don't get test suite failures. llvm-svn: 249625
* This test is useless. It doesn't work and it fails on MacOSX. Removing it.Greg Clayton2015-10-072-78/+0
| | | | llvm-svn: 249613
* Another stripped test that requires darwin and a dSYM (no Dwarf or DWO).Greg Clayton2015-10-071-0/+2
| | | | llvm-svn: 249605
* More fixes for binaries that we strip. When we strip a binary we can't do ↵Greg Clayton2015-10-071-0/+4
| | | | | | Dwarf or DWO. llvm-svn: 249604
* Fix a test that should only be run with a dSYM file by adding @skipIfDwarf ↵Greg Clayton2015-10-072-0/+5
| | | | | | and using a new @skipIfDWO. llvm-svn: 249601
* Fixed up some first responder issues and added menubar support that isn't in ↵Greg Clayton2015-10-072-46/+262
| | | | | | use yet. llvm-svn: 249600
* [lldb-mi] Fix evaluation of strings containing characters from non-ascii rangeDawn Perchik2015-10-073-38/+82
| | | | | | | | | | | | | | | | If a string contained characters outside the ASCII range, lldb-mi would print them as hexadecimal codes. This patch fixes this behaviour by converting to UTF-8 instead, by having lldb-mi use registered type summary providers, when they are available. This patch also fixes incorrect evaluation of some composite types, like std::string, by having them use a type registered type summary provider. Based on patch from evgeny.leviant@gmail.com Reviewed by: ki.stfu, granata.enrico, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13058 llvm-svn: 249597
* This is the work I was building up to with my patches yesterdayEnrico Granata2015-10-077-36/+36
| | | | | | | | | Introduce the notion of Language-based formatter prefix/suffix This is meant for languages that share certain data types but present them in syntatically different ways, such that LLDB can now have language-based awareness of which of the syntax variations it has to present to the user when formatting those values This is goodness for new languages and interoperability, but is NFC for existing languages. As such, existing tests cover this llvm-svn: 249587
* Add expectedFailureFreeBSD for Go runtime testEd Maste2015-10-071-0/+1
| | | | | | | | AssertionError: False is not True : No thread stopped at our breakpoint. llvm.org/pr24895 llvm-svn: 249561
* Resumbit "Fix race condition during process detach"Pavel Labath2015-10-071-1/+0
| | | | | | | This is a resubmission of r248371. It also incorporates the process event hijack patch by Kyrill Lapshin in D12968. llvm-svn: 249554
* Fix race condition in the working directory cleanup codeTamas Berghammer2015-10-071-4/+9
| | | | llvm-svn: 249549
* Remove working directory from remote platform in the test suiteTamas Berghammer2015-10-071-0/+7
| | | | | | | | | Previously we haven't cleaned up the working directory we created on the remote platform and because of it we run out of storage on some android device/emulator (caused by the 2x increase of the number of test cases because of dwo). llvm-svn: 249541
* XFAIL new dwo test failing with totclang on linux i386Tamas Berghammer2015-10-071-0/+1
| | | | llvm-svn: 249539
* Run tests with dwo symbol filesTamas Berghammer2015-10-076-3/+65
| | | | | | | | | | dwo symbol files are generated when code compiled with the "-gsplit-dwarf" command option (https://gcc.gnu.org/wiki/DebugFission). This CL modifies the test system to run tests with inferiors compile with the "-gsplit-dwarf" Differential revision: http://reviews.llvm.org/D13300 llvm-svn: 249530
* Route the preferred-display-language mechanism to the ValueObjectPrinter and ↵Enrico Granata2015-10-071-2/+0
| | | | | | actually fill in a few gaps for dynamic and synthetic values to be able to adopt this in useful ways llvm-svn: 249507
* Modify minimumg go version to 1.4.0 for tests.Todd Fiala2015-10-061-6/+3
| | | | llvm-svn: 249477
* Add missing GoLanguageRuntime files.Ryan Brown2015-10-062-0/+117
| | | | llvm-svn: 249459
* Bungled my last change in a tweak.Todd Fiala2015-10-061-2/+1
| | | | | | | I took out a skip_test check that wasn't necessary, but didn't fully yank it out. Would break a normal go install. llvm-svn: 249448
OpenPOWER on IntegriCloud