summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBProcess.cpp
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2015-11-20 18:18:21 +0000
committerAdrian McCarthy <amccarth@google.com>2015-11-20 18:18:21 +0000
commitf9a2697e137c1873bff55e27018bd7dc4a2e2405 (patch)
treee47ea4dde7ba6aec16028873401cb8679c6b3402 /lldb/source/API/SBProcess.cpp
parentaf75dab3834f4afdc168df45b8bc93b44219c4ef (diff)
downloadbcm5719-llvm-f9a2697e137c1873bff55e27018bd7dc4a2e2405.tar.gz
bcm5719-llvm-f9a2697e137c1873bff55e27018bd7dc4a2e2405.zip
Revert "FOO"
Accidentally commited before I was done. This reverts commit 2ec2da4ee52780582d5e9c88b2e982a688fbdbe1. llvm-svn: 253685
Diffstat (limited to 'lldb/source/API/SBProcess.cpp')
-rw-r--r--lldb/source/API/SBProcess.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/lldb/source/API/SBProcess.cpp b/lldb/source/API/SBProcess.cpp
index afb4b6f17b3..95deabc2823 100644
--- a/lldb/source/API/SBProcess.cpp
+++ b/lldb/source/API/SBProcess.cpp
@@ -19,7 +19,6 @@
#include "lldb/Core/Debugger.h"
#include "lldb/Core/Log.h"
#include "lldb/Core/Module.h"
-#include "lldb/Core/PluginManager.h"
#include "lldb/Core/State.h"
#include "lldb/Core/Stream.h"
#include "lldb/Core/StreamFile.h"
@@ -1426,27 +1425,3 @@ SBProcess::IsInstrumentationRuntimePresent(InstrumentationRuntimeType type)
return runtime_sp->IsActive();
}
-
-lldb::SBError
-SBProcess::SaveCore(const char *file_name)
-{
- lldb::SBError error;
- ProcessSP process_sp(GetSP());
- if (!process_sp)
- {
- error.SetErrorString("SBProcess is invalid");
- return error;
- }
-
- Mutex::Locker api_locker(process_sp->GetTarget().GetAPIMutex());
-
- if (process_sp->GetState() != eStateStopped)
- {
- error.SetErrorString("the process is not stopped");
- return error;
- }
-
- FileSpec core_file(file_name, false);
- error.ref() = PluginManager::SaveCore(process_sp, core_file);
- return error;
-}
OpenPOWER on IntegriCloud