[llvm] [DWARFLinker] Patch DW_AT_LLVM_stmt_sequence in the parallel linker (PR #195388)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue May 5 10:47:40 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx-nvidia-ubuntu` running on `as-builder-7` while building `llvm` at step 6 "test-build-unified-tree-check-llvm".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/180/builds/37585
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
...
2.277 [2/9/789] Linking CXX executable unittests/Transforms/Vectorize/VectorizeTests
2.277 [2/8/790] Linking CXX executable unittests/XRay/XRayTests
2.298 [2/7/791] Linking CXX executable unittests/IR/IRTests
2.313 [2/6/792] Linking CXX executable unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests
2.328 [2/5/793] Linking CXX executable unittests/Transforms/Utils/UtilsTests
2.366 [2/4/794] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
2.738 [2/3/795] Linking CXX executable unittests/ADT/ADTTests
2.778 [2/2/796] Linking CXX executable unittests/Support/SupportTests
5.611 [2/1/797] Building CXX object unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o
5.693 [1/1/798] Linking CXX executable unittests/DWARFLinkerParallel/DWARFLinkerParallelTests
FAILED: unittests/DWARFLinkerParallel/DWARFLinkerParallelTests
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=gold -Wl,--gc-sections unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/StringPoolTest.cpp.o -o unittests/DWARFLinkerParallel/DWARFLinkerParallelTests -Wl,-rpath,/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/build/lib lib/libLLVMDWARFLinkerParallel.so.23.0git lib/libllvm_gtest_main.so.23.0git lib/libLLVMTestingSupport.so.23.0git lib/libLLVMDWARFLinker.so.23.0git lib/libllvm_gtest.so.23.0git lib/libLLVMSupport.so.23.0git -Wl,-rpath-link,/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/build/lib && :
unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o:DWARFLinkerTest.cpp:function void std::vector<llvm::DWARFDebugLine::Row, std::allocator<llvm::DWARFDebugLine::Row> >::_M_realloc_insert<>(__gnu_cxx::__normal_iterator<llvm::DWARFDebugLine::Row*, std::vector<llvm::DWARFDebugLine::Row, std::allocator<llvm::DWARFDebugLine::Row> > >):(.text._ZNSt6vectorIN4llvm14DWARFDebugLine3RowESaIS2_EE17_M_realloc_insertIJEEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_+0x6e): error: undefined reference to 'llvm::DWARFDebugLine::Row::Row(bool)'
unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o:DWARFLinkerTest.cpp:function void std::vector<llvm::DWARFDebugLine::Row, std::allocator<llvm::DWARFDebugLine::Row> >::_M_realloc_insert<>(__gnu_cxx::__normal_iterator<llvm::DWARFDebugLine::Row*, std::vector<llvm::DWARFDebugLine::Row, std::allocator<llvm::DWARFDebugLine::Row> > >):(.text._ZNSt6vectorIN4llvm14DWARFDebugLine3RowESaIS2_EE17_M_realloc_insertIJEEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_+0x134): error: undefined reference to 'llvm::DWARFDebugLine::Row::Row(bool)'
unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o:DWARFLinkerTest.cpp:function (anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserMissFallback_Test::TestBody():(.text._ZN12_GLOBAL__N_169DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserMissFallback_Test8TestBodyEv+0x3a): error: undefined reference to 'llvm::DWARFDebugLine::LineTable::LineTable()'
unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o:DWARFLinkerTest.cpp:function (anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserMissFallback_Test::TestBody():(.text._ZN12_GLOBAL__N_169DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserMissFallback_Test8TestBodyEv+0x53): error: undefined reference to 'llvm::DWARFDebugLine::Row::Row(bool)'
unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o:DWARFLinkerTest.cpp:function (anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserMissFallback_Test::TestBody():(.text._ZN12_GLOBAL__N_169DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserMissFallback_Test8TestBodyEv+0xfe): error: undefined reference to 'llvm::DWARFDebugLine::Sequence::Sequence()'
unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o:DWARFLinkerTest.cpp:function (anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_RealignIgnoresStale_Test::TestBody():(.text._ZN12_GLOBAL__N_170DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_RealignIgnoresStale_Test8TestBodyEv+0x3c): error: undefined reference to 'llvm::DWARFDebugLine::LineTable::LineTable()'
unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o:DWARFLinkerTest.cpp:function (anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_RealignIgnoresStale_Test::TestBody():(.text._ZN12_GLOBAL__N_170DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_RealignIgnoresStale_Test8TestBodyEv+0x53): error: undefined reference to 'llvm::DWARFDebugLine::Row::Row(bool)'
unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o:DWARFLinkerTest.cpp:function (anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_RealignIgnoresStale_Test::TestBody():(.text._ZN12_GLOBAL__N_170DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_RealignIgnoresStale_Test8TestBodyEv+0x13a): error: undefined reference to 'llvm::DWARFDebugLine::Sequence::Sequence()'
unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o:DWARFLinkerTest.cpp:function (anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_RealignIgnoresStale_Test::TestBody():(.text._ZN12_GLOBAL__N_170DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_RealignIgnoresStale_Test8TestBodyEv+0x193): error: undefined reference to 'llvm::DWARFDebugLine::Sequence::Sequence()'
unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o:DWARFLinkerTest.cpp:function (anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_EmptyRows_Test::TestBody():(.text._ZN12_GLOBAL__N_160DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_EmptyRows_Test8TestBodyEv+0x34): error: undefined reference to 'llvm::DWARFDebugLine::LineTable::LineTable()'
unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o:DWARFLinkerTest.cpp:function (anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_EmptyRows_Test::TestBody():(.text._ZN12_GLOBAL__N_160DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_EmptyRows_Test8TestBodyEv+0x3c): error: undefined reference to 'llvm::DWARFDebugLine::Sequence::Sequence()'
unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o:DWARFLinkerTest.cpp:function (anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserOnly_Test::TestBody():(.text._ZN12_GLOBAL__N_161DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserOnly_Test8TestBodyEv+0x3c): error: undefined reference to 'llvm::DWARFDebugLine::LineTable::LineTable()'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/195388
More information about the llvm-commits
mailing list