blob: d12b999f4627c8130ce390931ec75cb93147773e [file] [log] [blame]
Stephane Sezer38a1b7e2015-07-08 18:07:13 +00001//===-- DynamicLoaderWindowsDYLDh ----------------------------------*- C++ -*-===//
Zachary Turnercfd3b1a2014-12-05 18:45:53 +00002//
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
Stephane Sezer38a1b7e2015-07-08 18:07:13 +000010#ifndef liblldb_Plugins_Process_Windows_DynamicLoaderWindowsDYLD_H_
11#define liblldb_Plugins_Process_Windows_DynamicLoaderWindowsDYLD_H_
Zachary Turnercfd3b1a2014-12-05 18:45:53 +000012
13#include "lldb/lldb-forward.h"
14#include "lldb/Target/DynamicLoader.h"
15
16namespace lldb_private
17{
18
Stephane Sezer38a1b7e2015-07-08 18:07:13 +000019class DynamicLoaderWindowsDYLD : public DynamicLoader
Zachary Turnercfd3b1a2014-12-05 18:45:53 +000020{
21 public:
Stephane Sezer38a1b7e2015-07-08 18:07:13 +000022 DynamicLoaderWindowsDYLD(Process *process);
23 virtual ~DynamicLoaderWindowsDYLD();
Zachary Turnercfd3b1a2014-12-05 18:45:53 +000024
25 static void Initialize();
26 static void Terminate();
27 static ConstString GetPluginNameStatic();
28 static const char *GetPluginDescriptionStatic();
29
30 static DynamicLoader *CreateInstance(Process *process, bool force);
31
32 void DidAttach () override;
33 void DidLaunch () override;
34 Error CanLoadImage () override;
35 lldb::ThreadPlanSP GetStepThroughTrampolinePlan(Thread &thread, bool stop) override;
36
David Blaikiebcd891f2015-04-08 17:22:09 +000037 ConstString GetPluginName() override;
38 uint32_t GetPluginVersion() override;
Zachary Turnercfd3b1a2014-12-05 18:45:53 +000039};
40
41}
42
David Blaikiebcd891f2015-04-08 17:22:09 +000043#endif