[libc][NFC] Move aligned access implementations to separate header
[llvm-project.git] / libc / src / __support / RPC / rpc_client.cpp
blobb25ff56410d7f5b6fa633f8c735c8d573c477cd5
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 //===----------------------------------------------------------------------===//
9 #include "rpc_client.h"
10 #include "rpc.h"
12 namespace __llvm_libc {
13 namespace rpc {
15 /// The libc client instance used to communicate with the server.
16 Client client;
18 /// Externally visible symbol to signify the usage of an RPC client to
19 /// whomever needs to run the server as well as provide a way to initialize
20 /// the client with a copy..
21 extern "C" [[gnu::visibility("protected")]] void *__llvm_libc_rpc_client =
22 &client;
24 } // namespace rpc
25 } // namespace __llvm_libc