[Lldb-commits] [lldb] [lldb/script] Improve `scripting extension list` output and filtering (PR #209400)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 14 02:08:20 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
The build failed before running any tests. Click on a failure below to see the details.
<details>
<summary>tools/lldb/source/Commands/CMakeFiles/lldbCommands.dir/CommandObjectScripting.cpp.o</summary>
```
FAILED: tools/lldb/source/Commands/CMakeFiles/lldbCommands.dir/CommandObjectScripting.cpp.o
sccache /opt/llvm/bin/clang++ -DHAVE_ROUND -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/source/Commands -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Commands -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/../clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/source -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-vla-extension -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/lldb/source/Commands/CMakeFiles/lldbCommands.dir/CommandObjectScripting.cpp.o -MF tools/lldb/source/Commands/CMakeFiles/lldbCommands.dir/CommandObjectScripting.cpp.o.d -o tools/lldb/source/Commands/CMakeFiles/lldbCommands.dir/CommandObjectScripting.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Commands/CommandObjectScripting.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Commands/CommandObjectScripting.cpp:146:27: error: use of undeclared identifier 'eArgTypeScriptedExtension'; did you mean 'kLastScriptedExtension'?
146 | AddSimpleArgumentList(eArgTypeScriptedExtension, eArgRepeatStar);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| kLastScriptedExtension
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/lldb-enumerations.h:270:3: note: 'kLastScriptedExtension' declared here
270 | kLastScriptedExtension = eScriptedExtensionScriptedFrame
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Commands/CommandObjectScripting.cpp:146:27: error: cannot initialize a parameter of type 'lldb::CommandArgumentType' with an rvalue of type 'lldb::ScriptedExtension'
146 | AddSimpleArgumentList(eArgTypeScriptedExtension, eArgRepeatStar);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/Interpreter/CommandObject.h:214:33: note: passing argument to parameter 'arg_type' here
214 | lldb::CommandArgumentType arg_type,
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Commands/CommandObjectScripting.cpp:157:40: error: no member named 'eScriptedExtensionCompletion' in namespace 'lldb'; did you mean 'eScriptedExtensionInvalid'?
157 | GetCommandInterpreter(), lldb::eScriptedExtensionCompletion, request,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| eScriptedExtensionInvalid
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/lldb-enumerations.h:260:3: note: 'eScriptedExtensionInvalid' declared here
260 | eScriptedExtensionInvalid = 0,
| ^
3 errors generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/209400
More information about the lldb-commits
mailing list