1 //===-- DynamicLoaderWindowsDYLDh ----------------------------------*- 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_DynamicLoaderWindowsDYLD_H_
11 #define liblldb_Plugins_Process_Windows_DynamicLoaderWindowsDYLD_H_
12 
13 #include "lldb/lldb-forward.h"
14 #include "lldb/Target/DynamicLoader.h"
15 
16 namespace lldb_private
17 {
18 
19 class DynamicLoaderWindowsDYLD : public DynamicLoader
20 {
21   public:
22     static void Initialize();
23     static void Terminate();
24     static ConstString GetPluginNameStatic();
25     static const char *GetPluginDescriptionStatic();
26 
27     DynamicLoaderWindowsDYLD(Process *process);
28     virtual ~DynamicLoaderWindowsDYLD();
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 
37     ConstString GetPluginName() override;
38     uint32_t GetPluginVersion() override;
39 };
40 }
41 
42 #endif
43