diff options
author | Lawrence D'Anna <lawrence_danna@apple.com> | 2019-10-03 04:04:48 +0000 |
---|---|---|
committer | Lawrence D'Anna <lawrence_danna@apple.com> | 2019-10-03 04:04:48 +0000 |
commit | 96898eb6a935533aaebbfbd085150fbf705c0ffc (patch) | |
tree | 810c11bdcc946df6b525a243f65b19d9c59ce9d0 /lldb/scripts | |
parent | 5750453020926ce270aee38bd5eb7f0ff3467237 (diff) | |
download | bcm5719-llvm-96898eb6a935533aaebbfbd085150fbf705c0ffc.tar.gz bcm5719-llvm-96898eb6a935533aaebbfbd085150fbf705c0ffc.zip |
SBDebugger::SetInputFile, SetOutputFile, etc.
Summary:
Add new methods to SBDebugger to set IO files as SBFiles instead of
as FILE* streams.
In future commits, the FILE* methods will be deprecated and these
will become the primary way to set the debugger I/O streams.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68181
llvm-svn: 373563
Diffstat (limited to 'lldb/scripts')
-rw-r--r-- | lldb/scripts/interface/SBDebugger.i | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBDebugger.i b/lldb/scripts/interface/SBDebugger.i index f3cee14b61a..c4eb11ea356 100644 --- a/lldb/scripts/interface/SBDebugger.i +++ b/lldb/scripts/interface/SBDebugger.i @@ -183,6 +183,24 @@ public: FILE * GetErrorFileHandle (); + SBError + SetInputFile (SBFile file); + + SBError + SetOutputFile (SBFile file); + + SBError + SetErrorFile (SBFile file); + + SBFile + GetInputFile (); + + SBFile + GetOutputFile (); + + SBFile + GetErrorFile (); + lldb::SBCommandInterpreter GetCommandInterpreter (); |