[all-commits] [llvm/llvm-project] 14da7e: [llvm][Support] Avoid silent truncation of socket ...

Jon Roelofs via All-commits all-commits at lists.llvm.org
Wed Apr 8 10:40:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14da7e5194293454c54c097431c61c1fe55c5710
      https://github.com/llvm/llvm-project/commit/14da7e5194293454c54c097431c61c1fe55c5710
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2026-04-08 (Wed, 08 Apr 2026)

  Changed paths:
    M llvm/lib/Support/raw_socket_stream.cpp
    M llvm/unittests/Support/raw_socket_stream_test.cpp

  Log Message:
  -----------
  [llvm][Support] Avoid silent truncation of socket paths (#190869)

When the name is too long to fit in sockaddr_un::sun_path's 104
character buffer, we now surface the error condition, rather than
silently truncating and failing the test with an "address in use Bind
error". We also shorten the name a bit to give more headroom on CI
systems that define an explicit TMP_DIR that acts as a prefix to the
path created by these tests.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list