LLDB mainline
ForwardDecl.h
Go to the documentation of this file.
1//===-- ForwardDecl.h -------------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef liblldb_Plugins_Process_Windows_ForwardDecl_H_
10#define liblldb_Plugins_Process_Windows_ForwardDecl_H_
11
12#include <memory>
13
14// ExceptionResult is returned by the debug delegate to specify how it processed
15// the exception.
16enum class ExceptionResult {
17 BreakInDebugger, // Break in the debugger and give the user a chance to
18 // interact with
19 // the program before continuing.
20 MaskException, // Eat the exception and don't let the application know it
21 // occurred.
22 SendToApplication // Send the exception to the application to be handled as if
23 // there were
24 // no debugger attached.
25};
26
27// DllEventAction is returned by the debug delegate's DLL load/unload handlers
28// to tell the DebuggerThread what to do with its debug loop.
29enum class DllEventAction : bool {
30 // Keep the debug loop running: no stop was reported to the client.
32 // A stop was reported to the client. Park the debug loop until the client
33 // resumes the process.
35};
36
37namespace lldb_private {
38
39class ProcessWindows;
40
41class IDebugDelegate;
42class DebuggerThread;
43class ExceptionRecord;
44
45using DebugDelegateSP = std::shared_ptr<IDebugDelegate>;
46using DebuggerThreadSP = std::shared_ptr<DebuggerThread>;
47using ExceptionRecordSP = std::shared_ptr<ExceptionRecord>;
48using ExceptionRecordUP = std::unique_ptr<ExceptionRecord>;
49}
50
51#endif
ExceptionResult
Definition ForwardDecl.h:16
DllEventAction
Definition ForwardDecl.h:29
A class that represents a running process on the host machine.
std::shared_ptr< DebuggerThread > DebuggerThreadSP
Definition ForwardDecl.h:46
std::unique_ptr< ExceptionRecord > ExceptionRecordUP
Definition ForwardDecl.h:48
std::shared_ptr< IDebugDelegate > DebugDelegateSP
Definition ForwardDecl.h:45
std::shared_ptr< ExceptionRecord > ExceptionRecordSP
Definition ForwardDecl.h:47