llvm-project/lldb/source/Host/common
Vedant Kumar 7ec933e501 [lldb] Add #include to appease the modules build
This #include appears to be completely unnecessary, but it does fix the
following build failure:

http://green.lab.llvm.org/green/job/lldb-cmake/4565/consoleText

FAILED: tools/lldb/source/Host/CMakeFiles/lldbHost.dir/common/MainLoop.cpp.o
/Users/buildslave/jenkins/workspace/lldb-cmake/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -DLIBXML2_DEFINED -DLLDB_CONFIGURATION_RELEASE -DLLDB_USE_OS_LOG -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/lldb/source/Host -I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/Host -Itools/lldb/source -I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/include -Itools/lldb/include -Iinclude -I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/llvm/include -I/usr/local/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/llvm/../clang/include -Itools/lldb/../clang/include -I/usr/local/include -I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/. -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2 -Wdocumentation -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/module.cache -fcxx-modules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O3  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk   -UNDEBUG  -fno-exceptions -fno-rtti -std=c++14 -MD -MT tools/lldb/source/Host/CMakeFiles/lldbHost.dir/common/MainLoop.cpp.o -MF tools/lldb/source/Host/CMakeFiles/lldbHost.dir/common/MainLoop.cpp.o.d -o tools/lldb/source/Host/CMakeFiles/lldbHost.dir/common/MainLoop.cpp.o -c /Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/Host/common/MainLoop.cpp
/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/Host/common/MainLoop.cpp:211:7: error: use of undeclared identifier 'ppoll'
  if (ppoll(read_fds.data(), read_fds.size(), nullptr, &sigmask) == -1 &&
      ^
/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/Host/common/MainLoop.cpp:336:25: error: use of undeclared identifier 'HAVE_SYS_EVENT_H'
  ret = pthread_sigmask(HAVE_SYS_EVENT_H ? SIG_UNBLOCK : SIG_BLOCK,
                        ^
2 errors generated.
2019-12-10 12:37:26 -08:00
..
Editline.cpp Fix a -Wsign-compare error around wchar_t vs unsigned int. 2019-12-10 11:18:57 -08:00
File.cpp [LLDB][Python] fix another fflush issue on NetBSD 2019-10-29 09:41:22 -07:00
FileAction.cpp [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
FileCache.cpp uint32_t options -> File::OpenOptions options 2019-10-14 20:15:34 +00:00
FileSystem.cpp uint32_t options -> File::OpenOptions options 2019-10-14 20:15:34 +00:00
GetOptInc.cpp Fix LLDB warnings when compiling with Clang 8.0 2019-05-21 19:35:06 +00:00
Host.cpp [-gmodules] Let LLDB log a warning if the Clang module hash mismatches. 2019-11-15 11:52:13 -08:00
HostInfoBase.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
HostNativeThreadBase.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
HostProcess.cpp Change LaunchThread interface to return an Expected for non-Apple-non-Windows 2019-07-08 07:07:05 +00:00
HostThread.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LZMA.cpp Simplify LZMA decoding by using ArrayRef::take_back 2019-10-08 15:43:29 +00:00
LockFileBase.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MainLoop.cpp [lldb] Add #include to appease the modules build 2019-12-10 12:37:26 -08:00
MonitoringProcessLauncher.cpp Change LaunchThread interface to return an Expected for non-Apple-non-Windows 2019-07-08 07:07:05 +00:00
NativeProcessProtocol.cpp Add arm64_32 support to lldb, an ILP32 codegen 2019-10-16 19:14:49 +00:00
NativeRegisterContext.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
NativeThreadProtocol.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
NativeWatchpointList.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OptionParser.cpp Options: Reduce code duplication 2019-07-10 17:09:47 +00:00
PipeBase.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ProcessLaunchInfo.cpp Change LaunchThread interface to return an Expected for non-Apple-non-Windows 2019-07-08 07:07:05 +00:00
ProcessRunLock.cpp [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
PseudoTerminal.cpp [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
Socket.cpp refactor: move IOObject::m_should_close_fd into subclasses 2019-09-27 20:43:50 +00:00
SocketAddress.cpp [lldb] Fix more -Wdeprecated-copy warnings 2019-11-12 14:39:47 +01:00
StringConvert.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TCPSocket.cpp [lldb] Fix more -Wdeprecated-copy warnings 2019-11-12 14:39:47 +01:00
TaskPool.cpp Change LaunchThread interface to return an expected. 2019-07-05 17:42:08 +00:00
Terminal.cpp [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
ThreadLauncher.cpp [lldb, windows] Include WindowsError instead of ErrorHandling in ThreadLauncher 2019-07-09 18:41:31 +00:00
UDPSocket.cpp [LLDB] Check for _WIN32 instead of _MSC_VER for code specific to windows in general 2019-09-23 12:03:56 +00:00
XML.cpp [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00