Skip to content
  1. May 15, 2013
  2. May 09, 2013
  3. May 03, 2013
  4. Apr 27, 2013
  5. Apr 24, 2013
  6. 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
  7. Mar 28, 2013
  8. 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
  9. Mar 06, 2013
    • Andrew Kaylor's avatar
      Skipping TestConstVariables on Linux. · 7bdeab59
      Andrew Kaylor authored
      The test was marked as expectedFailureLinux, but now it passes with gcc and some versions of clang.  Newer versions of clang introduce a failure due to bad DWARF information.
      
      llvm-svn: 176581
      7bdeab59
    • Greg Clayton's avatar
      Fixed enum printing for negative enums. There previously was no testing to... · 5d14fc06
      Greg Clayton authored
      Fixed enum printing for negative enums. There previously was no testing to validate that enum values were being displayed correctly.
      
      Also added C++11 enum test cases to cover enums as int8_t, int16_t int32_t, int64_t, uint8_t, uint16_t, uint32_t, and uint64_t both for DWARF and dSYM cases. The DWARF being emitted by clang is missing the enum integer type, but the code is now ready to accept and deal with the integral type if it is supplied.
      
      llvm-svn: 176548
      5d14fc06
  10. Mar 05, 2013
  11. Feb 28, 2013
  12. Feb 27, 2013
  13. Feb 26, 2013
    • Jim Ingham's avatar
      Fix the .categories, it had "dataformatter" not "dataformatters". · d882998e
      Jim Ingham authored
      Remove the getCategory from TestDataFormatterObjC.py, since it was superceded by the .categories file, 
      and didn't work anyway (getCategories currently has to be a method on the test class, not on the test.)
      Add a "basic_process" category, and start to find some tests for simple process running sniff tests.
      
      llvm-svn: 176061
      d882998e
  14. Feb 22, 2013
  15. Feb 20, 2013
  16. 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
  17. Feb 14, 2013
  18. Feb 13, 2013
  19. Jan 25, 2013
  20. Jan 18, 2013
  21. 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
  22. Dec 14, 2012
  23. 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
  24. Dec 06, 2012
    • Jim Ingham's avatar
      b58671ec
    • Greg Clayton's avatar
      <rdar://problem/12560257> · 4ef877f5
      Greg Clayton authored
      Fixed zero sized arrays to work correctly. This will only happen once we get a clang that emits correct debug info for zero sized arrays. For now I have marked the TestStructTypes.py as an expected failure.
      
      llvm-svn: 169465
      4ef877f5
    • Sean Callanan's avatar
      Rewrote the bitfield logic. Major changes include: · faa0bb3f
      Sean Callanan authored
      - Removed the BitfieldMap class because it is unnecessary.
        We now just track the most recently added field.
      
      - Moved the code that calculates bitfield widths so it
        can also be used to determine whether it's necessary
        to insert anonymous fields.
      
      - Simplified the anonymous field calculation code into
        three cases (two of which are resolved identically).
      
      - Beefed up the bitfield testcase.
      
      llvm-svn: 169449
      faa0bb3f
  25. 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
  26. Nov 27, 2012
  27. Nov 26, 2012
    • Daniel Malea's avatar
      Improvement to TestGlobalVariables fix · b0916015
      Daniel Malea authored
      - use lldb settings command instead of os.environ
      - use dyldPath fixture variable instead of hardcoding LD_LIBRARY_PATH
      - add tear-down hook to restore environment after testcase is run
      
      llvm-svn: 168613
      b0916015
    • Daniel Malea's avatar
      Fix for TestSharedLib.py (on Linux) · 179ff298
      Daniel Malea authored
      - use lldb 'settings' command to help testcase find shared library
      - pull up dyldPath variable from TestLoadUnload.py to fixture base class (applicable in multiple cases)
      
      llvm-svn: 168612
      179ff298
    • Daniel Malea's avatar
      Fix TestGlobalVariables.py (on Linux) · bdf0fef0
      Daniel Malea authored
      - setting LD_LIBRARY_PATH required for the test program to run correctly
      
      llvm-svn: 168595
      bdf0fef0
  28. Nov 09, 2012
  29. Nov 06, 2012
  30. Oct 23, 2012
  31. Sep 22, 2012
  32. Jul 18, 2012
Loading