[all-commits] [llvm/llvm-project] bb962e: [orc-rt] Add SocketHandle, NativeSocketHandle APIs...

Lang Hames via All-commits all-commits at lists.llvm.org
Fri Sep 11 19:55:03 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb962e790106c624e0668118d0b7d92c706c2da4
      https://github.com/llvm/llvm-project/commit/bb962e790106c624e0668118d0b7d92c706c2da4
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-09-12 (Sat, 12 Sep 2026)

  Changed paths:
    M orc-rt/include/CMakeLists.txt
    A orc-rt/include/orc-rt/bedrock/SocketHandle.h
    M orc-rt/lib/bedrock/CMakeLists.txt
    A orc-rt/lib/bedrock/sys/posix/SocketHandle.cpp
    M orc-rt/test/unit/CMakeLists.txt
    A orc-rt/test/unit/bedrock/SocketHandleTest.cpp
    A orc-rt/test/unit/bedrock/SocketTestUtils.h
    A orc-rt/test/unit/bedrock/sys/posix/SocketTestUtils.cpp

  Log Message:
  -----------
  [orc-rt] Add SocketHandle, NativeSocketHandle APIs (#223114)

SocketHandle is an owning wrapper for a NativeSocketHandle value, and
closes the native socket on destruction.

NativeSocketHandle is a typedef for the platform's native socket handle
type.

Only POSIX is implemented in this patch (in sys/posix/SocketHandle.cpp).
Windows support will be added later.

This will be used for an upcoming SimpleRemote-based ControllerAccess
implementation that uses sockets for transport (SocketSimpleRemoteCA).



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