We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7793bae commit 4492632Copy full SHA for 4492632
lldb/tools/lldb-dap/lldb-dap.cpp
@@ -571,9 +571,9 @@ int main(int argc, char *argv[]) {
571
}
572
573
lldb::IOObjectSP input = std::make_shared<NativeFile>(
574
- fileno(stdin), File::eOpenOptionReadOnly, true);
+ fileno(stdin), File::eOpenOptionReadOnly, NativeFile::Unowned);
575
lldb::IOObjectSP output = std::make_shared<NativeFile>(
576
- stdout_fd, File::eOpenOptionWriteOnly, false);
+ stdout_fd, File::eOpenOptionWriteOnly, NativeFile::Unowned);
577
578
constexpr llvm::StringLiteral client_name = "stdin/stdout";
579
Transport transport(client_name, log.get(), input, output);
0 commit comments