[clang] [llvm] [DebugInfo] Update DIBuilder insertion to take InsertPosition (PR #126059)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 12 09:49:23 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `clang,llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/17955
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM-Unit :: Frontend/./LLVMFrontendTests/1/41' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/unittests/Frontend/./LLVMFrontendTests-LLVM-Unit-3425083-1-41.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=41 GTEST_SHARD_INDEX=1 /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/unittests/Frontend/./LLVMFrontendTests
--
Note: This is test shard 2 of 41.
[==========] Running 4 tests from 3 test suites.
[----------] Global test environment set-up.
[----------] 1 test from OpenACCTest
[ RUN ] OpenACCTest.ClauseHelpers
[ OK ] OpenACCTest.ClauseHelpers (0 ms)
[----------] 1 test from OpenACCTest (0 ms total)
[----------] 2 tests from OpenMPIRBuilderTest
[ RUN ] OpenMPIRBuilderTest.CriticalDirective
[ OK ] OpenMPIRBuilderTest.CriticalDirective (0 ms)
[ RUN ] OpenMPIRBuilderTest.TargetRegionDeviceSPMD
Basic Block has trailing DbgRecords!
label %entry
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp:6695: Failure
Value of: verifyModule(*M, &errs())
Actual: true
Expected: false
LLVMFrontendTests: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/IR/LLVMContextImpl.cpp:50: llvm::LLVMContextImpl::~LLVMContextImpl(): Assertion `TrailingDbgRecords.empty() && "DbgRecords in blocks not cleaned"' failed.
#0 0x000059ae94d04e90 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/unittests/Frontend/./LLVMFrontendTests+0x659e90)
#1 0x000059ae94d0276f llvm::sys::RunSignalHandlers() (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/unittests/Frontend/./LLVMFrontendTests+0x65776f)
#2 0x000059ae94d028ba SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d5edfa76520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d5edfaca9fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d5edfaca9fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d5edfaca9fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d5edfa76476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d5edfa5c7f3 abort ./stdlib/abort.c:81:7
#9 0x00007d5edfa5c71b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d5edfa6de96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059ae94b44e33 (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/unittests/Frontend/./LLVMFrontendTests+0x499e33)
#12 0x000059ae94b30df5 llvm::LLVMContext::~LLVMContext() (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/unittests/Frontend/./LLVMFrontendTests+0x485df5)
#13 0x000059ae947e67c9 (anonymous namespace)::OpenMPIRBuilderTest_TargetRegionDeviceSPMD_Test::~OpenMPIRBuilderTest_TargetRegionDeviceSPMD_Test() OpenMPIRBuilderTest.cpp:0:0
#14 0x000059ae94d6034c testing::TestInfo::Run() (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/unittests/Frontend/./LLVMFrontendTests+0x6b534c)
#15 0x000059ae94d60a31 testing::TestSuite::Run() (.part.0) gtest-all.cc:0:0
#16 0x000059ae94d6ba5a testing::internal::UnitTestImpl::RunAllTests() (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/unittests/Frontend/./LLVMFrontendTests+0x6c0a5a)
#17 0x000059ae94d54e9f testing::UnitTest::Run() (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/unittests/Frontend/./LLVMFrontendTests+0x6a9e9f)
#18 0x000059ae9473e59a main (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/unittests/Frontend/./LLVMFrontendTests+0x9359a)
#19 0x00007d5edfa5dd90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#20 0x00007d5edfa5de40 call_init ./csu/../csu/libc-start.c:128:20
#21 0x00007d5edfa5de40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#22 0x000059ae947a4f35 _start (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/unittests/Frontend/./LLVMFrontendTests+0xf9f35)
...
```
</details>
https://github.com/llvm/llvm-project/pull/126059
More information about the cfe-commits
mailing list