summaryrefslogtreecommitdiff
path: root/libc/src/__support/RPC/rpc_client.cpp
blob: 8f71b654627f6121d1f8ac3d077cd501c91831aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//===-- Shared memory RPC client instantiation ------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "rpc.h"

namespace __llvm_libc {
namespace rpc {

/// The libc client instance used to communicate with the server.
Client client;

/// Externally visible symbol to signify the usage of an RPC client to
/// whomever needs to run the server.
extern "C" [[gnu::visibility("protected")]] const bool __llvm_libc_rpc = false;

} // namespace rpc
} // namespace __llvm_libc