[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:27:08 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `llvm` at step 8 "Add check check-llvm".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/27949
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 8 (Add check check-llvm) failure: test (failure)
...
[793/803] Linking CXX executable unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests
[794/803] Linking CXX executable unittests/Frontend/LLVMFrontendTests
[795/803] Linking CXX executable unittests/Transforms/Utils/UtilsTests
[796/803] Linking CXX executable unittests/TableGen/TableGenTests
[797/803] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[798/803] Linking CXX executable unittests/IR/IRTests
[799/803] Linking CXX executable unittests/ADT/ADTTests
[800/803] Linking CXX executable unittests/Support/SupportTests
[801/803] Building CXX object unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o
[802/803] 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-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -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 -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/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.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/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib && :
/usr/bin/ld: unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o: in 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> > >)':
DWARFLinkerTest.cpp:(.text._ZNSt6vectorIN4llvm14DWARFDebugLine3RowESaIS2_EE17_M_realloc_insertIJEEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_[_ZNSt6vectorIN4llvm14DWARFDebugLine3RowESaIS2_EE17_M_realloc_insertIJEEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_]+0x80): undefined reference to `llvm::DWARFDebugLine::Row::Row(bool)'
/usr/bin/ld: unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o: in function `(anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserMissFallback_Test::TestBody()':
DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_169DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserMissFallback_Test8TestBodyEv+0x3a): undefined reference to `llvm::DWARFDebugLine::LineTable::LineTable()'
/usr/bin/ld: DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_169DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserMissFallback_Test8TestBodyEv+0x57): undefined reference to `llvm::DWARFDebugLine::Row::Row(bool)'
/usr/bin/ld: DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_169DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserMissFallback_Test8TestBodyEv+0xb3): undefined reference to `llvm::DWARFDebugLine::Sequence::Sequence()'
/usr/bin/ld: unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o: in function `(anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_EmptyRows_Test::TestBody()':
DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_160DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_EmptyRows_Test8TestBodyEv+0x33): undefined reference to `llvm::DWARFDebugLine::LineTable::LineTable()'
/usr/bin/ld: DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_160DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_EmptyRows_Test8TestBodyEv+0x3b): undefined reference to `llvm::DWARFDebugLine::Sequence::Sequence()'
/usr/bin/ld: DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_160DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_EmptyRows_Test8TestBodyEv+0x94): undefined reference to `llvm::DWARFDebugLine::Sequence::Sequence()'
/usr/bin/ld: unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o: in function `(anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_RealignIgnoresStale_Test::TestBody()':
DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_170DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_RealignIgnoresStale_Test8TestBodyEv+0x3c): undefined reference to `llvm::DWARFDebugLine::LineTable::LineTable()'
/usr/bin/ld: DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_170DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_RealignIgnoresStale_Test8TestBodyEv+0x59): undefined reference to `llvm::DWARFDebugLine::Row::Row(bool)'
/usr/bin/ld: DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_170DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_RealignIgnoresStale_Test8TestBodyEv+0xf1): undefined reference to `llvm::DWARFDebugLine::Sequence::Sequence()'
/usr/bin/ld: DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_170DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_RealignIgnoresStale_Test8TestBodyEv+0x14a): undefined reference to `llvm::DWARFDebugLine::Sequence::Sequence()'
/usr/bin/ld: unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o: in function `(anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserOnly_Test::TestBody()':
DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_161DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserOnly_Test8TestBodyEv+0x3a): undefined reference to `llvm::DWARFDebugLine::LineTable::LineTable()'
/usr/bin/ld: DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_161DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserOnly_Test8TestBodyEv+0x57): undefined reference to `llvm::DWARFDebugLine::Row::Row(bool)'
/usr/bin/ld: DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_161DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_ParserOnly_Test8TestBodyEv+0x9f): undefined reference to `llvm::DWARFDebugLine::Sequence::Sequence()'
/usr/bin/ld: unittests/DWARFLinkerParallel/CMakeFiles/DWARFLinkerParallelTests.dir/DWARFLinkerTest.cpp.o: in function `(anonymous namespace)::DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_NoAttributes_Test::TestBody()':
DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_163DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_NoAttributes_Test8TestBodyEv+0x3a): undefined reference to `llvm::DWARFDebugLine::LineTable::LineTable()'
/usr/bin/ld: DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_163DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_NoAttributes_Test8TestBodyEv+0x57): undefined reference to `llvm::DWARFDebugLine::Row::Row(bool)'
/usr/bin/ld: DWARFLinkerTest.cpp:(.text._ZN12_GLOBAL__N_163DWARFLinker_BuildStmtSeqOffsetToFirstRowIndex_NoAttributes_Test8TestBodyEv+0x9f): undefined reference to `llvm::DWARFDebugLine::Sequence::Sequence()'
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