[all-commits] [llvm/llvm-project] f958a5: [lldb-mcp] Add --help and --version (#212680)

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Jul 29 10:52:34 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f958a55f66a062b4c005015b691a949deb24e237
      https://github.com/llvm/llvm-project/commit/f958a55f66a062b4c005015b691a949deb24e237
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M lldb/test/CMakeLists.txt
    A lldb/test/Shell/MCP/TestHelp.test
    A lldb/test/Shell/MCP/TestUnknownArgument.test
    A lldb/test/Shell/MCP/TestVersion.test
    M lldb/test/Shell/helper/toolchain.py
    M lldb/tools/lldb-mcp/lldb-mcp.cpp

  Log Message:
  -----------
  [lldb-mcp] Add --help and --version (#212680)

lldb-mcp accepted no arguments at all, so --help and --version fell
through to the protocol loop and blocked reading stdin, and a mistyped
flag was silently ignored while the tool waited for MCP traffic. Handle
both flags and reject anything else with a usage message.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list