Skip to content
  • Greg Clayton's avatar
    Converted the lldb_private::Process over to use the intrusive · c14ee32d
    Greg Clayton authored
    shared pointers.
    
    Changed the ExecutionContext over to use shared pointers for
    the target, process, thread and frame since these objects can
    easily go away at any time and any object that was holding onto
    an ExecutionContext was running the risk of using a bad object.
    
    Now that the shared pointers for target, process, thread and
    frame are just a single pointer (they all use the instrusive
    shared pointers) the execution context is much safer and still
    the same size. 
    
    Made the shared pointers in the the ExecutionContext class protected
    and made accessors for all of the various ways to get at the pointers,
    references, and shared pointers.
    
    llvm-svn: 140298
    c14ee32d
Loading