[Lldb-commits] [lldb] [llvm] [lldb/Interpreter] Surface Python exceptions from scripted extensions (PR #198153)

via lldb-commits lldb-commits at lists.llvm.org
Sun May 17 00:48:11 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

The build failed before running any tests. Click on a failure below to see the details.

<details>
<summary>[code=1] tools/lldb/source/Commands/CMakeFiles/lldbCommands.dir/CommandObjectProtocolServer.cpp.obj</summary>

```
FAILED: [code=1] tools/lldb/source/Commands/CMakeFiles/lldbCommands.dir/CommandObjectProtocolServer.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe  /nologo -TP -DCLANG_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\_work\llvm-project\llvm-project\build\tools\lldb\source\Commands -IC:\_work\llvm-project\llvm-project\lldb\source\Commands -IC:\_work\llvm-project\llvm-project\lldb\include -IC:\_work\llvm-project\llvm-project\build\tools\lldb\include -IC:\_work\llvm-project\llvm-project\build\include -IC:\_work\llvm-project\llvm-project\llvm\include -IC:\_work\llvm-project\llvm-project\llvm\..\clang\include -IC:\_work\llvm-project\llvm-project\build\tools\lldb\..\clang\include -IC:\_work\llvm-project\llvm-project\lldb\source -IC:\_work\llvm-project\llvm-project\build\tools\lldb\source /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4  -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wno-vla-extension /O2 /Ob2  -std:c++17 -MD   -wd4018 -wd4068 -wd4150 -wd4201 -wd4251 -wd4521 -wd4530 -wd4589 -UNDEBUG /EHs-c- /GR- /showIncludes /Fotools\lldb\source\Commands\CMakeFiles\lldbCommands.dir\CommandObjectProtocolServer.cpp.obj /Fdtools\lldb\source\Commands\CMakeFiles\lldbCommands.dir\lldbCommands.pdb -c -- C:\_work\llvm-project\llvm-project\lldb\source\Commands\CommandObjectProtocolServer.cpp
In file included from C:\_work\llvm-project\llvm-project\lldb\source\Commands\CommandObjectProtocolServer.cpp:13:
In file included from C:\_work\llvm-project\llvm-project\lldb\include\lldb/Interpreter/CommandInterpreter.h:12:
In file included from C:\_work\llvm-project\llvm-project\lldb\include\lldb/Core/Debugger.h:30:
In file included from C:\_work\llvm-project\llvm-project\lldb\include\lldb/Target/Platform.h:24:
In file included from C:\_work\llvm-project\llvm-project\lldb\include\lldb/Interpreter/ScriptInterpreter.h:31:
In file included from C:\_work\llvm-project\llvm-project\lldb\include\lldb/Interpreter/Interfaces/OperatingSystemInterface.h:12:
In file included from C:\_work\llvm-project\llvm-project\lldb\include\lldb/Interpreter/Interfaces\ScriptedThreadInterface.h:12:
C:\_work\llvm-project\llvm-project\lldb\include\lldb/Interpreter/Interfaces\ScriptedInterface.h(49,38): error: no member named 'GetClassNameW' in 'lldb_private::ScriptedMetadata'
49 |       return m_scripted_metadata_sp->GetClassName();
|              ~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\um\winuser.h(10229,23): note: expanded from macro 'GetClassName'
10229 | #define GetClassName  GetClassNameW
|                       ^
1 error generated.
```
</details>
<details>
<summary>[code=1] tools/lldb/source/Plugins/Process/gdb-remote/CMakeFiles/lldbPluginProcessGDBRemote.dir/ThreadGDBRemote.cpp.obj</summary>

```
FAILED: [code=1] tools/lldb/source/Plugins/Process/gdb-remote/CMakeFiles/lldbPluginProcessGDBRemote.dir/ThreadGDBRemote.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe  /nologo -TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\_work\llvm-project\llvm-project\build\tools\lldb\source\Plugins\Process\gdb-remote -IC:\_work\llvm-project\llvm-project\lldb\source\Plugins\Process\gdb-remote -IC:\_work\llvm-project\llvm-project\lldb\include -IC:\_work\llvm-project\llvm-project\build\tools\lldb\include -IC:\_work\llvm-project\llvm-project\build\include -IC:\_work\llvm-project\llvm-project\llvm\include -IC:\_work\llvm-project\llvm-project\llvm\..\clang\include -IC:\_work\llvm-project\llvm-project\build\tools\lldb\..\clang\include -IC:\_work\llvm-project\llvm-project\lldb\source -IC:\_work\llvm-project\llvm-project\build\tools\lldb\source /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4  -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 /Gw -Wno-vla-extension /O2 /Ob2  -std:c++17 -MD   -wd4018 -wd4068 -wd4150 -wd4201 -wd4251 -wd4521 -wd4530 -wd4589 -UNDEBUG /EHs-c- /GR- /showIncludes /Fotools\lldb\source\Plugins\Process\gdb-remote\CMakeFiles\lldbPluginProcessGDBRemote.dir\ThreadGDBRemote.cpp.obj /Fdtools\lldb\source\Plugins\Process\gdb-remote\CMakeFiles\lldbPluginProcessGDBRemote.dir\lldbPluginProcessGDBRemote.pdb -c -- C:\_work\llvm-project\llvm-project\lldb\source\Plugins\Process\gdb-remote\ThreadGDBRemote.cpp
In file included from C:\_work\llvm-project\llvm-project\lldb\source\Plugins\Process\gdb-remote\ThreadGDBRemote.cpp:12:
In file included from C:\_work\llvm-project\llvm-project\lldb\include\lldb/Target/Platform.h:24:
In file included from C:\_work\llvm-project\llvm-project\lldb\include\lldb/Interpreter/ScriptInterpreter.h:31:
In file included from C:\_work\llvm-project\llvm-project\lldb\include\lldb/Interpreter/Interfaces/OperatingSystemInterface.h:12:
In file included from C:\_work\llvm-project\llvm-project\lldb\include\lldb/Interpreter/Interfaces\ScriptedThreadInterface.h:12:
C:\_work\llvm-project\llvm-project\lldb\include\lldb/Interpreter/Interfaces\ScriptedInterface.h(49,38): error: no member named 'GetClassNameW' in 'lldb_private::ScriptedMetadata'
49 |       return m_scripted_metadata_sp->GetClassName();
|              ~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\um\winuser.h(10229,23): note: expanded from macro 'GetClassName'
10229 | #define GetClassName  GetClassNameW
|                       ^
1 error 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/198153


More information about the lldb-commits mailing list