[Lldb-commits] [lldb] [lldb] Inline expression evaluator error visualization (PR #106470)

LLVM Continuous Integration via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 27 16:43:03 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/7343

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

```
Step 6 (test) failure: build (failure)
...
17.416 [12/28/221] Linking CXX executable tools/lldb/unittests/ObjectFile/ELF/ObjectFileELFTests
17.456 [12/27/222] Building CXX object tools/lldb/unittests/Expression/CMakeFiles/ExpressionTests.dir/DWARFExpressionTest.cpp.o
17.461 [11/27/223] Building CXX object tools/lldb/unittests/SymbolFile/NativePDB/CMakeFiles/SymbolFileNativePDBTests.dir/UdtRecordCompleterTests.cpp.o
17.502 [10/27/224] Building CXX object tools/lldb/unittests/Process/gdb-remote/CMakeFiles/ProcessGdbRemoteTests.dir/GDBRemoteCommunicationClientTest.cpp.o
17.525 [9/27/225] Linking CXX executable tools/lldb/unittests/Language/CPlusPlus/LanguageCPlusPlusTests
17.533 [9/26/226] Linking CXX executable tools/lldb/unittests/Process/elf-core/ProcessElfCoreTests
17.550 [9/25/227] Building CXX object tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/ScalarTest.cpp.o
17.566 [8/25/228] Building CXX object tools/lldb/unittests/Instruction/CMakeFiles/EmulatorTests.dir/RISCV/TestRISCVEmulator.cpp.o
17.666 [7/25/229] Linking CXX executable tools/lldb/unittests/Callback/LLDBCallbackTests
17.743 [7/24/230] Linking CXX executable tools/lldb/unittests/Interpreter/InterpreterTests
FAILED: tools/lldb/unittests/Interpreter/InterpreterTests 
: && /usr/bin/clang++ -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 -fuse-ld=gold    -Wl,--gc-sections tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestCommandPaths.cpp.o tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestCommandObjectExpression.cpp.o tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestCompletion.cpp.o tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestOptionArgParser.cpp.o tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestOptions.cpp.o tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestOptionValue.cpp.o tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestOptionValueFileColonLine.cpp.o tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestRegexCommand.cpp.o -o tools/lldb/unittests/Interpreter/InterpreterTests  lib/libLLVMSupport.a  lib/libllvm_gtest_main.a  lib/libllvm_gtest.a  lib/liblldbCore.a  lib/liblldbHost.a  lib/liblldbTarget.a  lib/liblldbSymbol.a  lib/liblldbUtility.a  lib/liblldbUtilityHelpers.a  lib/liblldbInterpreter.a  lib/liblldbPluginPlatformMacOSX.a  lib/libLLVMTestingSupport.a  lib/libLLVMObjectYAML.a  lib/liblldbPluginDynamicLoaderDarwinKernel.a  lib/liblldbPluginObjectFileMachO.a  lib/liblldbPluginObjectContainerMachOFileset.a  lib/liblldbPluginPlatformPOSIX.a  lib/liblldbPluginPlatformGDB.a  lib/liblldbPluginProcessGDBRemote.a  lib/liblldbCore.a  lib/liblldbTarget.a  lib/liblldbSymbol.a  lib/liblldbInterpreter.a  lib/liblldbBreakpoint.a  lib/liblldbDataFormatters.a  lib/liblldbExpression.a  lib/liblldbPluginCPlusPlusLanguage.a  lib/liblldbPluginObjCLanguage.a  lib/liblldbPluginProcessUtility.a  lib/liblldbCommands.a  lib/liblldbPluginClangCommon.a  lib/liblldbPluginCPPRuntime.a  lib/liblldbPluginTypeSystemClang.a  lib/liblldbPluginAppleObjCRuntime.a  lib/liblldbPluginExpressionParserClang.a  lib/liblldbPluginSymbolFileDWARF.a  lib/liblldbPluginSymbolFilePDB.a  lib/liblldbPluginObjCRuntime.a  lib/liblldbPluginSymbolFileNativePDB.a  lib/liblldbPluginObjectFilePDB.a  lib/liblldbCore.a  lib/liblldbTarget.a  lib/liblldbSymbol.a  lib/liblldbInterpreter.a  lib/liblldbBreakpoint.a  lib/liblldbDataFormatters.a  lib/liblldbExpression.a  lib/liblldbPluginCPlusPlusLanguage.a  lib/liblldbPluginObjCLanguage.a  lib/liblldbPluginProcessUtility.a  lib/liblldbCommands.a  lib/liblldbPluginClangCommon.a  lib/liblldbPluginCPPRuntime.a  lib/liblldbPluginTypeSystemClang.a  lib/liblldbPluginAppleObjCRuntime.a  lib/liblldbPluginExpressionParserClang.a  lib/liblldbPluginSymbolFileDWARF.a  lib/liblldbPluginSymbolFilePDB.a  lib/liblldbPluginObjCRuntime.a  lib/liblldbPluginSymbolFileNativePDB.a  lib/liblldbPluginObjectFilePDB.a  lib/liblldbCore.a  lib/liblldbTarget.a  lib/liblldbSymbol.a  lib/liblldbInterpreter.a  lib/liblldbBreakpoint.a  lib/liblldbDataFormatters.a  lib/liblldbExpression.a  lib/liblldbPluginCPlusPlusLanguage.a  lib/liblldbPluginObjCLanguage.a  lib/liblldbPluginProcessUtility.a  lib/liblldbCommands.a  lib/liblldbPluginClangCommon.a  lib/liblldbPluginCPPRuntime.a  lib/liblldbPluginTypeSystemClang.a  lib/liblldbPluginAppleObjCRuntime.a  lib/liblldbPluginExpressionParserClang.a  lib/liblldbPluginSymbolFileDWARF.a  lib/liblldbPluginSymbolFilePDB.a  lib/liblldbPluginObjCRuntime.a  lib/liblldbPluginSymbolFileNativePDB.a  lib/lib
ataFormatters.a  lib/liblldbExpression.a  lib/liblldbPluginCPlusPlusLanguage.a  lib/liblldbPluginObjCLanguage.a  lib/liblldbPluginProcessUtility.a  lib/liblldbCommands.a  lib/liblldbPluginClangCommon.a  lib/liblldbPluginCPPRuntime.a  lib/liblldbPluginTypeSystemClang.a  lib/liblldbPluginAppleObjCRuntime.a  lib/liblldbPluginExpressionParserClang.a  lib/liblldbPluginSymbolFileDWARF.a  lib/liblldbPluginSymbolFilePDB.a  lib/liblldbPluginObjCRuntime.a  lib/liblldbPluginSymbolFileNativePDB.a  lib/liblldbPluginObjectFilePDB.a  lib/liblldbCore.a  lib/liblldbTarget.a  lib/liblldbSymbol.a  lib/liblldbInterpreter.a  lib/liblldbBreakpoint.a  lib/liblldbDataFormatters.a  lib/liblldbExpression.a  lib/liblldbPluginCPlusPlusLanguage.a  lib/liblldbPluginObjCLanguage.a  lib/liblldbPluginProcessUtility.a  lib/liblldbCommands.a  lib/liblldbPluginClangCommon.a  lib/liblldbPluginCPPRuntime.a  lib/liblldbPluginTypeSystemClang.a  lib/liblldbPluginAppleObjCRuntime.a  lib/liblldbPluginExpressionParserClang.a  lib/liblldbPluginSymbolFileDWARF.a  lib/liblldbPluginSymbolFilePDB.a  lib/liblldbPluginObjCRuntime.a  lib/liblldbPluginSymbolFileNativePDB.a  lib/liblldbPluginObjectFilePDB.a  /usr/lib/x86_64-linux-gnu/libpanel.so  -lcurses  /usr/lib/x86_64-linux-gnu/libform.so  lib/liblldbInterpreterInterfaces.a  lib/liblldbVersion.a  lib/libLLVMMCJIT.a  lib/libLLVMExecutionEngine.a  lib/libLLVMOrcTargetProcess.a  lib/libLLVMOrcShared.a  lib/libLLVMRuntimeDyld.a  lib/libclangCodeGen.a  lib/libLLVMCoverage.a  lib/libLLVMFrontendDriver.a  lib/libLLVMLTO.a  lib/libLLVMExtensions.a  lib/libLLVMPasses.a  lib/libLLVMCoroutines.a  lib/libLLVMipo.a  lib/libLLVMLinker.a  lib/libLLVMVectorize.a  lib/libLLVMSandboxIR.a  lib/libLLVMInstrumentation.a  lib/libLLVMHipStdPar.a  lib/libLLVMIRPrinter.a  lib/libLLVMCodeGen.a  lib/libLLVMTarget.a  lib/libLLVMBitWriter.a  lib/libLLVMCodeGenTypes.a  lib/libLLVMObjCARCOpts.a  lib/libLLVMCGData.a  lib/libLLVMCFGuard.a  lib/libclangRewriteFrontend.a  lib/libclangFrontend.a  lib/libclangDriver.a  lib/libLLVMWindowsDriver.a  lib/libLLVMOption.a  lib/libclangParse.a  lib/libclangRewrite.a  lib/libclangSerialization.a  lib/libclangSema.a  lib/libclangEdit.a  lib/libclangAPINotes.a  lib/libclangAnalysis.a  lib/libclangASTMatchers.a  lib/libclangSupport.a  lib/libLLVMFrontendHLSL.a  lib/liblldbHost.a  /usr/lib/x86_64-linux-gnu/libxml2.so  /usr/lib/x86_64-linux-gnu/libedit.so  lib/libclangAST.a  lib/libclangLex.a  lib/liblldbUtility.a  lib/libclangBasic.a  lib/libLLVMFrontendOpenMP.a  lib/libLLVMScalarOpts.a  lib/libLLVMAggressiveInstCombine.a  lib/libLLVMInstCombine.a  lib/libLLVMFrontendOffloading.a  lib/libLLVMTransformUtils.a  lib/libLLVMAnalysis.a  lib/libLLVMProfileData.a  lib/libLLVMSymbolize.a  lib/libLLVMDebugInfoPDB.a  lib/libLLVMDebugInfoMSF.a  lib/libLLVMDebugInfoBTF.a  lib/libLLVMDebugInfoDWARF.a  lib/libLLVMObject.a  lib/libLLVMIRReader.a  lib/libLLVMBitReader.a  lib/libLLVMAsmParser.a  lib/libLLVMCore.a  lib/libLLVMRemarks.a  lib/libLLVMBitstreamReader.a  lib/libLLVMMCParser.a  lib/libLLVMMC.a  lib/libLLVMDebugInfoCodeView.a  lib/libLLVMTextAPI.a  lib/libLLVMBinaryFormat.a  lib/libLLVMTargetParser.a  lib/libllvm_gtest.a  lib/libLLVMSupport.a  -lrt  -ldl  -lm  /usr/lib/x86_64-linux-gnu/libz.so  lib/libLLVMDemangle.a  -lpthread && cd /home/worker/2.0.1/lldb-x86_64-debian/build/tools/lldb/unittests/Interpreter && /usr/bin/cmake -E make_directory /home/worker/2.0.1/lldb-x86_64-debian/build/tools/lldb/unittests/Interpreter/./Inputs
tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestCommandObjectExpression.cpp.o:TestCommandObjectExpression.cpp:function ErrorDisplayTest_RenderStatus_Test::TestBody(): error: undefined reference to 'lldb_private::RenderDiagnosticDetails[abi:cxx11](lldb_private::Stream&, std::optional<unsigned short>, bool, llvm::ArrayRef<lldb_private::DiagnosticDetail>)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
17.831 [7/23/231] Linking CXX executable tools/lldb/unittests/Platform/LLDBPlatformTests
17.857 [7/22/232] Linking CXX executable tools/lldb/unittests/Core/LLDBCoreTests
17.975 [7/21/233] Linking CXX executable tools/lldb/unittests/Utility/UtilityTests
18.112 [7/20/234] Linking CXX executable tools/lldb/unittests/Process/ProcessEventDataTests
18.402 [7/19/235] Building CXX object tools/lldb/unittests/Platform/Android/CMakeFiles/AdbClientTests.dir/PlatformAndroidTest.cpp.o
18.436 [7/18/236] Building CXX object tools/lldb/unittests/Target/CMakeFiles/TargetTests.dir/LocateModuleCallbackTest.cpp.o
18.623 [7/17/237] Linking CXX executable tools/lldb/unittests/UnwindAssembly/ARM64/Arm64InstEmulationTests
18.698 [7/16/238] Building CXX object tools/lldb/unittests/Symbol/CMakeFiles/SymbolTests.dir/TestTypeSystemClang.cpp.o
18.786 [7/15/239] Linking CXX executable tools/lldb/unittests/Disassembler/RISCV/MCDisasmInstanceRISCVTests
18.868 [7/14/240] Linking CXX executable tools/lldb/unittests/UnwindAssembly/PPC64/PPC64InstEmulationTests
18.972 [7/13/241] Linking CXX executable tools/lldb/unittests/Disassembler/ARM/DisassemblerTests
19.019 [7/12/242] Building CXX object tools/lldb/unittests/Symbol/CMakeFiles/SymbolTests.dir/TestClangASTImporter.cpp.o
19.198 [7/11/243] Linking CXX executable tools/lldb/unittests/SymbolFile/NativePDB/SymbolFileNativePDBTests
19.231 [7/10/244] Linking CXX executable tools/lldb/unittests/UnwindAssembly/x86/UnwindAssemblyx86Tests
19.251 [7/9/245] Linking CXX executable tools/lldb/unittests/Process/gdb-remote/ProcessGdbRemoteTests
19.282 [7/8/246] Linking CXX executable tools/lldb/unittests/Disassembler/x86/GetControlFlowKindx86Tests
19.622 [7/7/247] Building CXX object tools/lldb/unittests/Symbol/CMakeFiles/SymbolTests.dir/TestLineEntry.cpp.o
19.827 [7/6/248] Linking CXX executable tools/lldb/unittests/Instruction/EmulatorTests
20.071 [7/5/249] Building CXX object tools/lldb/unittests/Thread/CMakeFiles/ThreadTests.dir/ThreadTest.cpp.o
20.353 [7/4/250] Linking CXX executable tools/lldb/unittests/Expression/ExpressionTests
20.648 [7/3/251] Building CXX object tools/lldb/unittests/SymbolFile/DWARF/CMakeFiles/SymbolFileDWARFTests.dir/DWARFASTParserClangTests.cpp.o
20.875 [7/2/252] Linking CXX executable bin/lldb-test
20.946 [7/1/253] Building CXX object tools/lldb/unittests/ValueObject/CMakeFiles/LLDBValueObjectTests.dir/DumpValueObjectOptionsTests.cpp.o
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the lldb-commits mailing list