[lldb-dev] Build failure on Linux

Gábor Márton via lldb-dev lldb-dev at lists.llvm.org
Tue Mar 5 08:58:33 PST 2019


Yes, it works. Thanks!

On Tue, Mar 5, 2019 at 4:54 PM Davide Italiano <dccitaliano at gmail.com> wrote:
>
> I think this might have been fixed, try to pull.
>
> On Tue, Mar 5, 2019 at 3:10 AM Gábor Márton via lldb-dev
> <lldb-dev at lists.llvm.org> wrote:
> >
> > Hi,
> >
> > On trunk I receive the following build error on Linux:
> > ../../git/llvm/tools/lldb/include/lldb/lldb-forward.h:181:7: note:
> > forward declaration of 'lldb_private::ProcessInstanceInfoList'
> > class ProcessInstanceInfoList;
> >       ^
> > ../../git/llvm/tools/lldb/source/Host/linux/Host.cpp:260:23: error:
> > member access into incomplete type
> > 'lldb_private::ProcessInstanceInfoList'
> >   return process_infos.GetSize();
> >
> > When I put back the below line into linux/Host.cpp
> >  #include "lldb/Target/Process.h"
> > the error is gone.
> >
> > Based on this info, this commit could be blamed:
> > commit e9a520afd257bf71f7ead0d33e4734008abf690c
> > Author:     Zachary Turner <zturner at google.com>
> > AuthorDate: Mon Mar 4 21:51:03 2019 +0000
> > Commit:     Zachary Turner <zturner at google.com>
> > CommitDate: Mon Mar 4 21:51:03 2019 +0000
> >
> >     Move ProcessInfo from Host to Utility.
> >
> > Could you please take a look?
> >
> > Thanks,
> > Gabor
> > _______________________________________________
> > lldb-dev mailing list
> > lldb-dev at lists.llvm.org
> > https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


More information about the lldb-dev mailing list