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

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 2 07:55:40 PDT 2015


I'll take a look today, thanks for letting me know

On Wed, Sep 2, 2015 at 7:54 AM Ed Maste <emaste at freebsd.org> wrote:

> 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.
>
> ../tools/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp:290:7:
> error: no matching constructor for initialization of
> 'lldb_private::Process'
>     : 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);
>     ^
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150902/30ae7275/attachment.html>


More information about the lldb-commits mailing list