diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-07-01 06:29:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 06:29:48 -0500 |
commit | ec0e6ef09bdbae42872af1145f9c58c641d0ab8a (patch) | |
tree | 25e9bc8c8e7848de2193860fd7219d6f55b87249 /libc/include | |
parent | d32d20f3a05abf74ecc11848a672d4cac4fa45cd (diff) | |
download | llvm-ec0e6ef09bdbae42872af1145f9c58c641d0ab8a.zip llvm-ec0e6ef09bdbae42872af1145f9c58c641d0ab8a.tar.gz llvm-ec0e6ef09bdbae42872af1145f9c58c641d0ab8a.tar.bz2 |
[libc] Implement the 'remove' function on the GPU (#97096)
Summary:
Straightforward RPC implementation of the `remove` function for the GPU.
Copies over the string and calls `remove` on it, passing the result
back. This is required for building some `libc++` functionality.
Diffstat (limited to 'libc/include')
-rw-r--r-- | libc/include/llvm-libc-types/rpc_opcodes_t.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/include/llvm-libc-types/rpc_opcodes_t.h b/libc/include/llvm-libc-types/rpc_opcodes_t.h index faed7b5..fb3bc7b 100644 --- a/libc/include/llvm-libc-types/rpc_opcodes_t.h +++ b/libc/include/llvm-libc-types/rpc_opcodes_t.h @@ -34,6 +34,7 @@ typedef enum { RPC_PRINTF_TO_STDOUT, RPC_PRINTF_TO_STDERR, RPC_PRINTF_TO_STREAM, + RPC_REMOVE, RPC_LAST = 0xFFFF, } rpc_opcode_t; |