[libc] Replace the `PRINT_TO_STDERR` opcode for RPC printing.
authorJoseph Huber <jhuber6@vols.utk.edu>
Mon, 5 Jun 2023 23:56:26 +0000 (18:56 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Tue, 6 Jun 2023 00:28:30 +0000 (19:28 -0500)
commite6a350df106cac06b22e23cedef0819a99f41ede
treedb4dc040e21bb11c44300ee3b72d9fec65162254
parenteb5308adc43b60f8d6391137f2ee1c2c1c8f3175
[libc] Replace the `PRINT_TO_STDERR` opcode for RPC printing.

A previous patch added general support for printing via the RPC
interface. we should consolidate this functionality and get rid of the
old opcode that was used for simple testing.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D152211
libc/src/__support/OSUtil/gpu/io.cpp
libc/src/__support/RPC/rpc.h
libc/utils/gpu/loader/Server.h