42 lines · c
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-exception6//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 processed15// the exception.16enum class ExceptionResult {17 BreakInDebugger, // Break in the debugger and give the user a chance to18 // interact with19 // the program before continuing.20 MaskException, // Eat the exception and don't let the application know it21 // occurred.22 SendToApplication // Send the exception to the application to be handled as if23 // there were24 // no debugger attached.25};26 27namespace lldb_private {28 29class ProcessWindows;30 31class IDebugDelegate;32class DebuggerThread;33class ExceptionRecord;34 35typedef std::shared_ptr<IDebugDelegate> DebugDelegateSP;36typedef std::shared_ptr<DebuggerThread> DebuggerThreadSP;37typedef std::shared_ptr<ExceptionRecord> ExceptionRecordSP;38typedef std::unique_ptr<ExceptionRecord> ExceptionRecordUP;39}40 41#endif42