Skip to content
  1. Jan 08, 2013
  2. Jan 07, 2013
  3. Jan 05, 2013
  4. Jan 04, 2013
  5. Jan 03, 2013
  6. Dec 21, 2012
  7. Dec 20, 2012
  8. Dec 19, 2012
  9. Dec 18, 2012
  10. Dec 14, 2012
    • Andrew Kaylor's avatar
      Skipping the DeadStripTestCase.test_with_dwarf test on Linux because the Linux... · d3ce0041
      Andrew Kaylor authored
      Skipping the DeadStripTestCase.test_with_dwarf test on Linux because the Linux ld lacks support for the -dead_strip option.
      
      llvm-svn: 170244
      d3ce0041
    • Sean Callanan's avatar
      Made the struct test case actually use an expression · 06119a17
      Sean Callanan authored
      instead of falling through to the "frame variable"
      code.
      
      llvm-svn: 170169
      06119a17
    • Enrico Granata's avatar
      Fixing the -f option so that one specify multiple filters, e.g. · 73f601fb
      Enrico Granata authored
      ./dotest.py  -C clang --arch x86_64 --arch i386  -v -t -f ObjCDataFormatterTestCase.test_appkit_with_dsym_and_run_command -f ObjCDataFormatterTestCase.test_appkit_with_dwarf_and_run_command -f TestObjCBuiltinTypes.test_with_dsym_and_python_api -f TestObjCBuiltinTypes.test_with_dwarf_and_python_api -f ObjCDataFormatterTestCase.test_appkit_with_dsym_and_run_command -f ObjCDataFormatterTestCase.test_appkit_with_dwarf_and_run_command -f TestObjCBuiltinTypes.test_with_dsym_and_python_api -f -TestObjCBuiltinTypes.test_with_dwarf_and_python_api
      
      The previous implementation would only remember the last filter passed, and consequently break redo.py
      
      llvm-svn: 170163
      73f601fb
    • Enrico Granata's avatar
      <rdar://problem/11689939> · 9e7b3885
      Enrico Granata authored
      Supporting a compact display syntax for ObjC pointers where 0x00.....0 is replaced by a much more legible "nil"
      e.g. this would show:
      (NSArray *) $2 = nil
      instead of:
      (NSArray *) $2 = 0x0000000000000000 <nil>
      
      llvm-svn: 170161
      9e7b3885
  11. Dec 13, 2012
  12. 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
    • Enrico Granata's avatar
      Option changes: · 7b8c513f
      Enrico Granata authored
      the option to print the runtime-specific description has been modified in the frame variable, memory read and expression command.
      
      All three commands now support a --object-description option, with a shortcut of -O (uppercase letter o)
      
      This is a breaking change:
      frame variable used --objc as the long option name
      expression used -o as a shortcut
      memory read uses --objd as the long option name
      
      Hopefully, most users won't be affected by the change since people tend to access "expression --object-description" under the alias "po" which still works
      
      The test suite has been tweaked accordingly.
      
      llvm-svn: 169961
      7b8c513f
    • Greg Clayton's avatar
      <rdar://problem/12780507> · 89deb06b
      Greg Clayton authored
      Fix add-dsym ("target symbols add") to correctly add a dSYM file when the target arch doesn't match the arch of the module.
      
      llvm-svn: 169952
      89deb06b
  13. Dec 11, 2012
    • Enrico Granata's avatar
      Adding a validation callback mechanism to OptionValueString (such a feature... · 9d14084b
      Enrico Granata authored
      Adding a validation callback mechanism to OptionValueString (such a feature might theoretically be added to the general OptionValue base class should the need arise)
      Using this mechanism, making sure that the options to pass a summary string or a named summary to frame variable do not have invalid values
      
      <rdar://problem/11576143>
      
      llvm-svn: 169927
      9d14084b
    • Sean Callanan's avatar
      Fixed the IRInterpreter's handling of "this" and · 496970f6
      Sean Callanan authored
      "self" when those pointers are in registers.
      Previously in this case the IRInterpreter would
      handle them just as if the user had typed in
      "$rdi", which isn't safe because $rdi is passed
      in through the argument struct.
      
      Now we correctly break out all three cases (i.e.,
      normal variables in registers, $reg, and this/self),
      and handle them in a way that's a little bit easier
      to read and change.
      
      This results in more accurate printing of "this" and
      "self" pointers all around.  I have strengthened the
      optimized-code test case for Objective-C to ensure
      that we catch regressions in this area reliably in
      the future.
      
      <rdar://problem/12693963>
      
      llvm-svn: 169924
      496970f6
    • Enrico Granata's avatar
      <rdar://problem/12709976> · e6a6d9ae
      Enrico Granata authored
      Adding a summary for NSError
      
      llvm-svn: 169792
      e6a6d9ae
  14. Dec 07, 2012
  15. 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
  16. Dec 04, 2012
    • Daniel Malea's avatar
      4e718e7d
    • 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
  17. Nov 27, 2012
  18. 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
Loading