Commit Lawrence D'Anna's patch to change
authorJason Molenda <jmolenda@apple.com>
Thu, 2 Nov 2017 02:02:56 +0000 (02:02 +0000)
committerJason Molenda <jmolenda@apple.com>
Thu, 2 Nov 2017 02:02:56 +0000 (02:02 +0000)
commitc139a402b2349e61d3e6f7494179a5ed949c3206
tree9b7ae26ebc8fc2da512c140c12aa403f97f4c6a7
parent09d4efee5200cc25860e202cf693e988174b111b
Commit Lawrence D'Anna's patch to change
SetOututFileHandle to work with IOBase.

I did make one change after checking with Larry --
I renamed SBDebugger::Flush to FlushDebuggerOutputHandles
and added a short docstring to the .i file to make it
a little clearer under which context programs may need
to use this API.

Differential Revision: https://reviews.llvm.org/D38829

llvm-svn: 317180
lldb/include/lldb/API/SBDebugger.h
lldb/include/lldb/Core/Debugger.h
lldb/include/lldb/Host/File.h
lldb/scripts/interface/SBDebugger.i
lldb/source/API/SBDebugger.cpp
lldb/source/Core/Debugger.cpp
lldb/source/Host/common/File.cpp
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h