Skip to content
  1. Aug 10, 2010
  2. Aug 09, 2010
  3. Aug 07, 2010
  4. Aug 06, 2010
  5. Aug 05, 2010
  6. Aug 04, 2010
    • Greg Clayton's avatar
      Abtracted the old "lldb_private::Thread::StopInfo" into an abtract class. · f4b47e15
      Greg Clayton authored
      This will allow debugger plug-ins to make any instance of "lldb_private::StopInfo"
      that can completely describe any stop reason. It also provides a framework for
      doing intelligent things with the stop info at important times in the lifetime
      of the inferior. 
      
      Examples include the signal stop info in StopInfoUnixSignal. It will check with
      the process to see that the current action is for the signal. These actions
      include wether to stop for the signal, wether the notify that the signal was
      hit, and wether to pass the signal along to the inferior process. The 
      StopInfoUnixSignal class overrides the "ShouldStop()" method of StopInfo and
      this allows the stop info to determine if it should stop at the signal or 
      continue the process. 
      
      
      StopInfo subclasses must override the following functions:
      
          virtual lldb::StopReason
          GetStopReason () const = 0;
      
          virtual const char *
          GetDescription () = 0;
      
      
      StopInfo subclasses can override the following functions:
      
      
          // If the subclass returns "false", the inferior will resume. The default
          // version of this function returns "true" which means the default stop
          // info will stop the process. The breakpoint subclass will check if
          // the breakpoint wants us to stop by calling any installed callback on
          // the breakpoint, and also checking if the breakpoint is for the current
          // thread. Signals will check if they should stop based off of the 
          // UnixSignal settings in the process.
          virtual bool
          ShouldStop (Event *event_ptr);
      
          // Sublasses can state if they want to notify the debugger when "ShouldStop"
          // returns false. This would be handy for breakpoints where you want to
          // log information and continue and is also used by the signal stop info
          // to notify that a signal was received (after it checks with the process
          // signal settings).
          virtual bool
          ShouldNotify (Event *event_ptr)
          {
              return false;
          }
      
          // Allow subclasses to do something intelligent right before we resume.
          // The signal class will figure out if the signal should be propagated
          // to the inferior process and pass that along to the debugger plug-ins.
          virtual void
          WillResume (lldb::StateType resume_state)
          {
              // By default, don't do anything
          }
      
      
      The support the Mach exceptions was moved into the lldb/source/Plugins/Process/Utility
      folder and now doesn't polute the lldb_private::Thread class with platform
      specific code.
      
      llvm-svn: 110184
      f4b47e15
    • Sean Callanan's avatar
      Added support for accessing members of C++ objects, · 5666b674
      Sean Callanan authored
      including superclass members.  This involved ensuring
      that access control was ignored, and ensuring that
      the operands of BitCasts were properly scanned for
      variables that needed importing.
      
      Also laid the groundwork for declaring objects of
      custom types; however, this functionality is disabled
      for now because of a potential loop in ASTImporter.
      
      llvm-svn: 110174
      5666b674
    • Johnny Chen's avatar
      Added README file for the test suite. · fee57bb4
      Johnny Chen authored
      llvm-svn: 110160
      fee57bb4
  7. Aug 03, 2010
    • Greg Clayton's avatar
      Added FindTypes to Module and ModuleList. · 3504eee8
      Greg Clayton authored
      llvm-svn: 110093
      3504eee8
    • Greg Clayton's avatar
      Added support for objective C built-in types: id, Class, and SEL. This · b0b9fe61
      Greg Clayton authored
      involved watching for the objective C built-in types in DWARF and making sure
      when we convert the DWARF types into clang types that we use the appropriate
      ASTContext types.
      
      Added a way to find and dump types in lldb (something equivalent to gdb's 
      "ptype" command):
      
          image lookup --type <TYPENAME>
      
      This only works for looking up types by name and won't work with variables.
      It also currently dumps out verbose internal information. I will modify it
      to dump more appropriate user level info in my next submission.
      
      Hookup up the "FindTypes()" functions in the SymbolFile and SymbolVendor so
      we can lookup types by name in one or more images.
      
      Fixed "image lookup --address <ADDRESS>" to be able to correctly show all
      symbol context information, but it will only show this extra information when
      the new "--verbose" flag is used.
      
      Updated to latest LLVM to get a few needed fixes.
      
      llvm-svn: 110089
      b0b9fe61
    • Sean Callanan's avatar
      Set a CodeGenOption in Clang to inhibit insertion · 4cf04d20
      Sean Callanan authored
      of profiling code into expressions.
      
      Modified IRForTarget to emit array and record
      member accesses correctly.  (Reading and writing
      both work.)
      
      llvm-svn: 110088
      4cf04d20
  8. Aug 02, 2010
  9. Jul 31, 2010
  10. Jul 30, 2010
  11. Jul 29, 2010
  12. Jul 28, 2010
Loading