Skip to content
  1. Dec 12, 2013
  2. Dec 11, 2013
    • Greg Clayton's avatar
      Massive test suite cleanup to stop everyone from manually having to compute... · 4570d3eb
      Greg Clayton authored
      Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 
      
      This has led to many test suite failures because of copy and paste where new test cases were based off of other test cases and the "mydir" variable wasn't updated.
      
      Now you can call your superclasses "compute_mydir()" function with "__file__" as the sole argument and the relative path will be computed for you. 
      
      llvm-svn: 196985
      4570d3eb
  3. Nov 21, 2013
  4. Nov 07, 2013
    • Jim Ingham's avatar
      This patch does a couple of things. · 6fbc48bc
      Jim Ingham authored
      It completes the job of using EvaluateExpressionOptions consistently throughout
      the inferior function calling mechanism in lldb begun in Greg's patch r194009. 
      
      It removes a handful of alternate calls into the ClangUserExpression/ClangFunction/ThreadPlanCallFunction which
      were there for convenience.  Using the EvaluateExpressionOptions removes the need for them.
      
      Using that it gets the --debug option from Greg's patch to work cleanly.
      
      It also adds another EvaluateExpressionOption to not trap exceptions when running expressions.  You shouldn't
      use this option unless you KNOW your expression can't throw beyond itself.  This is:
      
      <rdar://problem/15374885>
      
      At present this is only available through the SB API's or python.
      
      It fixes a bug where function calls would unset the ObjC & C++ exception breakpoints without checking whether
      they were set by somebody else already.
      
      llvm-svn: 194182
      6fbc48bc
  5. 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
  6. Sep 30, 2013
  7. Sep 27, 2013
  8. Sep 20, 2013
  9. Sep 13, 2013
    • Ed Maste's avatar
      Skip tests that segfault or are inconsistent on FreeBSD · 3dfe99ca
      Ed Maste authored
      I now see no unexpected failures on FreeBSD on a local run of the test
      suite.
      
      llvm.org/pr17214
      llvm.org/pr17225
      llvm.org/pr17231
      llvm.org/pr17232
      llvm.org/pr17233
      
      llvm-svn: 190709
      3dfe99ca
    • Ed Maste's avatar
      test: Update FreeBSD failure decorators · 34bdbbdf
      Ed Maste authored
      llvm.org/pr15261 missing size for static arrays
      llvm.org/pr15278 expressions generating signals
      llvm.org/pr15824 thread states aren't properly maintained
      llvm.org/pr16696 threaded inferior debugging not yet on FreeBSD
      llvm.org/pr17214 inline stepping fails on FreeBSD
      llvm.org/pr17225 Clang assertion failure
      llvm.org/pr17226 frame info lost after failed expression evaluation
      llvm.org/pr17228 test timeout
      
      The first three are existing Linux issues that also affect FreeBSD.
      
      llvm-svn: 190698
      34bdbbdf
  10. Sep 10, 2013
  11. Sep 07, 2013
  12. Sep 05, 2013
  13. Aug 30, 2013
  14. Aug 02, 2013
  15. Jul 30, 2013
  16. Jul 24, 2013
  17. Jun 11, 2013
  18. Jun 06, 2013
  19. May 24, 2013
  20. May 23, 2013
    • Sean Callanan's avatar
      Fixed a bug where persistent variables did not · fbf5c682
      Sean Callanan authored
      live as long as they needed to.  This led to
      equality tests involving persistent variables
      often failing or succeeding when they had no
      business doing so.
      
      To do this, I introduced the ability for a
      memory allocation to "leak" - that is, to
      persist in the process beyond the lifetime of
      the expression.  Hand-declared persistent
      variables do this now.
      
      <rdar://problem/13956311>
      
      llvm-svn: 182528
      fbf5c682
  21. May 16, 2013
  22. May 15, 2013
  23. May 10, 2013
  24. Apr 26, 2013
  25. Apr 02, 2013
  26. Mar 01, 2013
  27. Feb 25, 2013
  28. Feb 15, 2013
    • 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
  29. Feb 14, 2013
  30. Feb 13, 2013
  31. Feb 11, 2013
  32. Jan 25, 2013
    • Daniel Malea's avatar
      Disable confirmation prompts for testing · 318cbcef
      Daniel Malea authored
      - set auto-confirm to false when running TestExprs (avoid hang when using API)
      - set prompt-on-quit to false in test helper (avoid timeout when using lldb CLI)
      
      llvm-svn: 173485
      318cbcef
  33. Jan 15, 2013
    • Jim Ingham's avatar
      Separated the "expr --unwind-on-error" behavior into two parts, actual errors... · 184e9811
      Jim Ingham authored
      Separated the "expr --unwind-on-error" behavior into two parts, actual errors (i.e. crashes) which continue to be
      controlled by the --unwind-on-error flag, and --ignore-breakpoint which separately controls behavior when a called
      function hits a breakpoint.  For breakpoints, we don't unwind, we either stop, or ignore the breakpoint, which makes
      more sense.  
      Also make both these behaviors globally settable through "settings set".
      Also handle the case where a breakpoint command calls code that ends up re-hitting the breakpoint.  We were recursing
      and crashing.  Now we just stop without calling the second command.
      
      <rdar://problem/12986644>
      <rdar://problem/9119325>
      
      llvm-svn: 172503
      184e9811
  34. 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
  35. Jan 04, 2013
  36. Dec 07, 2012
  37. Dec 04, 2012
    • Greg Clayton's avatar
      <rdar://problem/12798131> · 3bcdfc0e
      Greg Clayton authored
      Cleaned up the option parsing code to always pass around the short options as integers. Previously we cast this down to "char" and lost some information. I recently added an assert that would detect duplicate short character options which was firing during the test suite.
      
      This fix does the following:
      - make sure all short options are treated as "int"
      - make sure that short options can be non-printable values when a short option is not required or when an option group is mixed into many commands and a short option is not desired
      - fix the help printing to "do the right thing" in all cases. Previously if there were duplicate short character options, it would just not emit help for the duplicates
      - fix option parsing when there are duplicates to parse options correctly. Previously the option parsing, when done for an OptionGroup, would just start parsing options incorrectly by omitting table entries and it would end up setting the wrong option value
      
      llvm-svn: 169189
      3bcdfc0e
Loading