Skip to content
  1. Nov 14, 2013
  2. Nov 06, 2013
    • Greg Clayton's avatar
      <rdar://problem/15367122> · 095eeaa0
      Greg Clayton authored
      Fixed the test case for "test/functionalities/exec/TestExec.py" on Darwin.
      
      The issue was breakpoints were persisting and causing problems. When we exec, we need to clear out the process and target and start fresh with nothing and let the breakpoints populate themselves again. This patch correctly clears out the breakpoints and also flushes the process so that the objects (process/thread/frame) give out valid information.
      
      llvm-svn: 194106
      095eeaa0
  3. Nov 01, 2013
  4. Oct 31, 2013
  5. Oct 29, 2013
    • Enrico Granata's avatar
      <rdar://problem/15144376> · dc4db5a6
      Enrico Granata authored
      This commit reimplements the TypeImpl class (the class that backs SBType) in terms of a static,dynamic type pair
      
      This is useful for those cases when the dynamic type of an ObjC variable can only be obtained in terms of an "hollow" type with no ivars
      In that case, we could either go with the static type (+iVar information) or with the dynamic type (+inheritance chain)
      
      With the new TypeImpl implementation, we try to combine these two sources of information in order to extract as much information as possible
      This should improve the functionality of tools that are using the SBType API to do extensive dynamic type inspection
      
      llvm-svn: 193564
      dc4db5a6
  6. Oct 16, 2013
    • Enrico Granata's avatar
      <rdar://problem/15235492> · ce451cc3
      Enrico Granata authored
      Extend DummySyntheticProvider to actually use debug-info vended children as the source of information
      Make Python synthetic children either be valid, or fallback to the dummy, like their C++ counterparts
      
      This allows LLDB to actually stop bailing out upon encountering an invalid synthetic children provider front-end, and still displaying the non synthetized ivar info
      
      llvm-svn: 192741
      ce451cc3
  7. Oct 11, 2013
  8. Oct 09, 2013
  9. Oct 07, 2013
  10. Oct 05, 2013
    • Enrico Granata's avatar
      <rdar://problem/12042982> · a29cb0ba
      Enrico Granata authored
      This radar extends the notion of one-liner summaries to automagically apply in a few interesting cases
      
      More specifically, this checkin changes the printout of ValueObjects to print on one-line (as if type summary add -c had been applied) iff:
      this ValueObject does not have a summary
      its children have no synthetic children
      its children are not a non-empty base class without a summary
      its children do not have a summary that asks for children to show up
      the aggregate length of all the names of all the children is <= 50 characters
      you did not ask to see the types during a printout
      your pointer depth is 0
      
      This is meant to simplify the way LLDB shows data on screen for small structs and similarly compact data types (e.g. std::pair<int,int> anyone?)
      
      Feedback is especially welcome on how the feature feels and corner cases where we should apply this printout and don't (or viceversa, we are applying it when we shouldn't be)
      
      llvm-svn: 191996
      a29cb0ba
  11. Oct 01, 2013
  12. Sep 30, 2013
    • Daniel Malea's avatar
      Disable TestStopHookMultipleThreads.py (on Linux) due to llvm.org/pr15037 · f3903a5c
      Daniel Malea authored
      - stop hooks sometimes fail to fire on Linux
      
      llvm-svn: 191704
      f3903a5c
    • Enrico Granata's avatar
      <rdar://problem/14393032> · 4d93b8cd
      Enrico Granata authored
      DumpValueObject() 2.0
      
      This checkin restores pre-Xcode5 functionality to the "po" (expr -O) command:
      - expr now has a new --description-verbosity (-v) argument, which takes either compact or full as a value (-v is the same as -vfull)
       When the full mode is on, "po" will show the extended output with type name, persistent variable name and value, as in
      (lldb) expr -O -v -- foo
      (id) $0 = 0x000000010010baf0 {
          1 = 2;
          2 = 3;
      }
      
       When -v is omitted, or -vcompact is passed, the Xcode5-style output will be shown, as in
      (lldb) expr -O -- foo
      {
          1 = 2;
          2 = 3;
      }
      
      - for a non-ObjectiveC object, LLDB will still try to retrieve a summary and/or value to display
      (lldb) po 5
      5
      -v also works in this mode
      (lldb) expr -O -vfull -- 5
      (int) $4 = 5 
      
      On top of that, this is a major refactoring of the ValueObject printing code. The functionality is now factored into a ValueObjectPrinter class for easier maintenance in the future
      DumpValueObject() was turned into an instance method ValueObject::Dump() which simply calls through to the printer code, Dump_Impl has been removed
      
      Test case to follow
      
      llvm-svn: 191694
      4d93b8cd
  13. Sep 27, 2013
  14. Sep 26, 2013
    • Matt Kopec's avatar
      Fix the thread jump test case for 32-bit inferiors. A jump was going back to a... · cc64cc17
      Matt Kopec authored
      Fix the thread jump test case for 32-bit inferiors. A jump was going back to a function call using a source line number. However, the parameters being passed to the function were setup before the instruction we jumped to. In other words, the source line was associated with assembly after the function parameters had been setup for the function to be called.
      
      llvm-svn: 191457
      cc64cc17
    • Ashok Thirumurthi's avatar
      Fix the partial backtrace in a recursive inferior compiled with -fomit-frame-pointer. · 8b577305
      Ashok Thirumurthi authored
      - Removes the block in UnwindLLDB::AddOneMoreFrame that tests for a bad stack setup,
      since it is neither correct (tests the FP GPR), complete (doesn't consider multi-frame
      cycles), nor reachable (the construction of RegisterContextLLDB will fail in the case 
      where either of the two (why just two?) previous frames have the same canonical frame
      address as the frame that we propose adding to the stack).
      
      llvm-svn: 191430
      8b577305
  15. Sep 25, 2013
  16. Sep 24, 2013
  17. Sep 20, 2013
  18. Sep 17, 2013
  19. Sep 13, 2013
Loading