[Lldb-commits] [lldb] [llvm] [NFC][lldb] move DiagnosticsRendering to Host (PR #168696)

via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 19 03:22:17 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

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

<details>
<summary>tools/lldb/unittests/Utility/UtilityTests</summary>

```
FAILED: tools/lldb/unittests/Utility/UtilityTests
: && /opt/llvm/bin/clang++ -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -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 -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-vla-extension -O3 -DNDEBUG -no-pie -fuse-ld=lld -Wl,--color-diagnostics    -Wl,--gc-sections tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/AnsiTerminalTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/ArgsTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/OptionsWithRawTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/ArchSpecTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/BroadcasterTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/ChecksumTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/ConstStringTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/CompletionRequestTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/DataBufferTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/DataEncoderTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/DataExtractorTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/DiagnosticsRenderingTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/EnvironmentTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/EventTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/FileSpecListTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/FileSpecTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/FlagsTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/ListenerTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/LogTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/NameMatchesTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/PredicateTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/ProcessInfoTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/ProcessInstanceInfoTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/RangeMapTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/RangeTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/RealpathPrefixesTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/RegisterValueTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/RegularExpressionTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/ScalarTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/SharedClusterTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/StateTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/StatusTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/StreamTeeTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/StreamTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/StringExtractorGDBRemoteTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/StringExtractorTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/StringLexerTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/StringListTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/StructuredDataTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/SubsystemRAIITest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/SupportFileTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/TildeExpressionResolverTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/TimeoutTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/TimerTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/TraceGDBRemotePacketsTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/UriParserTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/UserIDResolverTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/UUIDTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/VASprintfTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/VMRangeTest.cpp.o tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/XcodeSDKTest.cpp.o -o tools/lldb/unittests/Utility/UtilityTests  lib/libLLVMSupport.a  lib/libLLVMTargetParser.a  lib/libLLVMSupport.a  lib/libllvm_gtest_main.a  lib/libllvm_gtest.a  lib/liblldbUtility.a  lib/liblldbUtilityHelpers.a  lib/libLLVMTestingSupport.a  lib/liblldbUtility.a  lib/libLLVMObjectYAML.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/libLLVMTextAPI.a  lib/libLLVMDebugInfoCodeView.a  lib/libLLVMMC.a  lib/libLLVMDebugInfoDWARFLowLevel.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/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/unittests/Utility && /usr/bin/cmake -E make_directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/unittests/Utility/./Inputs && cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/unittests/Utility && /usr/bin/cmake -E copy /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Utility/Inputs/StructuredData-basic.json /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/unittests/Utility/./Inputs && cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/unittests/Utility && /usr/bin/cmake -E copy /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Utility/Inputs/StructuredData-nested.json /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/unittests/Utility/./Inputs && cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/unittests/Utility && /usr/bin/cmake -E copy /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Utility/Inputs/StructuredData-full.json /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/unittests/Utility/./Inputs
ld.lld: error: undefined symbol: lldb_private::RenderDiagnosticDetails(lldb_private::Stream&, std::optional<unsigned short>, bool, llvm::ArrayRef<lldb_private::DiagnosticDetail>)
>>> referenced by DiagnosticsRenderingTest.cpp:13 (/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Utility/DiagnosticsRenderingTest.cpp:13)
>>>               tools/lldb/unittests/Utility/CMakeFiles/UtilityTests.dir/DiagnosticsRenderingTest.cpp.o:((anonymous namespace)::Render[abi:cxx11](std::vector<lldb_private::DiagnosticDetail, std::allocator<lldb_private::DiagnosticDetail>>))
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
```
</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/168696


More information about the lldb-commits mailing list