[all-commits] [llvm/llvm-project] 7ed185: [lldb] Expose language plugin commands based based...

Dave Lee via All-commits all-commits at lists.llvm.org
Wed May 28 11:05:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ed185a8f2b9f2436db1ccd82964424f641917e9
      https://github.com/llvm/llvm-project/commit/7ed185a8f2b9f2436db1ccd82964424f641917e9
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/source/Commands/CommandObjectLanguage.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    A lldb/test/API/commands/command/language/Makefile
    A lldb/test/API/commands/command/language/TestFrameLanguageCommands.py
    A lldb/test/API/commands/command/language/commands.py
    A lldb/test/API/commands/command/language/lib.cpp
    A lldb/test/API/commands/command/language/main.mm

  Log Message:
  -----------
  [lldb] Expose language plugin commands based based on language of current frame (#136766)

Use the current frame's language to lookup commands provided by language plugins.

This means commands like `language {objc,cplusplus} <command>` can be used directly, without using the `language <lang>` prefix.

For example, when stopped on a C++ frame, `demangle _Z1fv` will run `language cplusplus demangle _Z1fv`.

rdar://149882520



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