Skip to content
  1. Aug 16, 2011
  2. Aug 15, 2011
  3. Aug 13, 2011
  4. Aug 12, 2011
  5. Aug 11, 2011
  6. Aug 10, 2011
    • Sean Callanan's avatar
      Fixed a problem that prevented access to members · 5207a340
      Sean Callanan authored
      of string literals ("hello"[2]).  Also fixed a
      problem in which empty string literals were not
      being compiled correctly ((int)printf("") would
      print garbage).
      
      Added a testcase that covers both.
      
      llvm-svn: 137247
      5207a340
    • Enrico Granata's avatar
      CFString.py now shows contents in a more NSString-like way (e.g. you get... · ce68b02c
      Enrico Granata authored
      CFString.py now shows contents in a more NSString-like way (e.g. you get @"Hello" instead of "Hello")
      new --raw-output (-R) option to frame variable prevents using summaries and synthetic children
       other future formatting enhancements will be excluded by using the -R option
       test case enhanced to check that -R works correctly
      
      llvm-svn: 137185
      ce68b02c
  7. Aug 09, 2011
    • Jim Ingham's avatar
      Typo in the test case for i386. · ae24c42f
      Jim Ingham authored
      llvm-svn: 137149
      ae24c42f
    • Sean Callanan's avatar
      Fixed the Objective-C "self" test case, which · 85a96b12
      Sean Callanan authored
      was behaving erratically because it didn't
      have a return statement in -[A init].
      
      Also made minor cosmetic changes to that test
      case.
      
      llvm-svn: 137142
      85a96b12
    • Johnny Chen's avatar
      Silence clang warning. · 356b8188
      Johnny Chen authored
      llvm-svn: 137141
      356b8188
    • Johnny Chen's avatar
      Simplify lang/objc/self/Makefile, plus it's wrong. :-) · 53e2edbc
      Johnny Chen authored
      For Makefile.rules, the modification of CFLAGS (addition of -arch $(ARCH) for Darwin) needs to come before
      the consuming of CFLAGS, not after.
      
      llvm-svn: 137140
      53e2edbc
    • Johnny Chen's avatar
    • Jim Ingham's avatar
      Move the handling of breakpoint conditions from the Private event loop to the... · 4b536182
      Jim Ingham authored
      Move the handling of breakpoint conditions from the Private event loop to the StopInfoBreakpoint::DoActions, which happens as the 
      event is removed.  Also use the return value of asynchronous breakpoint callbacks, they get checked before, and override the 
      breakpoint conditions.
      
      Added ProcessModInfo class, to unify "stop_id generation" and "memory modification generation", and use where needed.
      
      llvm-svn: 137102
      4b536182
    • Enrico Granata's avatar
      Basic support for reading synthetic children by index: · 27b625e1
      Enrico Granata authored
       if your datatype provides synthetic children, "frame variable object[index]" should now do the right thing
       in cases where the above syntax would have been rejected before, i.e.
        object is not a pointer nor an array (frame variable ignores potential overload of [])
        object is a pointer to an Objective-C class (which cannot be dereferenced)
       expression will still run operator[] if available and complain if it cannot do so
       synthetic children by name do not work yet
      
      llvm-svn: 137097
      27b625e1
    • Johnny Chen's avatar
      Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed · 250a5017
      Johnny Chen authored
      on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code.  This file is not
      exercised during the normal test suite run, i.e., no +b option specified.  So it should be ok.
      
      The following is the benchmark result on my MBP running OSX Lion:
      
      [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate
      /Volumes/data/lldb/svn/trunk/build/Debug
      LLDB-71
      Path: /Volumes/data/lldb/svn/trunk
      URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk
      Repository Root: https://johnny@llvm.org/svn/llvm-project
      Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
      Revision: 137008
      Node Kind: directory
      Schedule: normal
      Last Changed Author: gclayton
      Last Changed Rev: 137008
      Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011)
      
      
      
      Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52'
      Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate
      ----------------------------------------------------------------------
      Collected 2 tests
      
      1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly)
         Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 
      4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113)
      4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849)
      gdb_42_avg/gdb_41_avg: 0.982236
      ok
      2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly)
         Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 
      4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012)
      4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089)
      gdb_42_avg/gdb_41_avg: 0.991119
      ok
      
      ----------------------------------------------------------------------
      Ran 2 tests in 15.688s
      
      OK
      
      llvm-svn: 137092
      250a5017
  8. Aug 06, 2011
    • Sean Callanan's avatar
      Made the expression parser use the StackFrame's · 69b5341c
      Sean Callanan authored
      variable search API rather than rolling its own,
      fixing one of our testcases.
      
      llvm-svn: 137004
      69b5341c
    • Sean Callanan's avatar
      This is an overhaul of the expression parser code · 72e4940b
      Sean Callanan authored
      that detects what context the current expression is
      meant to execute in.  LLDB now properly consults
      the method declaration in the debug information
      rather than trying to hunt down the "this" or "self"
      pointer by name, which can be misleading.
      
      Other fixes include:
      
      - LLDB now properly detects that it is inside
        an inlined C++ member function.
      
      - LLDB now allows access to non-const members when
        in const code.
      
      - The functions in SymbolFile that locate the
        DeclContext containing a DIE have been renamed
        to reflect what they actually do.  I have added
        new functions that find the DeclContext for the
        DIE itself.
      
      I have also introduced testcases for C++ and 
      Objective-C.
      
      llvm-svn: 136999
      72e4940b
    • Johnny Chen's avatar
      On second thought, add the IsValid() method to SBTypeList, making it similar... · 76ea84ea
      Johnny Chen authored
      On second thought, add the IsValid() method to SBTypeList, making it similar to SBSymbolContextList and SBValueList.
      Modify the test suite accordingly.
      
      llvm-svn: 136990
      76ea84ea
  9. Aug 05, 2011
Loading