- 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 10, 2013
-
-
Matt Kopec authored
llvm-svn: 181613
-
- Apr 26, 2013
-
-
Matt Kopec authored
Mark tests as expected fail for Linux due to not being able to call/print c++ demangled functions in the global namespace (bugzilla 15854). llvm-svn: 180623
-
- Apr 02, 2013
-
-
Greg Clayton authored
llvm-svn: 178552
-
- Mar 01, 2013
-
-
Matt Kopec authored
Update TestCallStdStringFunction to expected fail for gcc and account for multiple breakpoint locations. Patch from Ashok Thirumurthi. llvm-svn: 176357
-
- Feb 25, 2013
-
-
Daniel Malea authored
- was causing buildbot failures due to unexpected pass llvm-svn: 176048
-
- Feb 15, 2013
-
-
Daniel Malea authored
- Enable TestFormatters.py: expressions with "new" work - Enable TestChangeValueAPI.py: llvm.org/PR15039 fixed - Disable expression_command/call-restarts due to llvm.org/PR15278 - Disable expression_command/call-throws due to ObjC test program llvm-svn: 175287
-
- Feb 14, 2013
-
-
Jim Ingham authored
<rdar://problem/13183944> llvm-svn: 175127
-
- Feb 13, 2013
-
-
Daniel Malea authored
- Filed bugzilla PR-15256 llvm-svn: 175065
-
- Feb 11, 2013
-
-
Jim Ingham authored
llvm-svn: 174897
-
- Jan 25, 2013
-
-
Daniel Malea authored
- set auto-confirm to false when running TestExprs (avoid hang when using API) - set prompt-on-quit to false in test helper (avoid timeout when using lldb CLI) llvm-svn: 173485
-
- Jan 15, 2013
-
-
Jim Ingham authored
Separated the "expr --unwind-on-error" behavior into two parts, actual errors (i.e. crashes) which continue to be controlled by the --unwind-on-error flag, and --ignore-breakpoint which separately controls behavior when a called function hits a breakpoint. For breakpoints, we don't unwind, we either stop, or ignore the breakpoint, which makes more sense. Also make both these behaviors globally settable through "settings set". Also handle the case where a breakpoint command calls code that ends up re-hitting the breakpoint. We were recursing and crashing. Now we just stop without calling the second command. <rdar://problem/12986644> <rdar://problem/9119325> llvm-svn: 172503
-
- 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
-
- Jan 04, 2013
-
-
Daniel Malea authored
- requires memory allocation during expression evaluation - opened related bugzilla 14805 llvm-svn: 171547
-
- 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 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 23, 2012
-
-
Daniel Malea authored
llvm-svn: 168531
-
- Nov 21, 2012
-
-
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: 168371
-
- Nov 12, 2012
-
-
Daniel Malea authored
llvm-svn: 167771
-
- Oct 24, 2012
-
-
Enrico Granata authored
llvm-svn: 166627
-
Enrico Granata authored
llvm-svn: 166626
-
- Oct 18, 2012
-
-
rdar://problem/12462048Greg Clayton authored
LLDB changes argv[0] when debugging a symlink. Now we have the notion of argv0 in the target settings: target.arg0 (string) = There is also the program argument that are separate from the first argument that have existed for a while: target.run-args (arguments) = When running "target create <exe>", we will place the untouched "<exe>" into target.arg0 to ensure when we run, we run with what the user typed. This has been added to the ProcessLaunchInfo and all other needed places so we always carry around the: - resolved executable path - argv0 - program args Some systems may not support separating argv0 from the resolved executable path and the ProcessLaunchInfo needs to carry all of this information along so that each platform can make that decision. llvm-svn: 166137
-
- Oct 17, 2012
-
-
Greg Clayton authored
llvm-svn: 166070
-
- Oct 16, 2012
-
-
Jim Ingham authored
the SB API's that evaluate expressions. <rdar://problem/12457211> llvm-svn: 166062
-
- 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
-
- 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
-
- May 11, 2012
-
-
Filipe Cabecinhas authored
llvm-svn: 156637
-
- Apr 25, 2012
-
-
Sean Callanan authored
the same test to be run multiple times in the same session. llvm-svn: 155511
-
- Apr 24, 2012
-
-
Enrico Granata authored
Removing the @expectedFailurei386 decorator from test cases that now work as a result of the latest changes to Value.cpp llvm-svn: 155419
-
- Apr 19, 2012
-
-
Johnny Chen authored
Not a test failure for i386; instead, the test case should be modified to not over-expect type fields for the synthetic childs. rdar://problem/11277013 llvm-svn: 155144
-
Johnny Chen authored
Plus fix some test cases to skip/succeed for i386. llvm-svn: 155087
-
- Apr 06, 2012
-
-
Johnny Chen authored
either @dsym_test or @dwarf_test to be executed during the testsuite run. There are still lots of Test*.py files which have not been decorated with the new decorator. An example: # From TestMyFirstWatchpoint.py -> class HelloWatchpointTestCase(TestBase): mydir = os.path.join("functionalities", "watchpoint", "hello_watchpoint") @dsym_test def test_hello_watchpoint_with_dsym_using_watchpoint_set(self): """Test a simple sequence of watchpoint creation and watchpoint hit.""" self.buildDsym(dictionary=self.d) self.setTearDownCleanup(dictionary=self.d) self.hello_watchpoint() @dwarf_test def test_hello_watchpoint_with_dwarf_using_watchpoint_set(self): """Test a simple sequence of watchpoint creation and watchpoint hit.""" self.buildDwarf(dictionary=self.d) self.setTearDownCleanup(dictionary=self.d) self.hello_watchpoint() # Invocation -> [17:50:14] johnny:/Volumes/data/lldb/svn/ToT/test $ ./dotest.py -N dsym -v -p TestMyFirstWatchpoint.py LLDB build dir: /Volumes/data/lldb/svn/ToT/build/Debug LLDB-137 Path: /Volumes/data/lldb/svn/ToT URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 154133 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 154109 Last Changed Date: 2012-04-05 10:43:02 -0700 (Thu, 05 Apr 2012) Session logs for test failures/errors/unexpected successes will go into directory '2012-04-05-17_50_49' Command invoked: python ./dotest.py -N dsym -v -p TestMyFirstWatchpoint.py compilers=['clang'] Configuration: arch=x86_64 compiler=clang ---------------------------------------------------------------------- Collected 2 tests 1: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Test a simple sequence of watchpoint creation and watchpoint hit. ... skipped 'dsym tests' 2: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Test a simple sequence of watchpoint creation and watchpoint hit. ... ok ---------------------------------------------------------------------- Ran 2 tests in 1.138s OK (skipped=1) Session logs for test failures/errors/unexpected successes can be found in directory '2012-04-05-17_50_49' [17:50:50] johnny:/Volumes/data/lldb/svn/ToT/test $ llvm-svn: 154154
-
- Mar 25, 2012
-
-
Eric Christopher authored
llvm-svn: 153416
-
- Feb 04, 2012
-
-
Greg Clayton authored
instead of the __repr__. __repr__ is a function that should return an expression that can be used to recreate an python object and we were using it to just return a human readable string. Fixed a crasher when using the new implementation of SBValue::Cast(SBType). Thread hardened lldb::SBValue and lldb::SBWatchpoint and did other general improvements to the API. Fixed a crasher in lldb::SBValue::GetChildMemberWithName() where we didn't correctly handle not having a target. llvm-svn: 149743
-
- Jan 06, 2012
-
-
Johnny Chen authored
lldb::SBValue::AddressOf does not work on dereferenced registers in synthetic children provider Patch submitted by Enrico Granata. llvm-svn: 147637
-
- Dec 17, 2011
-
-
Johnny Chen authored
valobj.AddressOf() returns None when an address is expected in a SyntheticChildrenProvider Patch from Enrico Granata: The problem was that the frozen object created by the expression parser was a copy of the contents of the StgClosure, rather than a pointer to it. Thus, the expression parser was correctly computing the result of the arithmetic&cast operation along with its address, but only saving it in the live object. This meant that the frozen copy acted as an address-less variable, hence the problem. The fix attached to this email lets the expression parser store the "live address" in the frozen copy of the address when the object is built without a valid address of its own. Doing so, along with delegating ValueObjectConstResult to calculate its own address when necessary, solves the issue. I have also added a new test case to check for regressions in this area, and checked that existing test cases pass correctly. llvm-svn: 146768
-
- Nov 15, 2011
-
-
Johnny Chen authored
llvm-svn: 144717
-
- Oct 24, 2011
-
-
Johnny Chen authored
Removed the @expectedFailure decorators from test cases. They have been fixed with the r142717 check-in. llvm-svn: 142823
-