================ @@ -274,10 +274,8 @@ static Status spawn_process(const char *progname, const FileSpec &prog, self_args.AppendArgument(llvm::StringRef("platform")); self_args.AppendArgument(llvm::StringRef("--child-platform-fd")); self_args.AppendArgument(llvm::to_string(shared_socket.GetSendableFD())); -#ifndef _WIN32 launch_info.AppendDuplicateFileAction((int)shared_socket.GetSendableFD(), (int)shared_socket.GetSendableFD()); ---------------- slydiman wrote:
https://learn.microsoft.com/en-us/windows/win32/winprog64/interprocess-communication > It is safe to truncate the handle (when passing it from 64-bit to 32-bit) or > sign-extend the handle (when passing it from 32-bit to 64-bit) https://github.com/llvm/llvm-project/pull/137978 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits