//===-- WindowsMiniDump.cpp -----------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // This function is separated out from ObjectFilePECOFF.cpp to name avoid name // collisions with WinAPI preprocessor macros. #include "WindowsMiniDump.h" #include "lldb/Utility/FileSpec.h" #include "llvm/Support/ConvertUTF.h" #ifdef _WIN32 #include "lldb/Host/windows/windows.h" #include <dbghelp.h> #endif namespace lldb_private { bool SaveMiniDump(const lldb::ProcessSP &process_sp, SaveCoreOptions &core_options, lldb_private::Status &error) { … } } // namesapce lldb_private