[Lldb-commits] [lldb] [lldb] Make MCP server instance global (PR #145616)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 25 09:08:40 PDT 2025


================
@@ -7,20 +7,23 @@
 //===----------------------------------------------------------------------===//
 
 #include "Tool.h"
+#include "lldb/Core/Module.h"
 #include "lldb/Interpreter/CommandInterpreter.h"
 #include "lldb/Interpreter/CommandReturnObject.h"
 
 using namespace lldb_private::mcp;
 using namespace llvm;
 
-struct LLDBCommandToolArguments {
+struct CommandToolArguments {
----------------
ashgti wrote:

Should we put `CommandToolArguments` and its `fromJSON` in an anonymous namespace?

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


More information about the lldb-commits mailing list