blob: 5b35b9c662efc6a80243f927c13f223d9741b5a0 [file] [log] [blame]
Zachary Turner742346a2014-11-05 22:16:28 +00001//===-- ForwardDecl.h -------------------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef liblldb_Plugins_Process_Windows_ForwardDecl_H_
11#define liblldb_Plugins_Process_Windows_ForwardDecl_H_
12
13class ProcessWindows;
14
15#include <memory>
16
Zachary Turnerdcd80372014-11-11 00:00:14 +000017// ExceptionResult is returned by the debug delegate to specify how it processed
18// the exception.
19enum class ExceptionResult
20{
Zachary Turner10196952014-11-17 21:31:30 +000021 BreakInDebugger, // Break in the debugger and give the user a chance to interact with
22 // the program before continuing.
23 MaskException, // Eat the exception and don't let the application know it occurred.
24 SendToApplication // Send the exception to the application to be handled as if there were
25 // no debugger attached.
Zachary Turnerdcd80372014-11-11 00:00:14 +000026};
27
Zachary Turner742346a2014-11-05 22:16:28 +000028namespace lldb_private
29{
Zachary Turner742346a2014-11-05 22:16:28 +000030
Zachary Turnerdcd80372014-11-11 00:00:14 +000031class IDebugDelegate;
Zachary Turner02862bc2014-11-07 23:44:13 +000032class DebuggerThread;
Zachary Turnerdcd80372014-11-11 00:00:14 +000033class ExceptionRecord;
34
Zachary Turner742346a2014-11-05 22:16:28 +000035typedef std::shared_ptr<IDebugDelegate> DebugDelegateSP;
Zachary Turner3985f892014-11-10 22:32:18 +000036typedef std::shared_ptr<DebuggerThread> DebuggerThreadSP;
Zachary Turnerfb6c34942014-12-10 23:25:10 +000037typedef std::shared_ptr<ExceptionRecord> ExceptionRecordSP;
Zachary Turnerc6a66532014-12-03 22:04:18 +000038typedef std::unique_ptr<ExceptionRecord> ExceptionRecordUP;
Zachary Turner742346a2014-11-05 22:16:28 +000039}
40
41#endif