From 38a1b7ea58cc970505d35fe6e154a74352cc6d57 Mon Sep 17 00:00:00 2001 From: Stephane Sezer Date: Wed, 8 Jul 2015 18:07:13 +0000 Subject: Move WindowsDYLD to the Plugins/DynamicLoader directory. Summary: This commit moves the Windows DyanamicLoader to the common DynamicLoader directory. This is required to remote debug Windows targets. This commit also initializes the Windows DYLD plugin in SystemInitializerCommon (similarly to both POSIX and MacOSX DYLD plugins) so that we can automatically instantiate this class when connected to a windows process. Test Plan: Build. Reviewers: zturner Subscribers: lldb-commits, abdulras Differential Revision: http://reviews.llvm.org/D10882 llvm-svn: 241697 --- .../Plugins/Process/Windows/DynamicLoaderWindows.h | 43 ---------------------- 1 file changed, 43 deletions(-) delete mode 100644 lldb/source/Plugins/Process/Windows/DynamicLoaderWindows.h (limited to 'lldb/source/Plugins/Process/Windows/DynamicLoaderWindows.h') diff --git a/lldb/source/Plugins/Process/Windows/DynamicLoaderWindows.h b/lldb/source/Plugins/Process/Windows/DynamicLoaderWindows.h deleted file mode 100644 index 304c6f8f639..00000000000 --- a/lldb/source/Plugins/Process/Windows/DynamicLoaderWindows.h +++ /dev/null @@ -1,43 +0,0 @@ -//===-- 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; - - ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; -}; - -} - -#endif -- cgit v1.2.3