update SBDebugger::SetInputFile() etc to work on native Files
authorLawrence D'Anna <lawrence_danna@apple.com>
Thu, 10 Oct 2019 19:10:59 +0000 (19:10 +0000)
committerLawrence D'Anna <lawrence_danna@apple.com>
Thu, 10 Oct 2019 19:10:59 +0000 (19:10 +0000)
commitc040b30ffc3daadd7342579ee4cca9d3d37dee58
treee801e30ec110b86ad379a00b260662d36e38da1d
parentd49600320598a2b4e998e99f714c2e19d95197e8
update SBDebugger::SetInputFile() etc to work on native Files

Summary:
This patch adds FileSP versions of SetInputFile(),
SetOutputFile, and SetErrorFile().   SWIG will convert native
python file objects into FileSP.

Reviewers: JDevlieghere, jasonmolenda, labath

Reviewed By: labath

Subscribers: clayborg, lldb-commits

Tags: #lldb

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

llvm-svn: 374422
lldb/include/lldb/API/SBDebugger.h
lldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
lldb/scripts/interface/SBDebugger.i
lldb/source/API/SBDebugger.cpp