[libc-commits] [PATCH] D147054: [libc] Begin implementing a library for the RPC server

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Jun 5 13:29:04 PDT 2023


jhuber6 updated this revision to Diff 528564.
jhuber6 added a comment.

Updating and rebasing.

I'm not completely happy with the interface but we can always modify it later.
This should provide what the `libc` developers wanted and separate the
implementation of `rpc.h` and the provided server. This has some downsides
compared to just exporting the full header somehow, but also has some
advantages, considering that we may not need to really provde that much custom
utility outside of libc for users, so it's easier to consoliate the
functionality in a defined interface.

Let me know what should be changed, there's a lot of cruft associated with
registering the custom handlers for malloc / free but I don't think there's
another way to get around it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147054/new/

https://reviews.llvm.org/D147054

Files:
  libc/src/__support/RPC/rpc.h
  libc/utils/gpu/CMakeLists.txt
  libc/utils/gpu/loader/Server.h
  libc/utils/gpu/loader/amdgpu/CMakeLists.txt
  libc/utils/gpu/loader/amdgpu/Loader.cpp
  libc/utils/gpu/loader/nvptx/CMakeLists.txt
  libc/utils/gpu/loader/nvptx/Loader.cpp
  libc/utils/gpu/server/CMakeLists.txt
  libc/utils/gpu/server/Server.cpp
  libc/utils/gpu/server/Server.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147054.528564.patch
Type: text/x-patch
Size: 31746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230605/e6c2b7e3/attachment-0001.bin>


More information about the libc-commits mailing list