[Lldb-commits] [lldb] Fix connecting via abstract socket (PR #136466)

Emre Kultursay via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 25 15:01:03 PDT 2025


emrekultursay wrote:

We're getting `SetSockAddr` error which can only fail if the path is too long. The path generated by `createUniqueDirectory` is an absolute path to a temporary directory. I guess it can be longer than 107 bytes on the CI machines.

All the other DomainSocket related tests skip the test if the generated path is longer than 107 bytes:

```
  // Skip the test if the $TMPDIR is too long to hold a domain socket.
  if (Path.size() > 107u)
    return;
```

I'll add that to see if it fixes the issue.



https://github.com/llvm/llvm-project/pull/136466


More information about the lldb-commits mailing list