summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-05-19 17:34:48 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-05-19 17:34:48 +0000
commitea384b4f857f88ff417822f293994d27d1685a5c (patch)
tree4ecf0a038b8d6dd8a11e859401a377cb0c442366
parent1cbedd3ee0043ef7ce18d6dabe296583e6891d2d (diff)
downloadbcm5719-llvm-ea384b4f857f88ff417822f293994d27d1685a5c.tar.gz
bcm5719-llvm-ea384b4f857f88ff417822f293994d27d1685a5c.zip
Remove some old files which should have been removed in r131193
llvm-svn: 131647
-rw-r--r--lldb/source/Target/ArchDefaultUnwindPlan.cpp54
-rw-r--r--lldb/source/Target/ArchVolatileRegs.cpp40
2 files changed, 0 insertions, 94 deletions
diff --git a/lldb/source/Target/ArchDefaultUnwindPlan.cpp b/lldb/source/Target/ArchDefaultUnwindPlan.cpp
deleted file mode 100644
index ff402a4c435..00000000000
--- a/lldb/source/Target/ArchDefaultUnwindPlan.cpp
+++ /dev/null
@@ -1,54 +0,0 @@
-//===-- ArchDefaultUnwindPlan.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/Core/PluginManager.h"
-
-#include <map>
-
-#include "lldb/Core/ArchSpec.h"
-#include "lldb/Core/PluginInterface.h"
-#include "lldb/Host/Mutex.h"
-#include "lldb/Target/ArchDefaultUnwindPlan.h"
-
-using namespace lldb;
-using namespace lldb_private;
-
-ArchDefaultUnwindPlanSP
-ArchDefaultUnwindPlan::FindPlugin (const ArchSpec &arch)
-{
- ArchDefaultUnwindPlanCreateInstance create_callback;
- typedef std::map <const ArchSpec, ArchDefaultUnwindPlanSP> ArchDefaultUnwindPlanMap;
- static ArchDefaultUnwindPlanMap g_plugin_map;
- static Mutex g_plugin_map_mutex (Mutex::eMutexTypeRecursive);
- Mutex::Locker locker (g_plugin_map_mutex);
- ArchDefaultUnwindPlanMap::iterator pos = g_plugin_map.find (arch);
- if (pos != g_plugin_map.end())
- return pos->second;
-
- for (uint32_t idx = 0;
- (create_callback = PluginManager::GetArchDefaultUnwindPlanCreateCallbackAtIndex(idx)) != NULL;
- ++idx)
- {
- ArchDefaultUnwindPlanSP default_unwind_plan_sp (create_callback (arch));
- if (default_unwind_plan_sp)
- {
- g_plugin_map[arch] = default_unwind_plan_sp;
- return default_unwind_plan_sp;
- }
- }
- return ArchDefaultUnwindPlanSP();
-}
-
-ArchDefaultUnwindPlan::ArchDefaultUnwindPlan ()
-{
-}
-
-ArchDefaultUnwindPlan::~ArchDefaultUnwindPlan ()
-{
-}
diff --git a/lldb/source/Target/ArchVolatileRegs.cpp b/lldb/source/Target/ArchVolatileRegs.cpp
deleted file mode 100644
index a6eea74b0a0..00000000000
--- a/lldb/source/Target/ArchVolatileRegs.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-//===-- ArchVolatileRegs.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/lldb-private.h"
-#include "lldb/Core/PluginManager.h"
-#include "lldb/Core/PluginInterface.h"
-#include "lldb/Target/ArchVolatileRegs.h"
-
-using namespace lldb;
-using namespace lldb_private;
-
-ArchVolatileRegs*
-ArchVolatileRegs::FindPlugin (const ArchSpec &arch)
-{
- ArchVolatileRegsCreateInstance create_callback;
-
- for (uint32_t idx = 0;
- (create_callback = PluginManager::GetArchVolatileRegsCreateCallbackAtIndex(idx)) != NULL;
- ++idx)
- {
- std::auto_ptr<ArchVolatileRegs> default_volatile_regs_ap (create_callback (arch));
- if (default_volatile_regs_ap.get ())
- return default_volatile_regs_ap.release ();
- }
- return NULL;
-}
-
-ArchVolatileRegs::ArchVolatileRegs ()
-{
-}
-
-ArchVolatileRegs::~ArchVolatileRegs ()
-{
-}
OpenPOWER on IntegriCloud