[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
Thu Sep 19 23:50:40 PDT 2024


llvm-ci wrote:

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

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

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

```
Step 6 (test) failure: build (failure)
...
6.835 [127/72/61] Building CXX object tools/lldb/unittests/Core/CMakeFiles/LLDBCoreTests.dir/ModuleSpecTest.cpp.o
6.844 [126/72/62] Building CXX object tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestCompletion.cpp.o
7.045 [125/72/63] Building CXX object tools/lldb/unittests/Process/Linux/CMakeFiles/ProcessLinuxTests.dir/PerfTests.cpp.o
7.212 [124/72/64] Building CXX object tools/lldb/unittests/Core/CMakeFiles/LLDBCoreTests.dir/DiagnosticEventTest.cpp.o
7.396 [123/72/65] Building CXX object tools/lldb/unittests/Symbol/CMakeFiles/SymbolTests.dir/MangledTest.cpp.o
7.487 [122/72/66] Building CXX object tools/lldb/unittests/Core/CMakeFiles/LLDBCoreTests.dir/MangledTest.cpp.o
7.541 [121/72/67] Building CXX object tools/lldb/unittests/DataFormatter/CMakeFiles/LLDBFormatterTests.dir/FormatManagerTests.cpp.o
7.550 [120/72/68] Building CXX object tools/lldb/unittests/Core/CMakeFiles/LLDBCoreTests.dir/ProgressReportTest.cpp.o
7.575 [119/72/69] Building CXX object tools/lldb/unittests/Platform/CMakeFiles/LLDBPlatformTests.dir/PlatformAppleSimulatorTest.cpp.o
7.581 [118/72/70] 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/bin/clang++ -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/worker/2.0.1/lldb-x86_64-debian/build/tools/lldb/unittests/ScriptInterpreter/Python -I/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/unittests/ScriptInterpreter/Python -I/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/include -I/home/worker/2.0.1/lldb-x86_64-debian/build/tools/lldb/include -I/home/worker/2.0.1/lldb-x86_64-debian/build/include -I/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/llvm/include -I/usr/include/python3.11 -I/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/llvm/../clang/include -I/home/worker/2.0.1/lldb-x86_64-debian/build/tools/lldb/../clang/include -I/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/source -I/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/unittests -I/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/third-party/unittest/googletest/include -I/home/worker/2.0.1/lldb-x86_64-debian/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  -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -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/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
/home/worker/2.0.1/lldb-x86_64-debian/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'
lldb_private::python::SWIGBridge::ToSWIGWrapper(const Status &status) {
                                  ^~~~~~~~~~~~~
/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h:89:37: note: type of 1st parameter of member declaration does not match definition ('lldb_private::Status' vs 'const lldb_private::Status &')
  static PythonObject ToSWIGWrapper(Status status);
                                    ^
1 error generated.
7.626 [118/71/71] Building CXX object tools/lldb/unittests/Platform/CMakeFiles/LLDBPlatformTests.dir/PlatformDarwinTest.cpp.o
7.641 [118/70/72] Building CXX object tools/lldb/unittests/Platform/CMakeFiles/LLDBPlatformTests.dir/PlatformMacOSXTest.cpp.o
7.731 [118/69/73] Building CXX object tools/lldb/unittests/Process/Linux/CMakeFiles/ProcessLinuxTests.dir/ProcfsTests.cpp.o
7.814 [118/68/74] Building CXX object tools/lldb/unittests/Process/Utility/CMakeFiles/ProcessUtilityTests.dir/CoreFileMemoryRangesTest.cpp.o
7.891 [118/67/75] Building CXX object tools/lldb/unittests/Process/minidump/CMakeFiles/LLDBMinidumpTests.dir/RegisterContextMinidumpTest.cpp.o
7.903 [118/66/76] Building CXX object tools/lldb/unittests/DataFormatter/CMakeFiles/LLDBFormatterTests.dir/FormattersContainerTest.cpp.o
7.956 [118/65/77] Building CXX object tools/lldb/unittests/Symbol/CMakeFiles/SymbolTests.dir/SymbolTest.cpp.o
7.979 [118/64/78] Building CXX object tools/lldb/unittests/ObjectFile/MachO/CMakeFiles/ObjectFileMachOTests.dir/TestObjectFileMachO.cpp.o
8.023 [118/63/79] Building CXX object tools/lldb/unittests/Process/gdb-remote/CMakeFiles/ProcessGdbRemoteTests.dir/GDBRemoteCommunicationTest.cpp.o
8.038 [118/62/80] Building CXX object tools/lldb/unittests/Process/gdb-remote/CMakeFiles/ProcessGdbRemoteTests.dir/GDBRemoteTestUtils.cpp.o
8.120 [118/61/81] Building CXX object tools/lldb/unittests/Process/gdb-remote/CMakeFiles/ProcessGdbRemoteTests.dir/GDBRemoteCommunicationServerLLGSTest.cpp.o
8.122 [118/60/82] Building CXX object tools/lldb/unittests/Host/CMakeFiles/HostTests.dir/SocketTest.cpp.o
8.311 [118/59/83] Building CXX object tools/lldb/unittests/Signals/CMakeFiles/SignalsTests.dir/UnixSignalsTest.cpp.o
8.428 [118/58/84] Building CXX object tools/lldb/unittests/Language/CLanguages/CMakeFiles/LanguageCLanguagesTests.dir/CLanguagesTest.cpp.o
8.446 [118/57/85] Building CXX object tools/lldb/unittests/Language/ObjC/CMakeFiles/LanguageObjCTests.dir/ObjCLanguageTest.cpp.o
8.841 [118/56/86] Building CXX object tools/lldb/unittests/Platform/CMakeFiles/LLDBPlatformTests.dir/PlatformTest.cpp.o
8.879 [118/55/87] Building CXX object tools/lldb/unittests/Symbol/CMakeFiles/SymbolTests.dir/JSONSymbolTest.cpp.o
9.000 [118/54/88] Building CXX object tools/lldb/unittests/ObjectFile/PECOFF/CMakeFiles/ObjectFilePECOFFTests.dir/TestPECallFrameInfo.cpp.o
9.064 [118/53/89] Building CXX object tools/lldb/unittests/Process/gdb-remote/CMakeFiles/ProcessGdbRemoteTests.dir/GDBRemoteCommunicationServerTest.cpp.o
9.069 [118/52/90] Building CXX object tools/lldb/unittests/Process/gdb-remote/CMakeFiles/ProcessGdbRemoteTests.dir/PortMapTest.cpp.o
9.098 [118/51/91] Building CXX object tools/lldb/unittests/ObjectFile/PECOFF/CMakeFiles/ObjectFilePECOFFTests.dir/TestSectionSize.cpp.o
9.182 [118/50/92] Building CXX object tools/lldb/unittests/Target/CMakeFiles/TargetTests.dir/MemoryRegionInfoTest.cpp.o
9.370 [118/49/93] Building CXX object tools/lldb/unittests/SymbolFile/NativePDB/CMakeFiles/SymbolFileNativePDBTests.dir/PdbFPOProgramToDWARFExpressionTests.cpp.o
9.545 [118/48/94] Building CXX object tools/lldb/unittests/Target/CMakeFiles/TargetTests.dir/ABITest.cpp.o
9.648 [118/47/95] Building CXX object tools/lldb/unittests/Symbol/CMakeFiles/SymbolTests.dir/LocateSymbolFileTest.cpp.o
9.683 [118/46/96] Building CXX object tools/lldb/unittests/ObjectFile/ELF/CMakeFiles/ObjectFileELFTests.dir/TestObjectFileELF.cpp.o
9.693 [118/45/97] Building CXX object tools/lldb/unittests/Process/Utility/CMakeFiles/ProcessUtilityTests.dir/LinuxProcMapsTest.cpp.o
9.761 [118/44/98] Building CXX object tools/lldb/unittests/Target/CMakeFiles/TargetTests.dir/MemoryTagMapTest.cpp.o
9.788 [118/43/99] Building CXX object tools/lldb/unittests/Language/CPlusPlus/CMakeFiles/LanguageCPlusPlusTests.dir/CPlusPlusLanguageTest.cpp.o
9.817 [118/42/100] Building CXX object tools/lldb/unittests/Target/CMakeFiles/TargetTests.dir/PathMappingListTest.cpp.o

```

</details>

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


More information about the lldb-commits mailing list