Index: lldb/cmake/XcodeHeaderGenerator/CMakeLists.txt =================================================================== --- lldb/cmake/XcodeHeaderGenerator/CMakeLists.txt +++ lldb/cmake/XcodeHeaderGenerator/CMakeLists.txt @@ -9,6 +9,6 @@ ) set(LLDB_CONFIG_HEADER_INPUT - ${CMAKE_CURRENT_SOURCE_DIR}/../../include/lldb/Host/Config.h.cmake) + ${CMAKE_CURRENT_SOURCE_DIR}/../../include/lldb/System/lldb-config.h.cmake) include(LLDBGenerateConfig) Index: lldb/cmake/modules/LLDBGenerateConfig.cmake =================================================================== --- lldb/cmake/modules/LLDBGenerateConfig.cmake +++ lldb/cmake/modules/LLDBGenerateConfig.cmake @@ -47,11 +47,11 @@ endif() if(NOT LLDB_CONFIG_HEADER_INPUT) - set(LLDB_CONFIG_HEADER_INPUT ${LLDB_INCLUDE_ROOT}/lldb/Host/Config.h.cmake) + set(LLDB_CONFIG_HEADER_INPUT ${LLDB_INCLUDE_ROOT}/lldb/System/lldb-config.h.cmake) endif() if(NOT LLDB_CONFIG_HEADER_OUTPUT) - set(LLDB_CONFIG_HEADER_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/include/lldb/Host/Config.h) + set(LLDB_CONFIG_HEADER_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/include/lldb/System/lldb-config.h) endif() # This should be done at the end Index: lldb/include/lldb/Host/MainLoop.h =================================================================== --- lldb/include/lldb/Host/MainLoop.h +++ lldb/include/lldb/Host/MainLoop.h @@ -9,8 +9,8 @@ #ifndef lldb_Host_MainLoop_h_ #define lldb_Host_MainLoop_h_ -#include "lldb/Host/Config.h" #include "lldb/Host/MainLoopBase.h" +#include "lldb/System/lldb-config.h" #include "llvm/ADT/DenseMap.h" #include Index: lldb/include/lldb/Host/Terminal.h =================================================================== --- lldb/include/lldb/Host/Terminal.h +++ lldb/include/lldb/Host/Terminal.h @@ -10,7 +10,7 @@ #define liblldb_Terminal_h_ #if defined(__cplusplus) -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include "lldb/lldb-private.h" struct termios; Index: lldb/include/lldb/Host/linux/Uio.h =================================================================== --- lldb/include/lldb/Host/linux/Uio.h +++ lldb/include/lldb/Host/linux/Uio.h @@ -9,7 +9,7 @@ #ifndef liblldb_Host_linux_Uio_h_ #define liblldb_Host_linux_Uio_h_ -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include // We shall provide our own implementation of process_vm_readv if it is not Index: lldb/include/lldb/System/lldb-config.h =================================================================== --- lldb/include/lldb/System/lldb-config.h +++ lldb/include/lldb/System/lldb-config.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef LLDB_HOST_CONFIG_H -#define LLDB_HOST_CONFIG_H - +#ifndef LLDB_UTILITY_CONFIG_H +#define LLDB_UTILITY_CONFIG_H + #if defined(__APPLE__) // This block of code only exists to keep the Xcode project working in the @@ -33,4 +33,4 @@ #endif -#endif // #ifndef LLDB_HOST_CONFIG_H +#endif // #ifndef LLDB_UTILITY_CONFIG_H Index: lldb/include/lldb/System/lldb-config.h.cmake =================================================================== --- lldb/include/lldb/System/lldb-config.h.cmake +++ lldb/include/lldb/System/lldb-config.h.cmake @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLDB_HOST_CONFIG_H -#define LLDB_HOST_CONFIG_H +#ifndef LLDB_UTILITY_CONFIG_H +#define LLDB_UTILITY_CONFIG_H #cmakedefine LLDB_CONFIG_TERMIOS_SUPPORTED @@ -33,4 +33,4 @@ #cmakedefine HAVE_LIBCOMPRESSION #endif -#endif // #ifndef LLDB_HOST_CONFIG_H +#endif // #ifndef LLDB_UTILITY_CONFIG_H Index: lldb/include/lldb/Target/Process.h =================================================================== --- lldb/include/lldb/Target/Process.h +++ lldb/include/lldb/Target/Process.h @@ -9,7 +9,7 @@ #ifndef liblldb_Process_h_ #define liblldb_Process_h_ -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include Index: lldb/source/Host/common/File.cpp =================================================================== --- lldb/source/Host/common/File.cpp +++ lldb/source/Host/common/File.cpp @@ -28,9 +28,9 @@ #include "llvm/Support/FileSystem.h" #include "llvm/Support/Process.h" -#include "lldb/Host/Config.h" #include "lldb/Host/FileSystem.h" #include "lldb/Host/Host.h" +#include "lldb/System/lldb-config.h" #include "lldb/Utility/DataBufferHeap.h" #include "lldb/Utility/FileSpec.h" #include "lldb/Utility/Log.h" Index: lldb/source/Host/common/HostInfoBase.cpp =================================================================== --- lldb/source/Host/common/HostInfoBase.cpp +++ lldb/source/Host/common/HostInfoBase.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include "lldb/Host/FileSystem.h" #include "lldb/Host/Host.h" Index: lldb/source/Host/common/ProcessLaunchInfo.cpp =================================================================== --- lldb/source/Host/common/ProcessLaunchInfo.cpp +++ lldb/source/Host/common/ProcessLaunchInfo.cpp @@ -8,11 +8,11 @@ #include -#include "lldb/Host/Config.h" #include "lldb/Host/FileAction.h" #include "lldb/Host/FileSystem.h" #include "lldb/Host/HostInfo.h" #include "lldb/Host/ProcessLaunchInfo.h" +#include "lldb/System/lldb-config.h" #include "lldb/Utility/Log.h" #include "lldb/Utility/StreamString.h" Index: lldb/source/Host/common/PseudoTerminal.cpp =================================================================== --- lldb/source/Host/common/PseudoTerminal.cpp +++ lldb/source/Host/common/PseudoTerminal.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include "lldb/Host/PseudoTerminal.h" -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include "llvm/Support/Errno.h" Index: lldb/source/Host/common/Socket.cpp =================================================================== --- lldb/source/Host/common/Socket.cpp +++ lldb/source/Host/common/Socket.cpp @@ -8,12 +8,12 @@ #include "lldb/Host/Socket.h" -#include "lldb/Host/Config.h" #include "lldb/Host/Host.h" #include "lldb/Host/SocketAddress.h" #include "lldb/Host/StringConvert.h" #include "lldb/Host/common/TCPSocket.h" #include "lldb/Host/common/UDPSocket.h" +#include "lldb/System/lldb-config.h" #include "lldb/Utility/Log.h" #include "lldb/Utility/RegularExpression.h" Index: lldb/source/Host/common/TCPSocket.cpp =================================================================== --- lldb/source/Host/common/TCPSocket.cpp +++ lldb/source/Host/common/TCPSocket.cpp @@ -12,8 +12,8 @@ #include "lldb/Host/common/TCPSocket.h" -#include "lldb/Host/Config.h" #include "lldb/Host/MainLoop.h" +#include "lldb/System/lldb-config.h" #include "lldb/Utility/Log.h" #include "llvm/Config/llvm-config.h" Index: lldb/source/Host/common/Terminal.cpp =================================================================== --- lldb/source/Host/common/Terminal.cpp +++ lldb/source/Host/common/Terminal.cpp @@ -8,8 +8,8 @@ #include "lldb/Host/Terminal.h" -#include "lldb/Host/Config.h" #include "lldb/Host/PosixApi.h" +#include "lldb/System/lldb-config.h" #include "llvm/ADT/STLExtras.h" #include Index: lldb/source/Host/common/UDPSocket.cpp =================================================================== --- lldb/source/Host/common/UDPSocket.cpp +++ lldb/source/Host/common/UDPSocket.cpp @@ -8,7 +8,7 @@ #include "lldb/Host/common/UDPSocket.h" -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include "lldb/Utility/Log.h" #ifndef LLDB_DISABLE_POSIX Index: lldb/source/Host/linux/HostInfoLinux.cpp =================================================================== --- lldb/source/Host/linux/HostInfoLinux.cpp +++ lldb/source/Host/linux/HostInfoLinux.cpp @@ -7,8 +7,8 @@ //===----------------------------------------------------------------------===// #include "lldb/Host/linux/HostInfoLinux.h" -#include "lldb/Host/Config.h" #include "lldb/Host/FileSystem.h" +#include "lldb/System/lldb-config.h" #include "lldb/Utility/Log.h" #include "llvm/Support/Threading.h" Index: lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp =================================================================== --- lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp +++ lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp @@ -14,9 +14,9 @@ #endif #include "lldb/Host/posix/ConnectionFileDescriptorPosix.h" -#include "lldb/Host/Config.h" #include "lldb/Host/Socket.h" #include "lldb/Host/SocketAddress.h" +#include "lldb/System/lldb-config.h" #include "lldb/Utility/SelectHelper.h" #include "lldb/Utility/Timeout.h" Index: lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp =================================================================== --- lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp +++ lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include "PlatformFreeBSD.h" -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include #ifndef LLDB_DISABLE_POSIX Index: lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp =================================================================== --- lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp +++ lldb/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp @@ -8,7 +8,7 @@ //===----------------------------------------------------------------------===// #include "PlatformKalimba.h" -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include "lldb/Core/Debugger.h" #include "lldb/Core/Module.h" Index: lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp =================================================================== --- lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp +++ lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include "PlatformLinux.h" -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include #ifndef LLDB_DISABLE_POSIX Index: lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp =================================================================== --- lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp +++ lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp @@ -7,8 +7,7 @@ //===----------------------------------------------------------------------===// #include "PlatformMacOSX.h" -#include "lldb/Host/Config.h" - +#include "lldb/System/lldb-config.h" #include Index: lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp =================================================================== --- lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp +++ lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include "PlatformNetBSD.h" -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include #ifndef LLDB_DISABLE_POSIX Index: lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp =================================================================== --- lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp +++ lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include "PlatformOpenBSD.h" -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include #ifndef LLDB_DISABLE_POSIX Index: lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp =================================================================== --- lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp +++ lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include "PlatformRemoteGDBServer.h" -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include "lldb/Breakpoint/BreakpointLocation.h" #include "lldb/Core/Debugger.h" Index: lldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp =================================================================== --- lldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp +++ lldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp @@ -11,9 +11,9 @@ #include "lldb/Core/StreamFile.h" #include "lldb/Core/ValueObject.h" #include "lldb/Expression/DiagnosticManager.h" -#include "lldb/Host/Config.h" #include "lldb/Symbol/ClangASTContext.h" #include "lldb/Symbol/SymbolContext.h" +#include "lldb/System/lldb-config.h" #include "lldb/Target/ExecutionContext.h" #include "lldb/Target/Platform.h" #include "lldb/Target/Process.h" Index: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h =================================================================== --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h +++ lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h @@ -18,8 +18,8 @@ #include #include "lldb/Core/Communication.h" -#include "lldb/Host/Config.h" #include "lldb/Host/HostThread.h" +#include "lldb/System/lldb-config.h" #include "lldb/Utility/Args.h" #include "lldb/Utility/Listener.h" #include "lldb/Utility/Predicate.h" Index: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp =================================================================== --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp @@ -32,7 +32,7 @@ #include "ProcessGDBRemote.h" #include "ProcessGDBRemoteLog.h" #include "lldb/Host/Config.h" -#include "lldb/Utility/StringExtractorGDBRemote.h" +#include "lldb/System/lldb-config.h" #include "llvm/ADT/StringSwitch.h" Index: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp =================================================================== --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp +++ lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp @@ -8,7 +8,7 @@ #include -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include "GDBRemoteCommunicationReplayServer.h" #include "ProcessGDBRemoteLog.h" Index: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp =================================================================== --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp +++ lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp @@ -8,7 +8,7 @@ #include -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include "GDBRemoteCommunicationServer.h" Index: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp =================================================================== --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp +++ lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp @@ -18,7 +18,6 @@ #include #include "lldb/Core/ModuleSpec.h" -#include "lldb/Host/Config.h" #include "lldb/Host/File.h" #include "lldb/Host/FileAction.h" #include "lldb/Host/FileSystem.h" @@ -27,6 +26,7 @@ #include "lldb/Host/SafeMachO.h" #include "lldb/Interpreter/OptionArgParser.h" #include "lldb/Symbol/ObjectFile.h" +#include "lldb/System/lldb-config.h" #include "lldb/Target/Platform.h" #include "lldb/Target/Process.h" #include "lldb/Utility/Endian.h" Index: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp =================================================================== --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp +++ lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp @@ -8,7 +8,7 @@ #include -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include "GDBRemoteCommunicationServerLLGS.h" #include "lldb/Utility/StreamGDBRemote.h" Index: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp =================================================================== --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp +++ lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp @@ -19,11 +19,11 @@ #include "llvm/Support/FileSystem.h" #include "llvm/Support/Threading.h" -#include "lldb/Host/Config.h" #include "lldb/Host/ConnectionFileDescriptor.h" #include "lldb/Host/FileAction.h" #include "lldb/Host/Host.h" #include "lldb/Host/HostInfo.h" +#include "lldb/System/lldb-config.h" #include "lldb/Target/Platform.h" #include "lldb/Target/Process.h" #include "lldb/Target/UnixSignals.h" Index: lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp =================================================================== --- lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include "lldb/Host/Config.h" +#include "lldb/System/lldb-config.h" #include #include Index: lldb/unittests/Host/SocketTest.cpp =================================================================== --- lldb/unittests/Host/SocketTest.cpp +++ lldb/unittests/Host/SocketTest.cpp @@ -12,10 +12,10 @@ #include "gtest/gtest.h" -#include "lldb/Host/Config.h" #include "lldb/Host/Socket.h" #include "lldb/Host/common/TCPSocket.h" #include "lldb/Host/common/UDPSocket.h" +#include "lldb/System/lldb-config.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h"