[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:40:53 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/5739

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

```
Step 6 (test) failure: build (failure)
...
19.523 [149/7/105] Linking CXX executable tools/lldb/unittests/Language/ObjC/LanguageObjCTests
19.722 [149/6/106] Linking CXX executable tools/lldb/unittests/ObjectFile/PECOFF/ObjectFilePECOFFTests
19.810 [149/5/107] Linking CXX executable tools/lldb/unittests/Language/CLanguages/LanguageCLanguagesTests
19.836 [149/4/108] Linking CXX executable tools/lldb/unittests/ObjectFile/ELF/ObjectFileELFTests
19.862 [149/3/109] Linking CXX executable tools/lldb/unittests/Language/CPlusPlus/LanguageCPlusPlusTests
19.871 [149/2/110] Linking CXX executable tools/lldb/unittests/Language/Highlighting/HighlighterTests
20.227 [149/1/111] Building CXX object tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestCommandPaths.cpp.o
20.251 [147/2/112] Building CXX object tools/lldb/unittests/Platform/CMakeFiles/LLDBPlatformTests.dir/PlatformDarwinTest.cpp.o
20.277 [146/2/113] Building CXX object tools/lldb/unittests/Platform/CMakeFiles/LLDBPlatformTests.dir/PlatformMacOSXTest.cpp.o
20.818 [145/2/114] Linking CXX executable tools/lldb/unittests/Interpreter/InterpreterTests
FAILED: tools/lldb/unittests/Interpreter/InterpreterTests 
: && /usr/local/bin/c++ -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=lld -Wl,--color-diagnostics    -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/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/liblldbPluginObjectFilePDB.a  /usr/lib/aarch64-linux-gnu/libpanel.so  -lcurses  /usr/lib/aarch64-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/aarch64-linux-gnu/libxml2.so  /usr/lib/aarch64-linux-gnu/libedit.so  /usr/lib/aarch64-linux-gnu/liblzma.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/aarch64-linux-gnu/libz.so  lib/libLLVMDemangle.a  -lpthread && cd /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb/unittests/Interpreter && /usr/local/bin/cmake -E make_directory /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb/unittests/Interpreter/./Inputs
ld.lld: error: undefined symbol: lldb_private::RenderDiagnosticDetails[abi:cxx11](lldb_private::Stream&, std::optional<unsigned short>, bool, llvm::ArrayRef<lldb_private::DiagnosticDetail>)
>>> referenced by TestCommandObjectExpression.cpp
>>>               tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestCommandObjectExpression.cpp.o:(ErrorDisplayTest_RenderStatus_Test::TestBody())
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
27.043 [145/1/115] Building CXX object tools/lldb/unittests/Platform/CMakeFiles/LLDBPlatformTests.dir/PlatformSiginfoTest.cpp.o
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the lldb-commits mailing list