summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Windows/MiniDump/x86/RegisterContextWindowsMiniDump_x86.cpp
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2016-11-16 16:04:14 +0000
committerAdrian McCarthy <amccarth@google.com>2016-11-16 16:04:14 +0000
commit1ca677f4c49c9c2404d80535180b24ca561a3434 (patch)
tree36e7e9b59dde0a091021834142996a67316455ed /lldb/source/Plugins/Process/Windows/MiniDump/x86/RegisterContextWindowsMiniDump_x86.cpp
parent67354487512b4c40ee0db885e45fc7f48e554384 (diff)
downloadbcm5719-llvm-1ca677f4c49c9c2404d80535180b24ca561a3434.tar.gz
bcm5719-llvm-1ca677f4c49c9c2404d80535180b24ca561a3434.zip
Remove Windows-specific minidump plugin
With the cross-platform minidump plugin working, the Windows-specific one is no longer needed. This eliminates the unnecessary code. This does not eliminate the Windows-specific tests, as they hit a few cases the general tests don't. (The Windows-specific tests are currently passing.) I'll look into a separate patch to make sure we're not doing too much duplicate testing. After that I might do a little re-org in the Windows plugin, as there was some factoring there (Common & Live) that probably isn't necessary anymore. Differential Revision: https://reviews.llvm.org/D26697 llvm-svn: 287113
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/MiniDump/x86/RegisterContextWindowsMiniDump_x86.cpp')
-rw-r--r--lldb/source/Plugins/Process/Windows/MiniDump/x86/RegisterContextWindowsMiniDump_x86.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/lldb/source/Plugins/Process/Windows/MiniDump/x86/RegisterContextWindowsMiniDump_x86.cpp b/lldb/source/Plugins/Process/Windows/MiniDump/x86/RegisterContextWindowsMiniDump_x86.cpp
deleted file mode 100644
index c34a1335b36..00000000000
--- a/lldb/source/Plugins/Process/Windows/MiniDump/x86/RegisterContextWindowsMiniDump_x86.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-//===-- RegisterContextWindowsMiniDump_x86.cpp ------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#include "lldb/Host/windows/windows.h"
-#include "lldb/lldb-private-types.h"
-
-#include "RegisterContextWindowsMiniDump_x86.h"
-
-using namespace lldb;
-
-namespace lldb_private {
-
-RegisterContextWindowsMiniDump_x86::RegisterContextWindowsMiniDump_x86(
- Thread &thread, uint32_t concrete_frame_idx, const CONTEXT *context)
- : RegisterContextWindows_x86(thread, concrete_frame_idx) {
- if (context) {
- m_context = *context;
- m_context_stale = false;
- }
-}
-
-RegisterContextWindowsMiniDump_x86::~RegisterContextWindowsMiniDump_x86() {}
-
-bool RegisterContextWindowsMiniDump_x86::WriteRegister(
- const RegisterInfo * /* reg_info */,
- const RegisterValue & /* reg_value */) {
- return false;
-}
-
-bool RegisterContextWindowsMiniDump_x86::CacheAllRegisterValues() {
- // Since this is post-mortem debugging, we either have the context or we
- // don't.
- return !m_context_stale;
-}
-
-} // namespace lldb_private
OpenPOWER on IntegriCloud