[Lldb-commits] [lldb] [lldb][rpc] Upstream RPC Client Library Emitters (PR #147655)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 17 03:32:32 PDT 2025


================
@@ -0,0 +1,20 @@
+#ifndef LLDB_API_SBRPC_CHECKARRAYPTR_H
+#define LLDB_API_SBRPC_CHECKARRAYPTR_H
+
+#include <cstddef>
+#include <cstdio>
+
+#include "lldb/API/SBDefines.h"
+
+namespace lldb {
+class LLDB_API SBRPC_CHECKARRAYPTR {
----------------
DavidSpickett wrote:

So these are just test inputs, and they each have a method that should be handled in some specific way. I presume the RPC tool works on classes, so we have to wrap it in some class at least.

I'd prefer the standard class naming, even though it's just test code. SBRPC_CheckArrayPtr is fine.

ALLCAPS makes me think it's acting as if it were a define.

https://github.com/llvm/llvm-project/pull/147655


More information about the lldb-commits mailing list