[lldb-dev] Build failure on Linux

Gábor Márton via lldb-dev lldb-dev at lists.llvm.org
Tue Mar 5 03:10:24 PST 2019


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


More information about the lldb-dev mailing list