<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/62301>62301</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[lldb] "SBLaunchInfo.AddOpenFileAction" does not support unix socket(on linux) and named pipe(on Windows) as redirect target
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ShuiRuTian
</td>
</tr>
</table>
<pre>
I found this: https://github.com/llvm/llvm-project/issues/25460
So `lldb now uses socketpair for local communication with lldb-server.`
But it seems lldb itself does not provide a way to redirect the input or output from/to unix socket(Linux) or named pipe(Windows, https://learn.microsoft.com/en-us/windows/win32/ipc/pipe-names?redirectedfrom=MSDN).
It would be natural to support unix socket as another FIFO like(named pipe is already supported) source for linux, and enable Windows to do the similar thing.
Finally ,although not related, Node provides IPC through such two ways(https://nodejs.org/api/net.html#ipc-support). So this feature will be helpful to write VSCode extension(it's my motivation).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyclEFv4zYQhX8NfRnEkEeyYx90SGwIMLDdLeqiPVPiyOIuxRHIYRT_-4JK3GyKnvZiEzY5nPfNe9Qx2qsnqtX2WW1PK51k4FBfhmT_SH9a7Vctm1t9hp6TNyCDjap8gkFkyguFjcLmamVI7brjUWHj3Mv962EK_J06UdjYGBNFhQ1uq12hipMqnt4-LwxqVzhnWvA8Q4oUIXL3g2TSNkDPARx32kHH45i87bRY9jBbGSCfeogUXiis1eeyz0nACkSiMS77wEok14NhiuBZYAr8Yg2BhlnfQBgCGRuoE5CBwPopCXAATpJXfVjUCUPy9vW9Q4X7L9anV4WHvNXrkQxMdiKF-7-tNzxHhcf_0HKkg1-PtgscuZd3bOQfUuYz34_lVYkZ3dQpbHLVh3xBVGVz75TM0lZ5-u1y-qrwsP6ZwFlg5uQMtAReSwraZZUxTRMH-VkG6AjaswwUoDk338DZH1nChx6wEbQLpM3tXoBMVh05hY7epvRG4gjaGyCvW0fwDiHfa3jhGu1onQ7ZSf76qd_Geu3cDRQetZOB03VY5hTI6eW2I3xlQ_e5RTj_fgQZwrIxpm4AmTnPMircf0bu2dD3uOZwVdjoyeafSNaDjE5haafu4V1UZggXXnwOPWVqBLN1LkMcyE19WiDOwQrBX5djbohehXy07BXurSh8jDDeYGSxL4tXc9GVqUtzKA96RfVmt8fNIz6W5WqocXcwO1OZgqpWd2h2Wm973G_aotuXRWVWtsYCy6JC3FQb3JTrfqcP26rqsGs3VdGhqgoatXXrHLmscbWErd5hWWxWTrfk4hJvRE8zLH8qxJz2UC8xbdM1qqpwNkr8qCJW3PIu5PSo7QkU4uX5i06-G86-5_WTMd8m8o119NS9CcWPeP2PzxTu2d99clh88iky7OHf1ByyKT8SqcOVZJWCq3_96VmA_BMAAP__ss6n8g">