Files
clang-p2996/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.h
Jacob Lalonde 4120570dc4 [LLDB][SaveCore] Add SBSaveCoreOptions Object, and SBProcess::SaveCore() overload (#98403)
This PR adds `SBSaveCoreOptions`, which is a container class for options
when LLDB is taking coredumps. For this first iteration this container
just keeps parity with the extant API of `file, style, plugin`. In the
future this options object can be extended to allow users to take a
subset of their core dumps.
2024-07-18 17:10:15 -07:00

23 lines
752 B
C++

//===-- WindowsMiniDump.h ---------------------------------------*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
#ifndef LLDB_SOURCE_PLUGINS_OBJECTFILE_PECOFF_WINDOWSMINIDUMP_H
#define LLDB_SOURCE_PLUGINS_OBJECTFILE_PECOFF_WINDOWSMINIDUMP_H
#include "lldb/Target/Process.h"
namespace lldb_private {
bool SaveMiniDump(const lldb::ProcessSP &process_sp,
const SaveCoreOptions &core_options,
lldb_private::Status &error);
} // namespace lldb_private
#endif