- May 12, 2012
-
-
Jim Ingham authored
Also changed the defaults for SBThread::Step* to not delete extant plans. Also added some test cases to test more complex stepping scenarios. llvm-svn: 156667
-
- May 11, 2012
-
-
Filipe Cabecinhas authored
llvm-svn: 156637
-
- May 10, 2012
-
-
Jim Ingham authored
If the ObjC Step Through Trampoline plan causes a target crash, properly propagate the error back to the controlling plans so that they don't lose control. Also change "ThreadPlanStepThrough" to take the return StackID for its backstop breakpoint as an argument to the constructor rather than having it try to figure it out itself, since it might get it wrong whereas the caller always knows where it is coming from. rdar://problem/11402287 llvm-svn: 156529
-
- May 09, 2012
-
-
Johnny Chen authored
llvm-svn: 156509
-
Filipe Cabecinhas authored
Deal with being passed no parameters Remove the infinite loop when it's passed something like --help llvm-svn: 156504
-
- May 08, 2012
-
-
rdar://problem/11338654Enrico Granata authored
<rdar://problem/11338654> Fixing a bug where having a summary for a bitfield without a format specified would in certain cases crash LLDB - This has also led to refactoring the by-type accessors for the data formatter subsystem. These now belong in our internal layer, and are just invoked by the public API stratum llvm-svn: 156429
-
rdar://problem/11358639Greg Clayton authored
Switch over to the "*-apple-macosx" for desktop and "*-apple-ios" for iOS triples. Also make the selection process for auto selecting platforms based off of an arch much better. llvm-svn: 156354
-
Johnny Chen authored
Correctly specify the LLDB_OPT_SET's that the 'shlib' command option belongs to by using a newly added macro like this: #define LLDB_OPT_NOT_10 ( LLDB_OPT_SET_FROM(1, 10) & ~LLDB_OPT_SET_10 ) rdar://problem/11393864 llvm-svn: 156337
-
Johnny Chen authored
Add an -F option to the redo.py script to selectively re-run only those failed sessions whose filenames contain the component(s) specified. For example: ./redo.py -F x86_64 -n 2012-05-07-15_28_24 will redo the failed sessions under the 2012-05-07-15_28_24 directory, but only for session names which contain 'x86_64' in it. llvm-svn: 156335
-
- May 03, 2012
-
-
Enrico Granata authored
Adding a new 'type category disable *' feature that disables all categories - This is intended as a quick kill switch for data formatters for cases where the user wants as little extra processing as possible to be done on their target, or to override major data formatters bug, should they occur llvm-svn: 156044
-
- Apr 26, 2012
-
-
Enrico Granata authored
Automatically enabling the Cocoa formatter categories for command-line LLDB. Previously, the categories were filled in but disabled by default. Tweaking test cases appropriately to keep working and do the right thing llvm-svn: 155605
-
- Apr 25, 2012
-
-
Johnny Chen authored
llvm-svn: 155521
-
Sean Callanan authored
llvm-svn: 155516
-
Sean Callanan authored
ObjCPlusPlus as Objective-C classes. Really the compiler should say they have Objective-C runtime class, but we should be a little more resilient (we were refusing to find ivars in those classes before). Also added a test case. llvm-svn: 155515
-
Greg Clayton authored
Enrico will follow this up with fixing the data formatter test cases that are failing. llvm-svn: 155514
-
Sean Callanan authored
the same test to be run multiple times in the same session. llvm-svn: 155511
-
Enrico Granata authored
llvm-svn: 155510
-
Johnny Chen authored
rdar://problem/11312971 llvm-svn: 155505
-
Sean Callanan authored
test whether an object responds to a selector from outside the process. llvm-svn: 155504
-
Sean Callanan authored
case so that the Objective-C runtime doesn't complain about lack of one, causing the test case to fail. llvm-svn: 155503
-
Johnny Chen authored
llvm-svn: 155501
-
- Apr 24, 2012
-
-
Johnny Chen authored
Add a '-R' option, which is similar to '-r', except that the relocated directory, if exists, will be removed entirely before running the test suite. A usage example looks like this: test $ ./dotest.py -A x86_64 -R /tmp/x86_64 & test $ ./dotest.py -A i386 -R /tmp/i386 & where we would want to run the x86_64 and i386 archs concurrently but relocate the test suite to different directory hierarchies in order not to stump on each other's intermediate files. llvm-svn: 155491
-
Enrico Granata authored
llvm-svn: 155420
-
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 23, 2012
-
-
Johnny Chen authored
llvm-svn: 155369
-
- Apr 21, 2012
-
-
Johnny Chen authored
llvm-svn: 155264
-
- Apr 20, 2012
-
-
Jim Ingham authored
Make sure the "synchronous breakpoint callbacks" get called before the thread plan logic gets invoked, and if they ask to continue that should short-circuit the thread plans for that thread. Also add a bit more explanation for how this machinery is supposed to work. Also pass eExecutionPolicyOnlyWhenNeeded, not eExecutionPolicyAlways when evaluating the expression for breakpoint conditions. llvm-svn: 155236
-
Johnny Chen authored
But, still, tearDown() should call super.tearDown(), not super.setUp(). :-) llvm-svn: 155170
-
- Apr 19, 2012
-
-
Johnny Chen authored
rdar://problem/11283401 Example: Collected 1 test 1: test_with_dwarf (TestCallStdStringFunction.ExprCommandCallFunctionTestCase) Test calling std::String member function. ... FAIL ====================================================================== FAIL: test_with_dwarf (TestCallStdStringFunction.ExprCommandCallFunctionTestCase) Test calling std::String member function. ---------------------------------------------------------------------- Traceback (most recent call last): File "/Volumes/data/lldb/svn/ToT/test/lldbtest.py", line 427, in wrapper return func(self, *args, **kwargs) File "/Volumes/data/lldb/svn/ToT/test/expression_command/call-function/TestCallStdStringFunction.py", line 34, in test_with_dwarf self.call_function() File "/Volumes/data/lldb/svn/ToT/test/expression_command/call-function/TestCallStdStringFunction.py", line 48, in call_function substrs = ['Hello world']) File "/Volumes/data/lldb/svn/ToT/test/lldbtest.py", line 1235, in expect msg if msg else EXP_MSG(str, exe)) AssertionError: False is not True : 'Hello world' returns expected result Config=i386-clang ---------------------------------------------------------------------- Ran 1 test in 1.148s FAILED (failures=1) llvm-svn: 155157
-
Johnny Chen authored
llvm-svn: 155152
-
Johnny Chen authored
to the already existing (test result, test id) to avoid collision and to facilitate postmortem analysis. llvm-svn: 155148
-
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 16, 2012
-
-
Johnny Chen authored
the pre-flight code gets executed during setUp() after the debugger instance is available and the post-flight code gets executed during tearDown() after the debugger instance has done killing the inferior and deleting all the target programs. Example: [11:32:48] johnny:/Volumes/data/lldb/svn/ToT/test $ ./dotest.py -A x86_64 -v -c ../examples/test/.lldb-pre-post-flight functionalities/watchpoint/hello_watchpoint config: {'pre_flight': <function pre_flight at 0x1098541b8>, 'post_flight': <function post_flight at 0x109854230>} LLDB build dir: /Volumes/data/lldb/svn/ToT/build/Debug LLDB-139 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: 154753 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 154730 Last Changed Date: 2012-04-13 18:42:46 -0700 (Fri, 13 Apr 2012) lldb.pre_flight: def pre_flight(test): __import__("lldb") __import__("lldbtest") print "\nRunning pre-flight function:" print "for test case:", test lldb.post_flight: def post_flight(test): __import__("lldb") __import__("lldbtest") print "\nRunning post-flight function:" print "for test case:", test Session logs for test failures/errors/unexpected successes will go into directory '2012-04-16-11_34_08' Command invoked: python ./dotest.py -A x86_64 -v -c ../examples/test/.lldb-pre-post-flight functionalities/watchpoint/hello_watchpoint 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. ... Running pre-flight function: for test case: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Running post-flight function: for test case: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) ok 2: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Test a simple sequence of watchpoint creation and watchpoint hit. ... Running pre-flight function: for test case: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Running post-flight function: for test case: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) ok ---------------------------------------------------------------------- Ran 2 tests in 1.584s OK llvm-svn: 154847
-
- Apr 13, 2012
-
-
Johnny Chen authored
For the types directory, we were running lldbtest.system() to execute the compiled program on the test host to collect golden output in order to compare with the output of various lldb debugger commands as performed later. This won't work for the remote platform scenario where the architecture of the target and host platforms are different. Modify the AbstractBase class to use lldb to launch the inferior while specifying the output file, from which the golden output is collected and grokked. How to bootstrap and to connect to the remote platform is still being worked at. llvm-svn: 154699
-
Johnny Chen authored
llvm-svn: 154638
-
Johnny Chen authored
llvm-svn: 154636
-
Johnny Chen authored
Fix some test suite errors. TestForwardDecl.py errors were due to bad Makefile.rules, while TestHiddenIvars.py errors due to features only available in modern objc runtime. llvm-svn: 154635
-
- Apr 12, 2012
-
-
Johnny Chen authored
rdar://problem/11031264 llvm-svn: 154573
-
- Apr 07, 2012
-
-
Sean Callanan authored
this file. llvm-svn: 154222
-