summaryrefslogtreecommitdiffstats
path: root/lldb/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Mark TestMiBreak as falkey on LinuxTamas Berghammer2015-07-301-0/+1
| | | | llvm-svn: 243628
* [LLDB][MIPS] Added expected failure for "test disassembler settings"Mohit K. Bhakkad2015-07-302-2/+6
| | | | | | | | | | Patch by Nitesh Jain Reviewers: clayborg, ovyalov. Subscribers: jaydeep, bhushan, mohit.bhakkad, sagar, emaste, lldb-commits. Differential Revision: http://reviews.llvm.org/D11562 llvm-svn: 243622
* Clean up test/tools/lldb-mi/variable/main.cpp after r243619Ilia K2015-07-301-1/+1
| | | | llvm-svn: 243621
* Fix bug in expression display when determining if a pointer should be ↵Ilia K2015-07-302-0/+13
| | | | | | | | | | | | | | | | treated as a string Summary: Currently if the "first child" of the pointer is a char type then the pointer is displayed as a string. This test succeeds incorrectly when the pointer is to a structured type with a char type as its first field. Fix this by switching the test to retrieve the pointee type and checking that it is a char type. Reviewers: abidh, ChuckR, ki.stfu Subscribers: greggm, lldb-commits Differential Revision: http://reviews.llvm.org/D11488 llvm-svn: 243619
* Make DWARF at_comp_dir symbolic links configurable via ↵Oleksiy Vyalov2015-07-294-0/+92
| | | | | | | | plugin.symbol-file.dwarf.comp-dir-symlink-paths setting. http://reviews.llvm.org/D11586 llvm-svn: 243580
* [lldb-mi] Fix tests added in r243484 for breakpoints using file:func syntax.Dawn Perchik2015-07-291-22/+19
| | | | llvm-svn: 243510
* [lldb-mi] XFAIL new test added in r243484.Dawn Perchik2015-07-291-0/+1
| | | | llvm-svn: 243504
* Fix comment in TestExprOptions to match change of language from ObjC to ObjC++.Dawn Perchik2015-07-281-1/+1
| | | | llvm-svn: 243488
* [lldb-mi] Fix setting of breakpoints using file:func syntax.Dawn Perchik2015-07-281-1/+19
| | | | | | | | Reviewed by: ki.stfu Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11499 llvm-svn: 243484
* Fix a bug where the std::list synthetic child provider would not clean its ↵Enrico Granata2015-07-282-2/+26
| | | | | | | | cache correctly on update, causing stale children to be returned in some circumstances Fixes rdar://20560680 llvm-svn: 243472
* Support escapes and quotes in string and character values.Ilia K2015-07-282-29/+29
| | | | | | | | | | | | | | | Summary: Escape characters in strings and strings containing quotes were not appearing correctly in expression values. Patch from paulmay@microsoft.com Reviewers: abidh, ChuckR, paulmaybee Subscribers: greggm, lldb-commits Differential Revision: http://reviews.llvm.org/D11371 llvm-svn: 243383
* Fix test suite. For now we can't disable C++ for expressions since the ↵Greg Clayton2015-07-271-1/+1
| | | | | | return value is returned as a reference and this test fails on MacOSX. llvm-svn: 243342
* Only test ObjC expression options on Darwin.Chaoren Lin2015-07-271-44/+52
| | | | | | | | | | Reviewers: dawn, emaste, vharron, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11539 llvm-svn: 243329
* XFAIL test_with_dwarf_formatters_api on FreeBSDEd Maste2015-07-271-0/+1
| | | | | | llvm.org/pr24282 llvm-svn: 243309
* XFAIL TestExprOptions on FreeBSD.Ed Maste2015-07-271-0/+1
| | | | | | r243230 XFAILed it for Linux; it also fails on FreeBSD. llvm-svn: 243307
* [lldb-mi] Fix breakpoints on functions when C++ namespaces are used.Dawn Perchik2015-07-271-9/+13
| | | | | | | | | | | | | The command "-break-insert ns::foo" for function 'foo' in namespace 'ns' was being parsed as file:function. This patch fixes these cases by adding checks for '::'. (Note: '::func' is not parsed correctly by lldb due to llvm.org/pr24271). Reviewed by: ki.stfu Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11396 llvm-svn: 243281
* XFAIL TestExprOptions on Linux.Chaoren Lin2015-07-251-0/+1
| | | | llvm-svn: 243230
* Shorten the lldb timeout, we were seeing occasional failure becauseJim Ingham2015-07-251-1/+1
| | | | | | | | lldb didn't wake up before the target function got a chance to complete. <rdar://problem/21990308> llvm-svn: 243193
* Specify a language to use when parsing expressions.Dawn Perchik2015-07-254-0/+131
| | | | | | | | | | | | This patch adds the option -l/--language to the expression command, for use when setting the language options or choosing an alternate FE. If not specified, the target.language setting is used. Reviewed by: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11447 llvm-svn: 243187
* Add option eTypeOptionHideEmptyAggregates.Siva Chandra2015-07-245-2/+62
| | | | | | | | | | | | | | | | | | Summary: For certain data structures, when the synthetic child provider returns zero children, a summary like "Empty instance of <typename>" could be more appropriate than something like "size=0 {}". This new option helps hide the trailing "{}". This is also exposed with a -h option for the command "type summary add". Reviewers: granata.enrico Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11473 llvm-svn: 243166
* Improve C++ function name handling and step-in avoid regerxp handlingTamas Berghammer2015-07-243-3/+66
| | | | | | | | | | | | | | | | | | | If the function is a template then the return type is part of the function name. This CL fixes the parsing of these function names in the case when the return type contains ':'. The name of free functions in C++ don't have context part. Fix the logic geting the function name without arguments out from a full function name to handle this case. Change the handling of step-in-avoid-regexp to match the value against the function name without it's arguments and return value. This is required because the default regex ("^std::") would match any template function returning an std object. Fifferential revision: http://reviews.llvm.org/D11461 llvm-svn: 243099
* Remove XFAIL from ReturnValueTestCase after rL242972Tamas Berghammer2015-07-231-1/+0
| | | | llvm-svn: 243000
* Fix comment in test.Dawn Perchik2015-07-231-1/+1
| | | | llvm-svn: 242979
* Xtimeout TestProcessAttach for Linux.Chaoren Lin2015-07-221-0/+1
| | | | llvm-svn: 242932
* XFAIL TestReturnValue on Linux-x86_64 with clangTamas Berghammer2015-07-221-0/+1
| | | | | | The coverage of the test got increased and it fails because of it. llvm-svn: 242910
* Improve SysV ABI for ARM to handle return values with vector return typeTamas Berghammer2015-07-222-15/+51
| | | | | | | | | | | This is required to print out the rerun value of funcions returning types with the following attributes: __attribute__((__vector_size__(8))); __attribute__((ext_vector_type(2))); Differential revision: http://reviews.llvm.org/D11416 llvm-svn: 242903
* [asan] Display ASan history threads in reverse chronological orderKuba Brecka2015-07-221-3/+3
| | | | | | | | For use-after-free bugs caught by ASan, we show an allocation and a deallocation stack trace. Let's display them in a "most recent event first" order, this patch does that. Differential Revision: http://reviews.llvm.org/D11295 llvm-svn: 242902
* [lldb-mi tests] Fix typo of sensitive.Bruce Mitchener2015-07-221-4/+4
| | | | llvm-svn: 242900
* XFAIL watchpoint tests on Android arm/aarch64Tamas Berghammer2015-07-2217-7/+33
| | | | | | Differential revision: http://reviews.llvm.org/D11409 llvm-svn: 242887
* Xfail test_dyld_library_path for Android.Chaoren Lin2015-07-221-0/+1
| | | | | | | | Originally, the source for the hidden lib_d and the regular lib_d were the same file, so we always got the "correct" source for each. Splitting them up in D11367 exposed a bug of showing the incorrect source file for the hidden lib_d. llvm-svn: 242862
* Fix typos.Bruce Mitchener2015-07-223-3/+3
| | | | | | | | | | | | Summary: Fix a bunch of typos. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11386 llvm-svn: 242856
* Add support for specifying a language to use when parsing breakpoints.Dawn Perchik2015-07-217-9/+80
| | | | | | | | | | | | | | | | | | | | Target and breakpoints options were added: breakpoint set --language lang --name func settings set target.language pascal These specify the Language to use when interpreting the breakpoint's expression (note: currently only implemented for breakpoints on identifiers). If the breakpoint language is not set, the target.language setting is used. This support is required by Pascal, for example, to set breakpoint at 'ns.foo' for function 'foo' in namespace 'ns'. Tests on the language were also added to Module::PrepareForFunctionNameLookup for efficiency. Reviewed by: clayborg Subscribers: jingham, lldb-commits Differential Revision: http://reviews.llvm.org/D11119 llvm-svn: 242844
* Xfail TestGdbRemoteAbort for Android API <= 16.Chaoren Lin2015-07-211-1/+2
| | | | | | | | | | Reviewers: sivachandra Subscribers: tberghammer, danalbert, srhines, lldb-commits Differential Revision: http://reviews.llvm.org/D11378 llvm-svn: 242815
* Update TestLoadUnload to use base Makefile.Chaoren Lin2015-07-2110-82/+91
| | | | | | | | | | | | | | | | Summary: The current Makefile scheme only allows one dylib to be specified in each make invocation, so TestLoadUnload had a custom Makefile that's unrelated to the base Makefile.rules. This change uses recursive make invocations to bypass the single dylib restriction. See D11202 for more context. Reviewers: clayborg Subscribers: chaoren, lldb-commits Differential Revision: http://reviews.llvm.org/D11367 llvm-svn: 242813
* Enable timeout on WindowsYing Chen2015-07-201-7/+6
| | | | | | | | | | | | Summary: - launch dotest with gtimeout if found on Windows Reviewers: chaoren Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11368 llvm-svn: 242699
* Eliminated a potential infinite recursion in structure layout when the originSean Callanan2015-07-201-0/+43
| | | | | | | | | | | for a CXXRecordDecl gets pointed at that record. This can happen when a type is imported out of and then into the target's AST context without being laid out. Also added a testcase that covers this scenario. <rdar://problem/21844453> llvm-svn: 242687
* Apply Android -pie switch to buildDefault as well.Chaoren Lin2015-07-181-5/+11
| | | | | | | | | | Reviewers: ovyalov Subscribers: tberghammer, danalbert, srhines, lldb-commits Differential Revision: http://reviews.llvm.org/D11317 llvm-svn: 242598
* Detect if necessary to build inferior with -pie for Android.Chaoren Lin2015-07-172-20/+34
| | | | | | | | | | | | | | | Summary: - Add target_is_android check (with cached results). - Make android_device_api also cache results. - Also removes the need to pass --env OS=Android when testing against Android. Reviewers: sivachandra, tberghammer, clayborg, danalbert Subscribers: chaoren, tberghammer, danalbert, srhines, lldb-commits Differential Revision: http://reviews.llvm.org/D11309 llvm-svn: 242580
* Check if altsep exists before replace.Chaoren Lin2015-07-171-1/+2
| | | | llvm-svn: 242576
* Handle altsep ('/' on Windows) in compiler path for log files.Chaoren Lin2015-07-171-0/+1
| | | | | | | | | | Reviewers: chying Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11312 llvm-svn: 242575
* Make this test case be somewhat less verbose when not asked toEnrico Granata2015-07-171-5/+6
| | | | llvm-svn: 242573
* Teach the "extend char types" (char16_t, char32_t and wchar_t) formatters ↵Enrico Granata2015-07-174-0/+12
| | | | | | that a *single character* whose value is 0 is actually a valid thing to print out llvm-svn: 242572
* Teach the NSString data formatter to handle embedded NULs in short ASCII stringsEnrico Granata2015-07-172-0/+26
| | | | llvm-svn: 242559
* Improve the NSString data formatter so that explicitly-lengthed Unicode ↵Enrico Granata2015-07-172-0/+11
| | | | | | strings print embedded NULs correctly llvm-svn: 242555
* Split the portion of the data-formatter-objc test case that deals with ↵Enrico Granata2015-07-174-85/+203
| | | | | | NSString into its own separate test case llvm-svn: 242552
* Improve conditional opcode handling in emulation based unwindingTamas Berghammer2015-07-171-1/+0
| | | | | | | | | | Don't chane the CFI information when a conditional instruction is emulated (eg.: popeq {r0, pc}) because the CFI for the next instruction should be the same as the CFI for the current instruction. Differential revision: http://reviews.llvm.org/D11258 llvm-svn: 242519
* Teach the std::wstring data formatter how to properly display strings with ↵Enrico Granata2015-07-172-2/+5
| | | | | | embedded NUL bytes llvm-svn: 242501
* Add StringPrinter support for printing a std::string with embedded NUL bytesEnrico Granata2015-07-172-2/+5
| | | | llvm-svn: 242496
* Xfail pexpect tests for Windows hosts.Chaoren Lin2015-07-162-2/+2
| | | | llvm-svn: 242457
* Add jThreadsInfo support to lldb-serverPavel Labath2015-07-161-1/+1
| | | | | | | | | | | | | | | Summary: This commit adds initial support for the jThreadsInfo packet to lldb-server. The current implementation does not expedite inferior memory. I have also added a description of the new packet to our protocol documentation (mostly taken from Greg's earlier commit message). Reviewers: clayborg, ovyalov, tberghammer Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11187 llvm-svn: 242402
OpenPOWER on IntegriCloud