Skip to content
  1. Oct 11, 2014
    • Enrico Granata's avatar
      When parsing ObjC types from encoded strings (and disallowing any-type), the... · 0aa6926d
      Enrico Granata authored
      When parsing ObjC types from encoded strings (and disallowing any-type), the ^? combination gets resolved to no type, while we could resolve it to void*
      I don't think on any of the platforms where ObjC matters sizeof(T*) depends on T, so even if we never figured out the pointee type, the pointer type should still be sane
      This might also allow some limited inspection where previously none was possible, so a win
      
      llvm-svn: 219540
      0aa6926d
  2. Oct 10, 2014
  3. Oct 09, 2014
  4. Oct 08, 2014
    • Zachary Turner's avatar
      Fix compile error on posix. · 57cfe340
      Zachary Turner authored
      llvm-svn: 219340
      57cfe340
    • Zachary Turner's avatar
      Fix deadlock in Python one-line execution. · b2df30d6
      Zachary Turner authored
      Python one-line execution was using ConnectionFileDescriptor to do
      a non-blocking read against a pipe.  This won't work on Windows,
      as CFD is implemented using select(), and select() only works with
      sockets on Windows.
      
      The solution is to use ConnectionGenericFile on Windows, which uses
      the native API to do overlapped I/O on the pipe.  This in turn
      requires re-implementing Host::Pipe on Windows using native OS
      handles instead of the more portable _pipe CRT api.
      
      Reviewed by: Greg Clayton
      Differential Revision: http://reviews.llvm.org/D5679
      
      llvm-svn: 219339
      b2df30d6
    • Enrico Granata's avatar
      Add a (Python only) lldb.SBSyntheticValueProvider class to our API surface · 8387e2fa
      Enrico Granata authored
      On a suggestion from Jim Ingham, this class allows you to very easily define synthetic child providers that return a synthetic value (in the sense of r219330), but no children
      
      Also, document this new feature in our www docs
      
      llvm-svn: 219337
      8387e2fa
    • Enrico Granata's avatar
      Extend synthetic children to produce synthetic values (as in, those that... · d07cfd3a
      Enrico Granata authored
      Extend synthetic children to produce synthetic values (as in, those that GetValueAsUnsigned(), GetValueAsCString() would return)
      
      The way to do this is to write a synthetic child provider for your type, and have it vend the (optional) get_value function.
      If get_value is defined, and it returns a valid SBValue, that SBValue's value (as in lldb_private::Value) will be used as the synthetic ValueObject's Value
      
      The rationale for doing things this way is twofold:
      
      - there are many possible ways to define a "value" (SBData, a Python number, ...) but SBValue seems general enough as a thing that stores a "value", so we just trade values that way and that keeps our currency trivial
      - we could introduce a new level of layering (ValueObjectSyntheticValue), a new kind of formatter (synthetic value producer), but that would complicate the model (can I have a dynamic with no synthetic children but synthetic value? synthetic value with synthetic children but no dynamic?), and I really couldn't see much benefit to be reaped from this added complexity in the matrix
      On the other hand, just defining a synthetic child provider with a get_value but returning no actual children is easy enough that it's not a significant road-block to adoption of this feature
      
      Comes with a test case
      
      llvm-svn: 219330
      d07cfd3a
    • Ed Maste's avatar
      Add decorator for FreeBSD failure · ef9bc3d8
      Ed Maste authored
      llvm.org/pr21211
      
      llvm-svn: 219329
      ef9bc3d8
    • Ed Maste's avatar
      Skip asan test on FreeBSD · c6bd742a
      Ed Maste authored
      The build fails due to missing asan runtime in the FreeBSD base system.
      Instead of marking it expected fail, just skip until we have the runtime
      available.
      
      llvm.org/pr21136
      
      llvm-svn: 219328
      c6bd742a
    • Todd Fiala's avatar
      llgs: add logging to Native*Protocol breakpoints around byte values replaced and restored. · e231efae
      Todd Fiala authored
      Useful for verifying what bytes a software breakpoint clobbers/restores.
      
      llvm-svn: 219318
      e231efae
    • Shawn Best's avatar
      Minor comment change to test out svn access · 1ded74a8
      Shawn Best authored
      llvm-svn: 219269
      1ded74a8
    • Jim Ingham's avatar
      Fix stepping over the inserted breakpoint trap when the NEXT instruction · 8b91d0cd
      Jim Ingham authored
      also contains a breakpoint.
      
      <rdar://problem/18519712>
      
      llvm-svn: 219263
      8b91d0cd
    • Jason Molenda's avatar
      Update TestInlinedBreakpoints to reflect the fact that · ac18ea7a
      Jason Molenda authored
      the default search method is "always" as of r218405.
      
      For the purposes of this test, set it back to "headers"
      to confirm that the file+line breakpoint doesn't work,
      then verify that it does work with "always".  Leave it
      in "always" setting.
      <rdar://problem/18564244> 
      
      llvm-svn: 219251
      ac18ea7a
    • Enrico Granata's avatar
      Change this test case so that it no longer fails in the face of Bug 21190. The... · 95c39ce2
      Enrico Granata authored
      Change this test case so that it no longer fails in the face of Bug 21190. The failure and the bug are entirely unrelated, and it's trivial to write a repro case for that bug anyway, so no need to use this complicated test case
      
      llvm-svn: 219248
      95c39ce2
    • Jason Molenda's avatar
      When we detect a stack unwind loop, before we abort · a410679e
      Jason Molenda authored
      the backtrace, try falling back to the architecture default
      unwind plan and see if we can backtrace a little further.
      <rdar://problem/18556719> 
      
      llvm-svn: 219247
      a410679e
    • Enrico Granata's avatar
      The type category enable * was implemented assuming a previous disable * had... · 29551955
      Enrico Granata authored
      The type category enable * was implemented assuming a previous disable * had happened. While that will most likely be true in practice, the consequences of this not being the case will be a crash. I fix the crash by doing two things: 1) don't let already-enabled categories be enabled anyway; 2) if a category were disabled but with a bogus last-enabled position - highly highly unlikely - just put it in the first empty slot. I am not so sure 2) is bulletproof perfect, but I also don't think 2) will practically ever happen
      
      llvm-svn: 219245
      29551955
  5. Oct 07, 2014
  6. Oct 06, 2014
Loading