================ @@ -6,25 +6,21 @@ // //===----------------------------------------------------------------------===// -#include <algorithm> #include <iomanip> #include <optional> #include <sstream> #include <string.h> #include "llvm/ADT/StringRef.h" -#include "llvm/Support/FormatAdapters.h" #include "llvm/Support/FormatVariadic.h" #include "llvm/Support/Path.h" #include "llvm/Support/ScopedPrinter.h" -#include "lldb/API/SBBreakpoint.h" -#include "lldb/API/SBBreakpointLocation.h" #include "lldb/API/SBDeclaration.h" +#include "lldb/API/SBStream.h" #include "lldb/API/SBStringList.h" #include "lldb/API/SBStructuredData.h" #include "lldb/API/SBValue.h" -#include "lldb/Host/PosixApi.h" ---------------- ZequanWu wrote:
Removing this include breaks lldb windows build because it includes `lldb/Host/windows/PosixApi.h` on windows. That provides the definition for `PATH_MAX`, used later in this file. I fixed it on https://github.com/llvm/llvm-project/commit/19c0a74ad6baa9eb38dbe0a20af7c67999c41821 https://github.com/llvm/llvm-project/pull/113839 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits