Files
clang-p2996/lldb/test/API/commands/command/language/lib.cpp
Dave Lee 7ed185a8f2 [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
2025-05-28 11:04:57 -07:00

4 lines
69 B
C++

#include <stdio.h>
extern void f();
void f() { puts("break here"); }