Host/Config.h is where we have platform specific preprocessor defines that are configured at CMake time. Then, we can include this file lldb/Host/Config.h and read the value of defines. This is basically identical to what llvm does with llvm/Support/llvm-config.h, the only fundamental differences being: a) LLDB configures it into lldb/Host where as the spiritual equivalent to llvm/Support is lldb/Utility, and b) LLDB calls it Config.h and LLVM calls it llvm-config.h.
This patch brings LLDB in line with LLVM here by configuring into lldb/Utility/lldb-config.h, in part for consistency and in part for more practical reasons.
The practical reasons are that I want to use Socket.h from a new tool / library without having to link all of LLDB such as Clang, Python, etc, and that's not currently possible with the current layering, as linking to Host will link to everything.
So this is a necessary first step. llvm/Support's model for handling platform specific differences is quite convenient both from a usability as well as a maintenance perspective, and I'd like to gradually move towards that whenever an opportunity / need arises. So the immediate plan is to move config.h to Utility, and then start by moving pieces -- as necessary -- from Host to Utility until I can get Socket just by linking to lldbUtility.