SBFile support in SBCommandReturnObject
Summary: This patch add SBFile interfaces to SBCommandReturnObject, and removes the internal callers of its FILE* interfaces. Reviewers: JDevlieghere, jasonmolenda, labath Reviewed By: JDevlieghere Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D68434 llvm-svn: 374238
This commit is contained in:
@@ -879,8 +879,9 @@ bool ScriptInterpreterPythonImpl::ExecuteOneLine(
|
||||
::setbuf(outfile_handle, nullptr);
|
||||
|
||||
result->SetImmediateOutputFile(
|
||||
debugger.GetOutputFile().GetStream());
|
||||
result->SetImmediateErrorFile(debugger.GetErrorFile().GetStream());
|
||||
debugger.GetOutputStream().GetFileSP());
|
||||
result->SetImmediateErrorFile(
|
||||
debugger.GetErrorStream().GetFileSP());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user