Re: [lldb-dev] Can Process hold a TargetSP instead of a Target&?

2015-08-31 Thread Greg Clayton via lldb-dev
> On Aug 31, 2015, at 1:34 PM, Zachary Turner wrote: > > Windows plugin holds a strong reference to itself. It calls > shared_from_this() when the process is launched, and it releases this strong > reference after a process exits. It does this because the debug loop

Re: [lldb-dev] Can Process hold a TargetSP instead of a Target&?

2015-08-31 Thread Zachary Turner via lldb-dev
Sounds good. I already have that working in a local patch, but I will wait for the fix you described earlier to go in first, and handle the merge and check in the weak_ptr change. On Mon, Aug 31, 2015 at 2:53 PM Greg Clayton wrote: > > > On Aug 31, 2015, at 1:34 PM, Zachary