diff options
| author | Jason Molenda <jmolenda@apple.com> | 2017-11-02 02:33:59 +0000 |
|---|---|---|
| committer | Jason Molenda <jmolenda@apple.com> | 2017-11-02 02:33:59 +0000 |
| commit | 9e27b70a07c35880da49619bd85ce47cb327fb02 (patch) | |
| tree | 762e0282deb26585734f6da6e2bb472d8189a351 /lldb/source/Core/Debugger.cpp | |
| parent | c139a402b2349e61d3e6f7494179a5ed949c3206 (diff) | |
| download | bcm5719-llvm-9e27b70a07c35880da49619bd85ce47cb327fb02.tar.gz bcm5719-llvm-9e27b70a07c35880da49619bd85ce47cb327fb02.zip | |
Ahhhh roll back that commit, I didn't see that Lawrence had filed
a separate phabracator with the revised change. This was his
first atttempt which broke on the bots the second time too.
llvm-svn: 317181
Diffstat (limited to 'lldb/source/Core/Debugger.cpp')
| -rw-r--r-- | lldb/source/Core/Debugger.cpp | 14 |
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(); |

