- Dec 12, 2012
-
-
Enrico Granata authored
the option to print the runtime-specific description has been modified in the frame variable, memory read and expression command. All three commands now support a --object-description option, with a shortcut of -O (uppercase letter o) This is a breaking change: frame variable used --objc as the long option name expression used -o as a shortcut memory read uses --objd as the long option name Hopefully, most users won't be affected by the change since people tend to access "expression --object-description" under the alias "po" which still works The test suite has been tweaked accordingly. llvm-svn: 169961
-
rdar://problem/12780507Greg Clayton authored
Fix add-dsym ("target symbols add") to correctly add a dSYM file when the target arch doesn't match the arch of the module. llvm-svn: 169952
-
- Dec 11, 2012
-
-
Enrico Granata authored
Adding a validation callback mechanism to OptionValueString (such a feature might theoretically be added to the general OptionValue base class should the need arise) Using this mechanism, making sure that the options to pass a summary string or a named summary to frame variable do not have invalid values <rdar://problem/11576143> llvm-svn: 169927
-
Sean Callanan authored
"self" when those pointers are in registers. Previously in this case the IRInterpreter would handle them just as if the user had typed in "$rdi", which isn't safe because $rdi is passed in through the argument struct. Now we correctly break out all three cases (i.e., normal variables in registers, $reg, and this/self), and handle them in a way that's a little bit easier to read and change. This results in more accurate printing of "this" and "self" pointers all around. I have strengthened the optimized-code test case for Objective-C to ensure that we catch regressions in this area reliably in the future. <rdar://problem/12693963> llvm-svn: 169924
-
-
- Dec 07, 2012
-
-
Andrew Kaylor authored
Fix Test11588.py on Linux. The test was failing because the synthetic type fields were resolving to int instead of long. A similar change was made in r155144 to eliminate the type specification for an earlier check in this test, so it seemed appropriate here too. llvm-svn: 169615
-
- 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
-
-
Daniel Malea authored
llvm-svn: 169295
-
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
-
Jim Ingham authored
The skipOnLinux decorator wasn't calling the test method correctly (no need to pass in the "self") resulting in errors on MacOS X for the tests so decorated. llvm-svn: 168662
-
- 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 23, 2012
-
-
Daniel Malea authored
llvm-svn: 168531
-
Daniel Malea authored
- hang resolved in r168503 llvm-svn: 168530
-
Daniel Malea authored
- add decorators @expectedFailLinux and @skipOnLinux - skip/mark xfail cases due to open bugzillas # 14323, 14416, 14423, 14424, 14425, 14426 Patch by Ashok Thirumurthi! llvm-svn: 168529
-
- Nov 21, 2012
-
-
Daniel Malea authored
llvm-svn: 168454
-
Daniel Malea authored
- missing includes in cpp test programs - mismatched dwarf/dsym test cases - make "com.apple.main-thread" expected string conditional on darwin platform llvm-svn: 168452
-
- Nov 20, 2012
-
-
Daniel Malea authored
llvm-svn: 168382
-
Daniel Malea authored
- this commit addresses bugzilla #14385 llvm-svn: 168375
-
Daniel Malea authored
llvm-svn: 168371
-
Daniel Malea authored
llvm-svn: 168370
-
- Nov 19, 2012
-
-
Daniel Malea authored
- opened bugzilla defects #14384 and #14385 llvm-svn: 168323
-
- Nov 17, 2012
-
-
Filipe Cabecinhas authored
llvm-svn: 168220
-
- Nov 15, 2012
-
-
Sean Callanan authored
expressions that refer to ivars will not work because Clang emits IR that refers to them to get the ivar offsets. However, it is possible to search the runtime for these values. I have added support for reading the relevant tables to the Objective-C runtime, and extended ClangExpressionDeclMap to query that information if and only if it doesn't find the symbols in the binary. Also added a testcase. <rdar://problem/12628122> llvm-svn: 168018
-
rdar://problem/12408181Enrico Granata authored
<rdar://problem/12408181> Test case to make sure this area of ObjC support does not regress in the future llvm-svn: 168000
-
- Nov 12, 2012
-
-
Daniel Malea authored
llvm-svn: 167771
-
- 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
-
- Nov 01, 2012
-
-
Sean Callanan authored
explicitly pointed at an LLDB framework and executable. llvm-svn: 167250
-
Filipe Cabecinhas authored
llvm-svn: 167242
-
- Oct 31, 2012
-
-
rdar://problem/12586188Enrico Granata authored
<rdar://problem/12586188> Make ImportError a special case for "command script import", such that the error message for the exception becomes the error for the entire import operation and silence the backtrace printout In the process, refactor the Execute* commands in ScriptInterpreter to take an options object, and add a new setting to not mask out errors so that the callers can handle them directly instead of having the default behavior llvm-svn: 167067
-
Jim Ingham authored
the containing class so that direct ivar access will work in the expression parser. <rdar://problem/9797999> llvm-svn: 167061
-
- Oct 26, 2012
-
-
Filipe Cabecinhas authored
llvm-svn: 166740
-
- Oct 25, 2012
-
-
Sean Callanan authored
to dotest.py so that the testsuite can run against any LLDB. <rdar://problem/12512268> llvm-svn: 166635
-
rdar://12481949Enrico Granata authored
Fixing the test case for rdar://12481949 to do the right thing with our new rules for sign-extension in GetValueAsUnsigned() llvm-svn: 166631
-
- Oct 24, 2012
-
-
Enrico Granata authored
llvm-svn: 166628
-