[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 10:59:06 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-nvptx64-nvidia-ubuntu` running on `as-builder-7` while building `clang,llvm` at step 6 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/160/builds/12905

<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)
******************** TEST 'LLVM-Unit :: Frontend/./LLVMFrontendTests/83/161' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/unittests/Frontend/./LLVMFrontendTests-LLVM-Unit-2668642-83-161.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=161 GTEST_SHARD_INDEX=83 /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/unittests/Frontend/./LLVMFrontendTests
--

Note: This is test shard 84 of 161.
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from OpenMPIRBuilderTest
[ RUN      ] OpenMPIRBuilderTest.TargetRegionDeviceSPMD
Basic Block has trailing DbgRecords!
label %entry
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp:6695: Failure
Value of: verifyModule(*M, &errs())
  Actual: true
Expected: false

LLVMFrontendTests: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/lib/IR/LLVMContextImpl.cpp:50: llvm::LLVMContextImpl::~LLVMContextImpl(): Assertion `TrailingDbgRecords.empty() && "DbgRecords in blocks not cleaned"' failed.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  libLLVMSupport.so.21.0git     0x0000767ef6368a90 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 240
1  libLLVMSupport.so.21.0git     0x0000767ef6365e8f llvm::sys::RunSignalHandlers() + 47
2  libLLVMSupport.so.21.0git     0x0000767ef6365fda
3  libc.so.6                     0x0000767ef5a42520
4  libc.so.6                     0x0000767ef5a969fc pthread_kill + 300
5  libc.so.6                     0x0000767ef5a42476 raise + 22
6  libc.so.6                     0x0000767ef5a287f3 abort + 211
7  libc.so.6                     0x0000767ef5a2871b
8  libc.so.6                     0x0000767ef5a39e96
9  libLLVMCore.so.21.0git        0x0000767ef67bb163
10 libLLVMCore.so.21.0git        0x0000767ef67a58b5 llvm::LLVMContext::~LLVMContext() + 21
11 LLVMFrontendTests             0x00005b5b728d42f9
12 libllvm_gtest.so.21.0git      0x0000767ef64805bc testing::TestInfo::Run() + 396
13 libllvm_gtest.so.21.0git      0x0000767ef6480ca1
14 libllvm_gtest.so.21.0git      0x0000767ef648feea testing::internal::UnitTestImpl::RunAllTests() + 2842
15 libllvm_gtest.so.21.0git      0x0000767ef6470bbf testing::UnitTest::Run() + 143
16 libllvm_gtest_main.so.21.0git 0x0000767ef767abba main + 106
17 libc.so.6                     0x0000767ef5a29d90
18 libc.so.6                     0x0000767ef5a29e40 __libc_start_main + 128
19 LLVMFrontendTests             0x00005b5b72892a65

--
exit: -6
--
shard JSON output does not exist: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/unittests/Frontend/./LLVMFrontendTests-LLVM-Unit-2668642-83-161.json
********************


```

</details>

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


More information about the cfe-commits mailing list