Skip to content
  1. Sep 02, 2010
    • Greg Clayton's avatar
      Added a new bool parameter to many of the DumpStopContext() methods that · 6dadd508
      Greg Clayton authored
      might dump file paths that allows the dumping of full paths or just the
      basenames. Switched the stack frame dumping code to use just the basenames for
      the files instead of the full path.
      
      Modified the StackID class to no rely on needing the start PC for the current
      function/symbol since we can use the SymbolContextScope to uniquely identify
      that, unless there is no symbol context scope. In that case we can rely upon
      the current PC value. This saves the StackID from having to calculate the 
      start PC when the StackFrame::GetStackID() accessor is called.
      
      Also improved the StackID less than operator to correctly handle inlined stack
      frames in the same stack.
      
      llvm-svn: 112867
      6dadd508
    • Johnny Chen's avatar
      Moved the process cleanup of Script-Bridge-based APIs into TestBase.tearDown() · 7d1d7537
      Johnny Chen authored
      method where they belong.  Also fixed a logic error in maintaining the command
      interface flag (runStarted) indicating whether the lldb "run"/"process launch"
      command has been issued.  It was erroneously cleared.
      
      Modified the test cases to take advantage of the refactoring.
      
      llvm-svn: 112863
      7d1d7537
    • Johnny Chen's avatar
      (query-replace "variable list" "frame variable") · 979e7966
      Johnny Chen authored
      llvm-svn: 112824
      979e7966
    • Greg Clayton's avatar
      StackFrame objects now own ValueObjects for any frame variables (locals, args, · 288bdf9c
      Greg Clayton authored
      function statics, file globals and static variables) that a frame contains. 
      The StackFrame objects can give out ValueObjects instances for
      each variable which allows us to track when a variable changes and doesn't
      depend on variable names when getting value objects.
      
      StackFrame::GetVariableList now takes a boolean to indicate if we want to
      get the frame compile unit globals and static variables.
      
      The value objects in the stack frames can now correctly track when they have
      been modified. There are a few more tweaks needed to complete this work. The
      biggest issue is when stepping creates partial stacks (just frame zero usually)
      and causes previous stack frames not to match up with the current stack frames
      because the previous frames only has frame zero. We don't really want to 
      require that all previous frames be complete since stepping often must check
      stack frames to complete their jobs. I will fix this issue tomorrow.
      
      llvm-svn: 112800
      288bdf9c
    • Sean Callanan's avatar
      Added code to run pointer validation checks in · 8e999e40
      Sean Callanan authored
      expressions.  If an expression dereferences an
      invalid pointer, there will still be a crash -
      just now the crash will be in the function
      ___clang_valid_pointer_check().
      
      llvm-svn: 112785
      8e999e40
    • Jim Ingham's avatar
      Move "variable list" to "frame variable" · 6d56d2ce
      Jim Ingham authored
      llvm-svn: 112782
      6d56d2ce
    • Johnny Chen's avatar
      Fixed comment. · b92555c3
      Johnny Chen authored
      llvm-svn: 112750
      b92555c3
    • Johnny Chen's avatar
      13639089
  2. Sep 01, 2010
  3. Aug 31, 2010
  4. Aug 30, 2010
    • Johnny Chen's avatar
      Added a system() method to the TestBase class of lldbtest.py, which is actually · 8952a2d5
      Johnny Chen authored
      taken from Python 2.7's subprocess.check_output() convenience function.  The
      purpose of this method is to run the os command with arguments and return its
      output as a byte string.
      
      Modified hello_world/TestHelloWorld.py to have two test cases:
      
      o test_with_dsym_and_run_command
      o test_with_dwarf_and_process_launch_api
      
      with the dsym case conditioned on sys.platform.startswith("darwin") being true.
      The two cases utilize the system() method to invoke "make clean; make MAKE_DYSM=YES/NO"
      to prepare for the appropriate debugging format before running the test logic.
      
      llvm-svn: 112530
      8952a2d5
    • Sean Callanan's avatar
      Fixed a bug where ClangExpressionVariableList was · eb433971
      Sean Callanan authored
      storing pointers to objects inside a std::vector.
      These objects can move around as the std::vector
      changes, invalidating the pointers.
      
      llvm-svn: 112527
      eb433971
    • Jim Ingham's avatar
      Added a way to open the current source file & line in an external editor, and... · e40e4218
      Jim Ingham authored
      Added a way to open the current source file & line in an external editor, and you can turn this on with:
      
      lldb -e
      
      llvm-svn: 112502
      e40e4218
    • Greg Clayton's avatar
      Clarified the intent of the SymbolContextScope class in the header · 59e8fc1c
      Greg Clayton authored
      documentation. Symbol now inherits from the symbol
      context scope so that the StackID can use a "SymbolContextScope *"
      instead of a blockID (which could have been the same as some other
      blockID from another symbol file). 
      
      Modified the stacks that are created on subsequent stops to reuse
      the previous stack frame objects which will allow for some internal
      optimization using pointer comparisons during stepping. 
      
      llvm-svn: 112495
      59e8fc1c
  5. Aug 28, 2010
Loading