summaryrefslogtreecommitdiffstats
path: root/lldb/include/lldb/lldb-private-interfaces.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/include/lldb/lldb-private-interfaces.h')
-rw-r--r--lldb/include/lldb/lldb-private-interfaces.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/lldb/include/lldb/lldb-private-interfaces.h b/lldb/include/lldb/lldb-private-interfaces.h
new file mode 100644
index 00000000000..3cd8aab476b
--- /dev/null
+++ b/lldb/include/lldb/lldb-private-interfaces.h
@@ -0,0 +1,37 @@
+//===-- lldb-private-interfaces.h -------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef liblldb_lldb_interfaces_h_
+#define liblldb_lldb_interfaces_h_
+
+#if defined(__cplusplus)
+#ifndef NO_RTTI
+
+#include "lldb/lldb-private.h"
+
+namespace lldb_private
+{
+ typedef ABI* (*ABICreateInstance) (const ConstString &triple);
+ typedef Disassembler* (*DisassemblerCreateInstance) (const ArchSpec &arch);
+ typedef DynamicLoader* (*DynamicLoaderCreateInstance) (Process* process);
+ typedef ObjectContainer* (*ObjectContainerCreateInstance) (Module* module, lldb::DataBufferSP& dataSP, const FileSpec *file, lldb::addr_t offset, lldb::addr_t length);
+ typedef ObjectFile* (*ObjectFileCreateInstance) (Module* module, lldb::DataBufferSP& dataSP, const FileSpec* file, lldb::addr_t offset, lldb::addr_t length);
+ typedef LogChannel* (*LogChannelCreateInstance) ();
+ typedef Process* (*ProcessCreateInstance) (Target &target, Listener &listener);
+ typedef SymbolFile* (*SymbolFileCreateInstance) (ObjectFile* obj_file);
+ typedef SymbolVendor* (*SymbolVendorCreateInstance) (Module *module); // Module can be NULL for default system symbol vendor
+ typedef bool (*BreakpointHitCallback) (void *baton, StoppointCallbackContext *context, lldb::user_id_t break_id, lldb::user_id_t break_loc_id);
+ typedef bool (*WatchpointHitCallback) (void *baton, StoppointCallbackContext *context, lldb::user_id_t watch_id, uint32_t type);
+ typedef ThreadPlan * (*ThreadPlanShouldStopHereCallback) (ThreadPlan *current_plan, Flags &flags, void *baton);
+} // namespace lldb_private
+
+#endif // #ifndef NO_RTTI
+#endif // #if defined(__cplusplus)
+
+#endif // liblldb_lldb_interfaces_h_
OpenPOWER on IntegriCloud