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
16 lines
556 B
Plaintext
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>
|