Zachary Turner | cfd3b1a | 2014-12-05 18:45:53 +0000 | [diff] [blame^] | 1 | //===-- DynamicLoaderWindows.h ----------------------------------*- 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_DynamicLoaderWindows_H_ |
| 11 | #define liblldb_Plugins_Process_Windows_DynamicLoaderWindows_H_ |
| 12 | |
| 13 | #include "lldb/lldb-forward.h" |
| 14 | #include "lldb/Target/DynamicLoader.h" |
| 15 | |
| 16 | namespace lldb_private |
| 17 | { |
| 18 | |
| 19 | class DynamicLoaderWindows : public DynamicLoader |
| 20 | { |
| 21 | public: |
| 22 | DynamicLoaderWindows(Process *process); |
| 23 | virtual ~DynamicLoaderWindows(); |
| 24 | |
| 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 | |
| 37 | virtual ConstString GetPluginName() override; |
| 38 | virtual uint32_t GetPluginVersion() override; |
| 39 | }; |
| 40 | |
| 41 | } |
| 42 | |
| 43 | #endif |