- Dec 20, 2012
-
-
Andrew Kaylor authored
Note that the test actually fails before reaching the assertion described in that bug, but the failure is a trivial matter of adding OS-conditional expected stop reason strings (as noted by new comments in this patch). However, with the stop reason strings changed, the test fails for the more substantial reason noted in bugzilla 14662. llvm-svn: 170619
-
Andrew Kaylor authored
llvm-svn: 170605
-
Daniel Malea authored
llvm-svn: 170603
-
Sean Callanan authored
for reporting class types from Objective-C runtime class symbols. Instead, LLDB now queries the Objective-C runtime for class types. We have also added a (minimal) Objective-C runtime type vendor for Objective-C runtime version 1, to prevent regressions when calling class methods in the V1 runtime. Other components of this fix include: - We search the Objective-C runtime in a few more places. - We enable enumeration of all members of Objective-C classes, which Clang does in certain circumstances. - SBTarget::FindFirstType and SBTarget::FindTypes now query the Objective-C runtime as needed. - I fixed several test cases. <rdar://problem/12885034> llvm-svn: 170601
-
- Dec 19, 2012
-
-
Andrew Kaylor authored
Skip libc++ data formatter tests on Linux because there is no standard location for the makefile to find libc++. llvm-svn: 170575
-
Daniel Malea authored
- bugzillas covered: 14323, 14600, 14541, 14437, 14540, 14541 llvm-svn: 170564
-
- Dec 18, 2012
-
-
Jim Ingham authored
<rdar://problem/11597849> llvm-svn: 170400
-
- Dec 14, 2012
-
-
Andrew Kaylor authored
Skipping the DeadStripTestCase.test_with_dwarf test on Linux because the Linux ld lacks support for the -dead_strip option. llvm-svn: 170244
-
rdar://problem/11689939Enrico Granata authored
Supporting a compact display syntax for ObjC pointers where 0x00.....0 is replaced by a much more legible "nil" e.g. this would show: (NSArray *) $2 = nil instead of: (NSArray *) $2 = 0x0000000000000000 <nil> llvm-svn: 170161
-
- 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
-
- 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
-
-
- 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 26, 2012
-
-
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
-
- Nov 23, 2012
-
-
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
-
- 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 09, 2012
-
-
Jason Molenda authored
flags to the Linux makefiles to get the tests to run. llvm-svn: 167600
-
- 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
-
- Oct 26, 2012
-
-
Filipe Cabecinhas authored
llvm-svn: 166740
-
- Oct 24, 2012
-
-
Greg Clayton authored
llvm-svn: 166604
-
rdar://problem/12523238Enrico Granata authored
Changed all relevant test cases to verify that MightHaveChildren() works correctly for objects of interest Added a bunch of convenience methods for test cases to use: target(), process(), thread() and frame() which mimic the lldb.X convenience variables As a bonus, edited the documentation on the website to describe the new method available for synthetic children providers writers to implement! That's all folks! llvm-svn: 166535
-
- Oct 23, 2012
-
-
Jim Ingham authored
it to print the old and new values. Temporarily disable the "out of scope" checking since it didn't work correctly, and was not what people generally expected watchpoints to be doing. llvm-svn: 166472
-
-
- Oct 22, 2012
-
-
rdar://problem/12437442Enrico Granata authored
Given our implementation of ValueObjects we could have a scenario where a ValueObject has a dynamic type of Foo* at one point, and then its dynamic type changes to Bar* If Bar* has synthetic children enabled, by the time we figure that out, our public API is already vending SBValues wrapping a DynamicVO, instead of a SyntheticVO and there was no trivial way for us to change the SP inside an SBValue on the fly This checkin reimplements SBValue in terms of a wrapper, ValueImpl, that allows this substitutions on-the-fly by overriding GetSP() to do The Right Thing (TM) As an additional bonus, GetNonSyntheticValue() now works, and we can get rid of the ForceDisableSyntheticChildren idiom in ScriptInterpreterPython Lastly, this checkin makes sure the synthetic VOs get the correct m_value and m_data from their parents (prevented summaries from working in some cases) llvm-svn: 166426
-
- Oct 16, 2012
-
-
rdar://problem/12446320Enrico Granata authored
<rdar://problem/12446320> Fixing an issue with our Driver where setting an immediate output would not cause suppression of the final printout. This allows effective output redirection for Python commands llvm-svn: 166058
-
- Oct 12, 2012
-
-
Jim Ingham authored
llvm-svn: 165808
-
- Oct 06, 2012
-
-
- Oct 05, 2012
-
-
Jim Ingham authored
llvm-svn: 165328
-
- Oct 04, 2012
-
-
- Sep 22, 2012
-
-
Jim Ingham authored
Missed a few places where I didn't delete the obsolete (commented out) version of the breakpoint creation. llvm-svn: 164436
-
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
-
- Sep 21, 2012
-
-
Enrico Granata authored
This feature allows us to group test cases into logical groups (categories), and to only run a subset of test cases based on these categories. Each test-case can have a new method getCategories(self): which returns a list of strings that are the categories to which the test case belongs. If a test-case does not provide its own categories, we will look for categories in the class that contains the test case. If that fails too, the default implementation looks for a .category file, which contains a comma separated list of strings. The test suite will recurse look for .categories up until the top level directory (which we guarantee will have an empty .category file). The driver dotest.py has a new --category <foo> option, which can be repeated, and specifies which categories of tests you want to run. (example: ./dotest.py --category objc --category expression) All tests that do not belong to any specified category will be skipped. Other filtering options still exist and should not interfere with category filtering. A few tests have been categorized. Feel free to categorize others, and to suggest new categories that we could want to use. All categories need to be validly defined in dotest.py, or the test suite will refuse to run when you use them as arguments to --category. In the end, failures will be reported on a per-category basis, as well as in the usual format. This is the very first stage of this feature. Feel free to chime in with ideas for improvements! llvm-svn: 164403
-
- Sep 18, 2012
-
-
-
rdar://problem/11988289Enrico Granata authored
<rdar://problem/11988289> Making C++ synthetic children provider for NSDictionary and related classes llvm-svn: 164144
-