[Lldb-commits] [lldb] r246578 - Have the Process hold a weak_ptr to the Target.

Ed Maste via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 2 07:53:51 PDT 2015

On 1 September 2015 at 16:02, Zachary Turner via lldb-commits
<lldb-commits at lists.llvm.org> wrote:
> Author: zturner
> Date: Tue Sep  1 15:02:29 2015
> New Revision: 246578
> URL: http://llvm.org/viewvc/llvm-project?rev=246578&view=rev
> Log:
> Have the Process hold a weak_ptr to the Target.

Hi Zach, would you be able to make the corresponding changes to the
FreeBSD files as well? If I had time I'd just do it because I expect
it's a pretty mechanical change, but I won't be able to look until
after Labor day.

error: no matching constructor for initialization of
    : Process(target, listener, unix_signals_sp),
      ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tools/lldb/include/lldb/Target/Process.h:964:5: note: candidate
constructor not viable: no known conversion from
'lldb_private::Target' to 'lldb::TargetSP' (aka
'shared_ptr<lldb_private::Target>') for 1st argument
    Process(lldb::TargetSP target_sp, Listener &listener, const
lldb::UnixSignalsSP &unix_signals_sp);

More information about the lldb-commits mailing list