summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2017-10-17 03:13:39 +0000
committerJason Molenda <jmolenda@apple.com>2017-10-17 03:13:39 +0000
commitef96986a1f8f47a67937c56564524e20e3903946 (patch)
tree73f1d33684267d5e455573a294b74eacb4c02a59 /lldb/source/Core
parent695a1f6e6cf7f164b71c5ee9f1756374547114c9 (diff)
downloadbcm5719-llvm-ef96986a1f8f47a67937c56564524e20e3903946.tar.gz
bcm5719-llvm-ef96986a1f8f47a67937c56564524e20e3903946.zip
Reverting r315966 - it caused a build failure on an ubuntu x android bot.
llvm-svn: 315967
Diffstat (limited to 'lldb/source/Core')
-rw-r--r--lldb/source/Core/Debugger.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index 1f097ecff50..a4d78151c75 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -680,15 +680,6 @@ void Debugger::Destroy(DebuggerSP &debugger_sp) {
if (!debugger_sp)
return;
- /*
- * FILE* get flushed on process exit. If those FILEs need to call into python
- * to flush, we can't have them flushing after python is already torn down.
- * That would result in a segfault. We are still relying on the python script
- * to tear down the debugger before it exits.
- */
- debugger_sp->m_output_file_sp->Flush();
- debugger_sp->m_error_file_sp->Flush();
-
debugger_sp->Clear();
if (g_debugger_list_ptr && g_debugger_list_mutex_ptr) {
@@ -905,11 +896,6 @@ void Debugger::SetErrorFileHandle(FILE *fh, bool tranfer_ownership) {
err_file.SetStream(stderr, false);
}
-void Debugger::Flush() {
- m_output_file_sp->Flush();
- m_error_file_sp->Flush();
-}
-
void Debugger::SaveInputTerminalState() {
if (m_input_file_sp) {
File &in_file = m_input_file_sp->GetFile();
OpenPOWER on IntegriCloud