Skip to content
  1. May 15, 2013
  2. May 14, 2013
  3. May 10, 2013
  4. May 09, 2013
  5. May 08, 2013
    • Jim Ingham's avatar
      Figure out the reply to "PlanExplainsStop" once when we stop and then use the cached · 221d51cf
      Jim Ingham authored
      value.  This fixes problems, for instance, with the StepRange plans, where they know that
      they explained the stop because they were at their "run to here" breakpoint, then deleted
      that breakpoint, so when they got asked again, doh!  I had done this for a couple of plans
      in an ad hoc fashion, this just formalizes it.
      
      Also add a "ResumeRequested" in Process so that the code in the completion handlers can
      tell the ShouldStop logic they want to resume rather than just directly resuming.  That allows 
      us to handle resuming in a more controlled fashion.
      
      Also, SetPublicState can take a "restarted" flag, so that it doesn't drop the run lock when
      the target was immediately restarted.
      --This line, and those below , will be ignored--
      
      M    test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py
      M    include/lldb/Target/ThreadList.h
      M    include/lldb/Target/ThreadPlanStepOut.h
      M    include/lldb/Target/Thread.h
      M    include/lldb/Target/ThreadPlanBase.h
      M    include/lldb/Target/ThreadPlanStepThrough.h
      M    include/lldb/Target/ThreadPlanStepInstruction.h
      M    include/lldb/Target/ThreadPlanStepInRange.h
      M    include/lldb/Target/ThreadPlanStepOverBreakpoint.h
      M    include/lldb/Target/ThreadPlanStepUntil.h
      M    include/lldb/Target/StopInfo.h
      M    include/lldb/Target/Process.h
      M    include/lldb/Target/ThreadPlanRunToAddress.h
      M    include/lldb/Target/ThreadPlan.h
      M    include/lldb/Target/ThreadPlanCallFunction.h
      M    include/lldb/Target/ThreadPlanStepOverRange.h
      M    source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.h
      M    source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp
      M    source/Target/StopInfo.cpp
      M    source/Target/Process.cpp
      M    source/Target/ThreadPlanRunToAddress.cpp
      M    source/Target/ThreadPlan.cpp
      M    source/Target/ThreadPlanCallFunction.cpp
      M    source/Target/ThreadPlanStepOverRange.cpp
      M    source/Target/ThreadList.cpp
      M    source/Target/ThreadPlanStepOut.cpp
      M    source/Target/Thread.cpp
      M    source/Target/ThreadPlanBase.cpp
      M    source/Target/ThreadPlanStepThrough.cpp
      M    source/Target/ThreadPlanStepInstruction.cpp
      M    source/Target/ThreadPlanStepInRange.cpp
      M    source/Target/ThreadPlanStepOverBreakpoint.cpp
      M    source/Target/ThreadPlanStepUntil.cpp
      M    lldb.xcodeproj/xcshareddata/xcschemes/Run Testsuite.xcscheme
      
      llvm-svn: 181381
      221d51cf
  6. May 03, 2013
  7. May 01, 2013
  8. Apr 27, 2013
  9. Apr 26, 2013
  10. Apr 24, 2013
  11. Apr 19, 2013
    • Ashok Thirumurthi's avatar
      Improved tests for nested structs when anonymous structs are involved. · f6cd60ae
      Ashok Thirumurthi authored
      - New tests can fail on OS/X and Linux, and illustrate that the compiler
      used to generate the DWARF can result in lldb providing clang with an
      external AST source that doesn't describe all required struct fields.
      
      - Also includes test coverage for expressions with structs that do work on Linux- Also includes a test for dereferencing a null pointer to a struct, which works on OS/X rather than complaining, and complains on Linux with an upstream error that is really a side issue.
      
      Thanks to Samuel, Andy and Daniel for their input.
      
      llvm-svn: 179884
      f6cd60ae
    • Ashok Thirumurthi's avatar
      Provided a variant of ReadCStringFromMemory that supports null terminators of any character width. · 6ac9d13e
      Ashok Thirumurthi authored
      This prevents unbounded reads (i.e. reads of GetMaximumSizeOfStringSummary() bytes)
      from causing test failures (i.e. due to ptrace EIO or EFAULT on Linux).
      
      Note that ReadCStringFromMemory is marked as deprecated because the loop that calls
      ReadMemory does not continue until the string has been completely read.
      The expected behavior is to read until until max_bytes or a null terminator.
      
      Note: As discussed on lldb-dev, further testing will be performed with ReadStringFromMemory
      before further changes are made for users of ReadCStringFromMemory.
      
      Thanks to Enrico, Matt and Andy for their review feedback.
      
      llvm-svn: 179857
      6ac9d13e
  12. Apr 12, 2013
  13. Mar 28, 2013
  14. Mar 19, 2013
    • Greg Clayton's avatar
      Fixed incorrect python that was trying to validate that we got a valid... · 53c5ddf0
      Greg Clayton authored
      Fixed incorrect python that was trying to validate that we got a valid lldb.SBThread object by checking to see if it is equal to "None". 
      
      This test is incorrect as functions that return lldb.SBThread objects never return None, they just return lldb.SBThread objects that contain invalid opaque classes. 
      
      llvm-svn: 177416
      53c5ddf0
  15. Mar 15, 2013
    • Matt Kopec's avatar
      Add icc support to the test suite · 0de53f06
      Matt Kopec authored
      -adds icc to the lit of compilers to run the tests
      -adds icc test decorators
      -skip TestAnonymous.py for icc
      
      Patch by Ashok Thirumurthi.
      
      llvm-svn: 177174
      0de53f06
  16. Mar 13, 2013
  17. Mar 07, 2013
  18. Mar 06, 2013
  19. Mar 05, 2013
  20. Mar 01, 2013
  21. Feb 28, 2013
  22. Feb 27, 2013
  23. Feb 26, 2013
  24. 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
  25. Feb 22, 2013
  26. Feb 20, 2013
    • Daniel Malea's avatar
      Fix invalid TestBitfields case (thanks Filipe!), and xfail one case due to GCC compiler bug. · c6a70063
      Daniel Malea authored
      Turns out unnamed bit fields should not be accessed ever in C (C99 section 4.7.8) or C++
      (C++11 section 9.6). 
      
      Unrelated to the above, this commit marks TestBitfields as expected-to-fail with GCC as 4.7
      has problems with padding... the size of the struct with a uint32_t member is reported as 12
      when GCC is used. Clang emits correct code.
      
      Parts of this patch prepared by Filipe Cabecinhas!
      
      llvm-svn: 175666
      c6a70063
Loading