[Lldb-commits] [lldb] [lldb-dap] Restore the override FD used by the output redirect on stop. (PR #129964)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 6 13:06:35 PST 2025
================
@@ -36,7 +38,8 @@ Expected<int> OutputRedirector::GetWriteFileDescriptor() {
return m_fd;
}
-Error OutputRedirector::RedirectTo(std::function<void(StringRef)> callback) {
+Error OutputRedirector::RedirectTo(std::FILE *override,
----------------
JDevlieghere wrote:
Let's avoid using a keyword.
```suggestion
Error OutputRedirector::RedirectTo(std::FILE *file_override,
```
https://github.com/llvm/llvm-project/pull/129964
More information about the lldb-commits
mailing list