aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/lldb-private-forward.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/lldb-private-forward.h')
-rw-r--r--include/lldb/lldb-private-forward.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/include/lldb/lldb-private-forward.h b/include/lldb/lldb-private-forward.h
new file mode 100644
index 000000000000..424aa4cc53f4
--- /dev/null
+++ b/include/lldb/lldb-private-forward.h
@@ -0,0 +1,41 @@
+//===-- lldb-private-forward.h ----------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_lldb_private_forward_h_
+#define LLDB_lldb_private_forward_h_
+
+#if defined(__cplusplus)
+
+#include <memory>
+
+namespace lldb_private
+{
+ // ---------------------------------------------------------------
+ // Class forward decls.
+ // ---------------------------------------------------------------
+ class NativeBreakpoint;
+ class NativeBreakpointList;
+ class NativeProcessProtocol;
+ class NativeRegisterContext;
+ class NativeThreadProtocol;
+ class UnixSignals;
+
+ // ---------------------------------------------------------------
+ // SP/WP decls.
+ // ---------------------------------------------------------------
+ typedef std::shared_ptr<NativeBreakpoint> NativeBreakpointSP;
+ typedef std::shared_ptr<lldb_private::NativeProcessProtocol> NativeProcessProtocolSP;
+ typedef std::weak_ptr<lldb_private::NativeProcessProtocol> NativeProcessProtocolWP;
+ typedef std::shared_ptr<lldb_private::NativeRegisterContext> NativeRegisterContextSP;
+ typedef std::shared_ptr<lldb_private::NativeThreadProtocol> NativeThreadProtocolSP;
+ typedef std::shared_ptr<lldb_private::UnixSignals> UnixSignalsSP;
+}
+
+#endif // #if defined(__cplusplus)
+#endif // #ifndef LLDB_lldb_private_forward_h_