[Lldb-commits] [lldb] [lldb/Interpreter] Introduce `ScriptedStopHook{, Python}Interface` & make use of it (PR #105449)

LLVM Continuous Integration via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 20 00:24:10 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lldb-aarch64-ubuntu` running on `linaro-lldb-aarch64-ubuntu` while building `lldb` at step 6 "test".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/59/builds/5268

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test) failure: build (failure)
...
58.520 [121/9/130] Building CXX object tools/lldb/unittests/Process/Linux/CMakeFiles/ProcessLinuxTests.dir/ProcfsTests.cpp.o
59.534 [121/8/131] Building CXX object tools/lldb/unittests/Process/Utility/CMakeFiles/ProcessUtilityTests.dir/LinuxProcMapsTest.cpp.o
59.609 [121/7/132] Building CXX object tools/lldb/unittests/Process/Utility/CMakeFiles/ProcessUtilityTests.dir/CoreFileMemoryRangesTest.cpp.o
60.013 [117/10/133] Linking CXX executable tools/lldb/unittests/Process/Linux/ProcessLinuxTests
60.061 [116/10/134] Building CXX object tools/lldb/unittests/Process/gdb-remote/CMakeFiles/ProcessGdbRemoteTests.dir/PortMapTest.cpp.o
60.781 [116/9/135] Building CXX object tools/lldb/unittests/Process/minidump/CMakeFiles/LLDBMinidumpTests.dir/RegisterContextMinidumpTest.cpp.o
60.884 [116/8/136] Building CXX object tools/lldb/unittests/Process/Utility/CMakeFiles/ProcessUtilityTests.dir/MemoryTagManagerAArch64MTETest.cpp.o
61.133 [113/10/137] Linking CXX executable tools/lldb/unittests/Process/Utility/ProcessUtilityTests
61.625 [112/10/138] Linking CXX executable tools/lldb/unittests/Process/gdb-remote/ProcessGdbRemoteTests
61.682 [112/9/139] Building CXX object tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonTestSuite.cpp.o
FAILED: tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonTestSuite.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb/unittests/ScriptInterpreter/Python -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/unittests/ScriptInterpreter/Python -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/include -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb/include -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/include -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/llvm/include -I/usr/include/python3.10 -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/llvm/../clang/include -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb/../clang/include -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/source -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/unittests -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/third-party/unittest/googletest/include -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/third-party/unittest/googlemock/include -isystem /usr/include/libxml2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O3 -DNDEBUG -std=c++17  -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonTestSuite.cpp.o -MF tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonTestSuite.cpp.o.d -o tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonTestSuite.cpp.o -c /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
../llvm-project/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp:277:35: error: out-of-line definition of 'ToSWIGWrapper' does not match any declaration in 'lldb_private::python::SWIGBridge'
  277 | lldb_private::python::SWIGBridge::ToSWIGWrapper(const Status &status) {
      |                                   ^~~~~~~~~~~~~
../llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h:89:37: note: type of 1st parameter of member declaration does not match definition ('Status' vs 'const Status &')
   89 |   static PythonObject ToSWIGWrapper(Status status);
      |                                     ^
1 error generated.
62.237 [112/8/140] Building CXX object tools/lldb/unittests/Signals/CMakeFiles/SignalsTests.dir/UnixSignalsTest.cpp.o
62.691 [112/7/141] Building CXX object tools/lldb/unittests/Process/POSIX/CMakeFiles/ProcessPOSIXTests.dir/NativeProcessELFTest.cpp.o
63.114 [112/6/142] Building CXX object tools/lldb/unittests/Symbol/CMakeFiles/SymbolTests.dir/MangledTest.cpp.o
63.380 [112/5/143] Building CXX object tools/lldb/unittests/Process/elf-core/CMakeFiles/ProcessElfCoreTests.dir/ThreadElfCoreTest.cpp.o
63.464 [112/4/144] Building CXX object tools/lldb/unittests/Symbol/CMakeFiles/SymbolTests.dir/JSONSymbolTest.cpp.o
63.622 [112/3/145] Building CXX object tools/lldb/unittests/Process/minidump/CMakeFiles/LLDBMinidumpTests.dir/MinidumpParserTest.cpp.o
64.915 [112/2/146] Building CXX object tools/lldb/unittests/Symbol/CMakeFiles/SymbolTests.dir/LocateSymbolFileTest.cpp.o
66.149 [112/1/147] Building CXX object tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonDataObjectsTests.cpp.o
ninja: build stopped: subcommand failed.

```

</details>

https://github.com/llvm/llvm-project/pull/105449


More information about the lldb-commits mailing list