Skip to content
  1. Feb 23, 2013
    • Enrico Granata's avatar
      Fixing issues in previous checkin - still figuring out how to make... · 43f62133
      Enrico Granata authored
      Fixing issues in previous checkin - still figuring out how to make expectedFailureClang take the bugnumber
      
      llvm-svn: 175945
      43f62133
    • Enrico Granata's avatar
      <rdar://problem/12362092> · e6cedc12
      Enrico Granata authored
      The decorators @expectedFailure (plain and special-case like i386, clang, ...) are modified to optionally take a bugnumber argument
      If such an argument is specified, the failure report (or unexpected success report) will include the information passed in as part of the message
      This is mostly useful for associating failures to issue IDs in issue management systems (e.g. the LLVM bugzilla)
      
      llvm-svn: 175942
      e6cedc12
  2. Feb 22, 2013
  3. Feb 20, 2013
  4. Feb 19, 2013
  5. Feb 15, 2013
    • 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
  6. Feb 14, 2013
  7. Feb 13, 2013
  8. Feb 01, 2013
    • 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
  9. 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
  10. Jan 25, 2013
  11. Jan 24, 2013
  12. 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
  13. Jan 19, 2013
  14. Jan 18, 2013
  15. Jan 15, 2013
  16. Jan 11, 2013
  17. Jan 10, 2013
    • Enrico Granata's avatar
      <rdar://problem/12725746> · f68df12f
      Enrico Granata authored
      Providing data formatters for char16_t* and char32_t* C++11-style Unicode strings
      Using this chance to refactor the UTF data reader used for data formatters for added generality
      Added a relevant test case
      
      llvm-svn: 172119
      f68df12f
    • Enrico Granata's avatar
      <rdar://problem/11146929> · b4e2e93c
      Enrico Granata authored
      Enabling support for the wchar_t type.
      Without the proper language option setup, clang's ASTContexts will be configured to have wchar_t == int
      This patch enables the correct options to make sure that we report wchar_t as itself
      Added a test case to make sure we do not regress 
      
      llvm-svn: 172038
      b4e2e93c
  18. Jan 09, 2013
    • Enrico Granata's avatar
      <rdar://problem/12028723> · b576bba2
      Enrico 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
      b576bba2
    • Jim Ingham's avatar
      Add an SBProcess API to get the current StopID, either considering or ignoring... · bf2956a2
      Jim Ingham authored
      Add an SBProcess API to get the current StopID, either considering or ignoring stops caused by expression
      evaluation.
      
      <rdar://problem/12968562>
      
      llvm-svn: 171914
      bf2956a2
  19. Jan 08, 2013
    • Greg Clayton's avatar
      <rdar://problem/12953853> · c1b2ccfd
      Greg Clayton authored
      Setting breakpoints using "breakpoint set --selector <SEL>" previously didn't when there was no dSYM file.
      
      Also fixed issues in the test suite that arose after fixing the bug.
      
      Also fixed the log channels to properly ref count the log streams using weak pointers to the streams. This fixes a test suite problem that would happen when you specified a full path to the compiler with the "--compiler" option.
      
      llvm-svn: 171816
      c1b2ccfd
  20. Jan 07, 2013
  21. Jan 03, 2013
  22. Dec 20, 2012
    • Sean Callanan's avatar
      This patch removes the SymbolFileSymtab support · 7be70e85
      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
      7be70e85
  23. Dec 19, 2012
  24. Dec 14, 2012
  25. Dec 12, 2012
    • Jim Ingham's avatar
      Fixed a few bugs in the "step in" thread plan logic. · c627682e
      Jim Ingham authored
      Added a "step-in-target" flag to "thread step-in" so if you have something like:
      
      Process 28464 stopped
      * thread #1: tid = 0x1c03, function: main , stop reason = breakpoint 1.1
          frame #0: 0x0000000100000e08 a.out`main at main.c:62
         61         
      -> 62         int A6 = complex (a(4), b(5), c(6)); // Stop here to step targetting b and hitting breakpoint.
         63             
      
      and you want to get into "complex" skipping a, b and c, you can do:
      
      (lldb) step -t complex
      Process 28464 stopped
      * thread #1: tid = 0x1c03, function: complex , stop reason = step in
          frame #0: 0x0000000100000d0d a.out`complex at main.c:44
         41     
         42     int complex (int first, int second, int third)
         43     {
      -> 44         return first + second + third;  // Step in targetting complex should stop here
         45     }
         46         
         47     int main (int argc, char const *argv[])
      
      llvm-svn: 170008
      c627682e
    • Enrico Granata's avatar
      Option changes: · 7b8c513f
      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
      7b8c513f
  26. Dec 11, 2012
    • Sean Callanan's avatar
      Fixed the IRInterpreter's handling of "this" and · 496970f6
      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
      496970f6
Loading