llvm-project/lldb/test/Shell/RPC/Generator/Tests/Server/CheckBasicIncludesEmit.test
Chelsea Cassanova 5caf668a6f
[lldb][RPC] Upstream RPC server interface emitters (#138032)
This commit upstreams the LLDB RPC server interface emitters. These
emitters generate the server-side API interfaces for RPC, which
communicate directly with liblldb itself out of process using the SB
API.

https://discourse.llvm.org/t/rfc-upstreaming-lldb-rpc/85804
2025-07-07 10:30:03 -07:00

16 lines
556 B
Plaintext

# Disabling until the lldb-rpc-gen tool lands.
XFAIL: *
RUN: mkdir -p %t/server
RUN: mkdir -p %t/lib
RUN: %lldb-rpc-gen --output-dir=%t %S/../../Inputs/CheckBasicIncludesEmit.h
RUN: cat %t/lib/CheckBasicIncludesEmit.cpp | FileCheck %s
# All server-side source files must have these includes at the top of their files.
CHECK: #include "RPCUserServer.h"
CHECK: #include "SBAPI.h"
CHECK: #include <lldb-rpc/common/RPCArgument.h>
CHECK: #include <lldb-rpc/common/RPCCommon.h>
CHECK: #include <lldb-rpc/common/RPCFunction.h>
CHECK: #include <lldb/API/LLDB.h>