xref: /aosp_15_r20/external/llvm-libc/src/__support/RPC/rpc_client.cpp (revision 71db0c75aadcf003ffe3238005f61d7618a3fead)
1 //===-- Shared memory RPC client instantiation ------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "rpc_client.h"
10 
11 #include "src/__support/macros/config.h"
12 
13 namespace LIBC_NAMESPACE_DECL {
14 namespace rpc {
15 
16 /// The libc client instance used to communicate with the server. Externally
17 /// visible symbol to signify the usage of an RPC client to whomever needs to
18 /// run the server as well as provide a way to initialize the client.
19 [[gnu::visibility("protected")]] Client client;
20 
21 } // namespace rpc
22 } // namespace LIBC_NAMESPACE_DECL
23