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.
Paths
| Differential D68181
SBDebugger::SetInputFile, SetOutputFile, etc. ClosedPublic Authored by lawrence_danna on Sep 28 2019, 12:13 AM.
Details Summary Add new methods to SBDebugger to set IO files as SBFiles instead of In future commits, the FILE* methods will be deprecated and these
Diff Detail
Event Timelinelawrence_danna added a child revision: D68188: allow arbitrary python streams to be converted to SBFile.Sep 29 2019, 12:24 AM Comment Actions Looks mostly fine to me. Just a couple of questions inline...
lawrence_danna marked an inline comment as done. Comment Actions LGTM. thanks.
This revision is now accepted and ready to land.Oct 1 2019, 3:07 AM lawrence_danna added a child revision: D68317: factor out an abstract base class for File.Oct 1 2019, 8:56 PM lawrence_danna removed a child revision: D68188: allow arbitrary python streams to be converted to SBFile. Closed by commit rL373563: SBDebugger::SetInputFile, SetOutputFile, etc. (authored by lawrence_danna). · Explain WhyOct 2 2019, 9:05 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 222284 lldb/include/lldb/API/SBDebugger.h
lldb/include/lldb/API/SBFile.hlldb/include/lldb/Core/Debugger.h
lldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
lldb/scripts/interface/SBDebugger.i
lldb/source/API/SBDebugger.cpp
lldb/source/Core/Debugger.cpp
|
All (including private) SB methods should be defined out of line. Otherwise, their implementation becomes a part of the ABI.