Skip to content
  1. Feb 16, 2013
  2. Feb 15, 2013
    • Daniel Malea's avatar
      Improve test harness for the buildbots · cbaef266
      Daniel Malea authored
      - Add a "parsable" mode to dotest.py that outputs test results in exactly the same format as clang's lit tests
      - Improve dosep script to output list of failing tests (output should look like clang test failure summaries)
      - Cleanup lldb/test/Makefile to remove needless parameters and environment variables
      - Switch makefile tests to use parsable-mode output; should make the buildbot results parsable
      - Switch makefile tests to use dosep to log catch crashing tests (instead of halting the test suite)
      
      llvm-svn: 175309
      cbaef266
    • Daniel Malea's avatar
      More test case cleanup (Linux and Mac): · e78ecc2c
      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
      e78ecc2c
    • Daniel Malea's avatar
      Fix misuse of python subprocess module (caused "leaking" processes and garbling the terminal) · 2dd69bb5
      Daniel Malea authored
      - fixed cleanup of Popen objects by pushing spawn logic into test Base and out of test cases
      - connect subprocess stdin to PIPE (rather than the parent's STDIN) to fix silent terminal issue
      
      Tested on Linux and Mac OS X
      
      llvm-svn: 175301
      2dd69bb5
    • Daniel Malea's avatar
      Linux test case cleanup: · 654b12c6
      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
      654b12c6
    • Enrico Granata's avatar
      Daniel Malea caught an issue where calling dotest.py with an invalid directory... · 8628bc59
      Enrico Granata authored
      Daniel Malea caught an issue where calling dotest.py with an invalid directory would cause the progressbar init code to raise an exception
      This commit fixes it
      
      llvm-svn: 175229
      8628bc59
    • Daniel Malea's avatar
      Fix TestSBData.py test case (tested fix Linux/Mac) · 8d7b7a43
      Daniel Malea authored
      - stop ignoring the error-codes in the 'error' variable
      - removed out-of-bounds accesses with read-only array fields such as:
      
        self.assertTrue(data2.uint8[6] == 0, 'binary 0 terminator')
      
      Since SBData wraps a (6-character) python string literal, trying to read the
      null-terminator raises an exception. Instead, I replaced the out-of-bounds
      read with a length-check.
      
      Other out-of-bounds reads (via accessor function like SBData.GetUnsignedInt8)
      don't throw and are OK. I just added asserts that errors are set for these
      negative cases.
      
      llvm-svn: 175223
      8d7b7a43
  3. Feb 14, 2013
  4. Feb 13, 2013
  5. Feb 11, 2013
  6. Feb 09, 2013
    • Jim Ingham's avatar
      Reworked the way Process::RunThreadPlan and the ThreadPlanCallFunction... · 0161b49c
      Jim Ingham authored
      Reworked the way Process::RunThreadPlan and the ThreadPlanCallFunction interoperate to fix problems where
      hitting auto-continue signals while running a thread plan would cause us to lose control of the debug 
      session.
      
      <rdar://problem/12993641>
      
      llvm-svn: 174793
      0161b49c
    • Enrico Granata's avatar
      The new progress bar mode was losing us information compared to the old dots... · eba9e4a3
      Enrico Granata authored
      The new progress bar mode was losing us information compared to the old dots mode in that we would have no way of knowing about test failures (short of peeking into the test result directory.. and you're not supposed to peek!)
      
      Added a new line of information that reports the count of tests that pass, fail or have other things happen to them.
      
      Again no flag to have the dots back. If you care, let us know!
      
      llvm-svn: 174784
      eba9e4a3
    • Enrico Granata's avatar
      <rdar://problem/13176279> · a94ee7da
      Enrico Granata authored
      The LLDB test suite now shows a progress bar instead of dots when not in verbose mode
      If you crave the dots, make your Terminal window smaller than 10 columns :-)
      (or ask for a flag to have the dots come back on demand)
      
      llvm-svn: 174777
      a94ee7da
  7. Feb 08, 2013
  8. Feb 06, 2013
  9. Feb 05, 2013
  10. Feb 04, 2013
    • Enrico Granata's avatar
      <rdar://problem/12953018> · 3b1b2dab
      Enrico Granata authored
      Synthetic children and summary for std::vector<bool> (for both libcxx and libstdcpp).
      std::vector<bool> is a special case and is custom-implemented to be a vector of bits, which means we failed to handle it with the standard std::vector<T> formatter.
      This checkin provides custom formatters that work correctly
      
      llvm-svn: 174333
      3b1b2dab
  11. Feb 01, 2013
    • Greg Clayton's avatar
      <rdar://problem/13092722> · 39f7ee86
      Greg Clayton authored
      Fix in loading mach files from memory when using DynamicLoaderMacOSXDYLD.
      
      Removed the uuid mismatch warning that could be spit out and any time during debugging and removed the test case that was looking for that. Currently the "add-dsym" or "target symbols add" command will report an error when the UUID's don't match.
      
      Be more careful when checking and resolving section + offset addresses to make sure none of the base addresses are invalid.
      
      llvm-svn: 174222
      39f7ee86
    • Sean Callanan's avatar
      Modified the expression parser's class wrapper to · fa4fab77
      Sean Callanan authored
      support reporting "this" as a templated class.  The
      expression parser wraps expressions in C++ methods
      as methods with the signature
      
      $__lldb_class::$__lldb_expr(...)
      
      and previously responded to clang's queries about
      $__lldb_class with the type of *this.  This didn't
      work if *this was a ClassTemplateSpecializationDecl
      because ClassTemplateSpecializationDecls can't be
      the result of simple name queries.
      
      Instead what we do now is respond that $__lldb_class
      is a typedef and that the target of the typedef is
      the (potentially templated) type of *this.  That is
      much more robust.
      
      Thanks to John McCall for key insights.
      
      <rdar://problem/10987183>
      
      llvm-svn: 174153
      fa4fab77
  12. Jan 29, 2013
    • Enrico Granata's avatar
      <rdar://problem/12890171> · 9a31ccba
      Enrico Granata authored
      Providing a compact display mode for "po" to use where the convenience variable name and the pointer value are both hidden.
      This is for convenience when dealing with ObjC instances where the description often gets it right and the debugger-provided information is not useful to most people.
      If you need either of these, "expr" will still show them.
      
      llvm-svn: 173748
      9a31ccba
    • Enrico Granata's avatar
      <rdar://problem/12978143> · 5548cb50
      Enrico Granata authored
      Data formatters now cache themselves.
      This commit provides a new formatter cache mechanism. Upon resolving a formatter (summary or synthetic), LLDB remembers the resolution for later faster retrieval.
      Also moved the data formatters subsystem from the core to its own group and folder for easier management, and done some code reorganization.
      The ObjC runtime v1 now returns a class name if asked for the dynamic type of an object. This is required for formatters caching to work with the v1 runtime.
      Lastly, this commit disposes of the old hack where ValueObjects had to remember whether they were queried for formatters with their static or dynamic type.
      Now the ValueObjectDynamicValue class works well enough that we can use its dynamic value setting for the same purpose.
      
      llvm-svn: 173728
      5548cb50
  13. Jan 25, 2013
  14. Jan 24, 2013
  15. Jan 23, 2013
    • Enrico Granata's avatar
      <rdar://problem/12711206> · f7b1a34e
      Enrico Granata authored
      Extending ValueObjectDynamicValue so that it stores a TypeAndOrName instead of a TypeSP.
      This change allows us to reflect the notion that a ValueObject can have a dynamic type for which we have no debug information.
      Previously, we would coalesce that to the static type of the object, potentially losing relevant information or even getting it wrong.
      This fix ensures we can correctly report the class name for Cocoa objects whose types are hidden classes that we know nothing about (e.g. __NSArrayI for immutable arrays).
      As a side effect, our --show-types argument to frame variable no longer needs to append custom dynamic type information.
      
      llvm-svn: 173216
      f7b1a34e
  16. Jan 22, 2013
  17. Jan 19, 2013
Loading