summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2024-11-27 14:57:38 -0600
committerGitHub <noreply@github.com>2024-11-27 14:57:38 -0600
commit89d8e70031189eacb915beae2ffc642c0de1ec1a (patch)
tree7afb40ba92bf18f2955526e523660c2e2776d872 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent175051b05edcd10d997d8f98f142af1ff191b93a (diff)
[libc] Export a pointer to the RPC client directly (#117913)
Summary: We currently have an unnecessary level of indirection when initializing the RPC client. This is a holdover from when the RPC client was not trivially copyable and simply makes it more complicated. Here we use the `asm` syntax to give the C++ variable a valid name so that we can just copy to it directly. Another advantage to this, is that if users want to piggy-back on the same RPC interface they need only declare theirs as extern with the same symbol name, or make it weak to optionally use it if LIBC isn't avaialb.e
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions