summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Windows/DynamicLoaderWindows.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-12-05 18:45:53 +0000
committerZachary Turner <zturner@google.com>2014-12-05 18:45:53 +0000
commitcfd3b1ae6fc3a7116a2d5484b8b4efd24c8bcf42 (patch)
treeb7d4389d1a6ba6dc13d8110cad3f8bf0e047dbc6 /lldb/source/Plugins/Process/Windows/DynamicLoaderWindows.h
parent383c36e3a805e5c2f0cc6dbca5d1a6e61fff229b (diff)
downloadbcm5719-llvm-cfd3b1ae6fc3a7116a2d5484b8b4efd24c8bcf42.tar.gz
bcm5719-llvm-cfd3b1ae6fc3a7116a2d5484b8b4efd24c8bcf42.zip
Implement an empty DynamicLoader plugin for Windows.
llvm-svn: 223496
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/DynamicLoaderWindows.h')
-rw-r--r--lldb/source/Plugins/Process/Windows/DynamicLoaderWindows.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Windows/DynamicLoaderWindows.h b/lldb/source/Plugins/Process/Windows/DynamicLoaderWindows.h
new file mode 100644
index 00000000000..b9cfb92eae0
--- /dev/null
+++ b/lldb/source/Plugins/Process/Windows/DynamicLoaderWindows.h
@@ -0,0 +1,43 @@
+//===-- DynamicLoaderWindows.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_Plugins_Process_Windows_DynamicLoaderWindows_H_
+#define liblldb_Plugins_Process_Windows_DynamicLoaderWindows_H_
+
+#include "lldb/lldb-forward.h"
+#include "lldb/Target/DynamicLoader.h"
+
+namespace lldb_private
+{
+
+class DynamicLoaderWindows : public DynamicLoader
+{
+ public:
+ DynamicLoaderWindows(Process *process);
+ virtual ~DynamicLoaderWindows();
+
+ static void Initialize();
+ static void Terminate();
+ static ConstString GetPluginNameStatic();
+ static const char *GetPluginDescriptionStatic();
+
+ static DynamicLoader *CreateInstance(Process *process, bool force);
+
+ void DidAttach () override;
+ void DidLaunch () override;
+ Error CanLoadImage () override;
+ lldb::ThreadPlanSP GetStepThroughTrampolinePlan(Thread &thread, bool stop) override;
+
+ virtual ConstString GetPluginName() override;
+ virtual uint32_t GetPluginVersion() override;
+};
+
+}
+
+#endif \ No newline at end of file
OpenPOWER on IntegriCloud