- May 15, 2013
-
-
Daniel Malea authored
- s/skipOnLinux/skipIfLinux/ to match style of every other decorator - linkify bugizilla/PR numbers in comments No intended change in functionality. llvm-svn: 181913
-
- May 09, 2013
-
-
Ashok Thirumurthi authored
Skipping a test that asserts with gcc and icc to allow the test suite to run to completion on the gcc buildbot. llvm-svn: 181512
-
- May 03, 2013
-
-
Greg Clayton authored
Mark TestConstVariables as expected to fail due to radar 13314878 on darwin. The tests are already skipped on linux. llvm-svn: 180965
-
- Apr 27, 2013
-
-
Sean Callanan authored
access to 'z' where 'z' was not in scope. llvm-svn: 180662
-
- Apr 24, 2013
-
-
Sean Callanan authored
<rdar://problem/12977827> llvm-svn: 180215
-
- Apr 19, 2013
-
-
Ashok Thirumurthi authored
- New tests can fail on OS/X and Linux, and illustrate that the compiler used to generate the DWARF can result in lldb providing clang with an external AST source that doesn't describe all required struct fields. - Also includes test coverage for expressions with structs that do work on Linux- Also includes a test for dereferencing a null pointer to a struct, which works on OS/X rather than complaining, and complains on Linux with an upstream error that is really a side issue. Thanks to Samuel, Andy and Daniel for their input. llvm-svn: 179884
-
- Mar 28, 2013
-
-
Enrico Granata authored
llvm-svn: 178295
-
- Mar 15, 2013
-
-
Matt Kopec authored
-adds icc to the lit of compilers to run the tests -adds icc test decorators -skip TestAnonymous.py for icc Patch by Ashok Thirumurthi. llvm-svn: 177174
-
- Mar 06, 2013
-
-
Andrew Kaylor authored
The test was marked as expectedFailureLinux, but now it passes with gcc and some versions of clang. Newer versions of clang introduce a failure due to bad DWARF information. llvm-svn: 176581
-
Greg Clayton authored
Fixed enum printing for negative enums. There previously was no testing to validate that enum values were being displayed correctly. Also added C++11 enum test cases to cover enums as int8_t, int16_t int32_t, int64_t, uint8_t, uint16_t, uint32_t, and uint64_t both for DWARF and dSYM cases. The DWARF being emitted by clang is missing the enum integer type, but the code is now ready to accept and deal with the integral type if it is supplied. llvm-svn: 176548
-
- Mar 05, 2013
-
-
Daniel Malea authored
patch by Ashok Thirumurthi! llvm-svn: 176462
-
- Feb 28, 2013
-
-
Greg Clayton authored
llvm-svn: 176283
-
- Feb 27, 2013
-
-
Matt Kopec authored
llvm-svn: 176206
-
- Feb 26, 2013
-
-
Jim Ingham authored
Remove the getCategory from TestDataFormatterObjC.py, since it was superceded by the .categories file, and didn't work anyway (getCategories currently has to be a method on the test class, not on the test.) Add a "basic_process" category, and start to find some tests for simple process running sniff tests. llvm-svn: 176061
-
- Feb 22, 2013
-
-
Daniel Malea authored
llvm-svn: 175917
-
- Feb 20, 2013
-
-
Daniel Malea authored
Turns out unnamed bit fields should not be accessed ever in C (C99 section 4.7.8) or C++ (C++11 section 9.6). Unrelated to the above, this commit marks TestBitfields as expected-to-fail with GCC as 4.7 has problems with padding... the size of the struct with a uint32_t member is reported as 12 when GCC is used. Clang emits correct code. Parts of this patch prepared by Filipe Cabecinhas! llvm-svn: 175666
-
Daniel Malea authored
- make the test case step past the location where 'index' is initialized, otherwise its value cannot be printed (verified gcc 4.6/4.7 and recent clang) - "Couldn't materialize struct" error from LLDB still prevents this test case from passing llvm-svn: 175653
-
- Feb 15, 2013
-
-
Daniel Malea authored
- remove expectedFailure decorator from resolved rdar 12566646 and 10887661 - remove expectedFailure from TestBitfields testcase not actually affected by bug - skip the (non-deterministic) TestStopHookMechanism.py to avoid a noisy suite on Linux llvm-svn: 175307
-
- Feb 14, 2013
-
-
Daniel Malea authored
- PR-15260: lldb does not display correct value of 1-bit field - PR-16261: lldb does not display size of (file/class) static array llvm-svn: 175111
-
- Feb 13, 2013
-
-
Daniel Malea authored
- Filed bugzilla PR-15256 llvm-svn: 175065
-
- Jan 25, 2013
-
-
Daniel Malea authored
- 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
-
Daniel Malea authored
- Add new decorator "@skipIfGcc" to lldbtest.py llvm-svn: 173394
-
- Jan 18, 2013
-
-
Sean Callanan authored
DW_AT_const_value instead of a location. Also added a testcase covering "frame variable," "expr" using the IR interpreter, and "expr" using the LLVM JIT. <rdar://problem/12978195> llvm-svn: 172848
-
- Jan 09, 2013
-
-
rdar://problem/12028723Enrico Granata authored
Adding useful formatting options to the expression (expr) command. As a side effect of this change, the -d option now supports the same three-values enumeration that frame variables uses (run, don't run, none) instead of a boolean like it did previously These options do not apply to print, p or po because these are aliased to not take any options. In order to use them, use expression or expr. llvm-svn: 171993
-
Jim Ingham authored
Add an SBProcess API to get the current StopID, either considering or ignoring stops caused by expression evaluation. <rdar://problem/12968562> llvm-svn: 171914
-
- Dec 14, 2012
-
-
Sean Callanan authored
instead of falling through to the "frame variable" code. llvm-svn: 170169
-
- Dec 12, 2012
-
-
Jim Ingham authored
Added a "step-in-target" flag to "thread step-in" so if you have something like: Process 28464 stopped * thread #1: tid = 0x1c03, function: main , stop reason = breakpoint 1.1 frame #0: 0x0000000100000e08 a.out`main at main.c:62 61 -> 62 int A6 = complex (a(4), b(5), c(6)); // Stop here to step targetting b and hitting breakpoint. 63 and you want to get into "complex" skipping a, b and c, you can do: (lldb) step -t complex Process 28464 stopped * thread #1: tid = 0x1c03, function: complex , stop reason = step in frame #0: 0x0000000100000d0d a.out`complex at main.c:44 41 42 int complex (int first, int second, int third) 43 { -> 44 return first + second + third; // Step in targetting complex should stop here 45 } 46 47 int main (int argc, char const *argv[]) llvm-svn: 170008
-
- Dec 06, 2012
-
-
Jim Ingham authored
llvm-svn: 169549
-
rdar://problem/12560257Greg Clayton authored
Fixed zero sized arrays to work correctly. This will only happen once we get a clang that emits correct debug info for zero sized arrays. For now I have marked the TestStructTypes.py as an expected failure. llvm-svn: 169465
-
Sean Callanan authored
- Removed the BitfieldMap class because it is unnecessary. We now just track the most recently added field. - Moved the code that calculates bitfield widths so it can also be used to determine whether it's necessary to insert anonymous fields. - Simplified the anonymous field calculation code into three cases (two of which are resolved identically). - Beefed up the bitfield testcase. llvm-svn: 169449
-
- Dec 04, 2012
-
-
rdar://problem/12798131Greg Clayton authored
Cleaned up the option parsing code to always pass around the short options as integers. Previously we cast this down to "char" and lost some information. I recently added an assert that would detect duplicate short character options which was firing during the test suite. This fix does the following: - make sure all short options are treated as "int" - make sure that short options can be non-printable values when a short option is not required or when an option group is mixed into many commands and a short option is not desired - fix the help printing to "do the right thing" in all cases. Previously if there were duplicate short character options, it would just not emit help for the duplicates - fix option parsing when there are duplicates to parse options correctly. Previously the option parsing, when done for an OptionGroup, would just start parsing options incorrectly by omitting table entries and it would end up setting the wrong option value llvm-svn: 169189
-
- Nov 27, 2012
-
-
Daniel Malea authored
llvm-svn: 168727
-
- Nov 26, 2012
-
-
Daniel Malea authored
- use lldb settings command instead of os.environ - use dyldPath fixture variable instead of hardcoding LD_LIBRARY_PATH - add tear-down hook to restore environment after testcase is run llvm-svn: 168613
-
Daniel Malea authored
- use lldb 'settings' command to help testcase find shared library - pull up dyldPath variable from TestLoadUnload.py to fixture base class (applicable in multiple cases) llvm-svn: 168612
-
Daniel Malea authored
- setting LD_LIBRARY_PATH required for the test program to run correctly llvm-svn: 168595
-
- Nov 09, 2012
-
-
Jason Molenda authored
flags to the Linux makefiles to get the tests to run. llvm-svn: 167600
-
- Nov 06, 2012
-
-
Greg Clayton authored
llvm-svn: 167473
-
- Oct 23, 2012
-
-
Sean Callanan authored
of structures, and added a testcase. <rdar://problem/12551591> llvm-svn: 166450
-
- Sep 22, 2012
-
-
Jim Ingham authored
Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly on the output of "break set". Please don't do this sort of thing!!!!! llvm-svn: 164433
-
- Jul 18, 2012
-
-
Sean Callanan authored
single element. Also modified our struct test case to test this. llvm-svn: 160449
-