[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:52:56 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ml-opt-rel-x86-64` running on `ml-opt-rel-x86-64-b2` while building `clang,llvm` at step 6 "test-build-unified-tree-check-all".

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

<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:/b/ml-opt-rel-x86-64-b1/build/unittests/Frontend/./LLVMFrontendTests-LLVM-Unit-1153031-1-41.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=41 GTEST_SHARD_INDEX=1 /b/ml-opt-rel-x86-64-b1/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
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp:6695: Failure
Value of: verifyModule(*M, &errs())
  Actual: true
Expected: false

LLVMFrontendTests: /b/ml-opt-rel-x86-64-b1/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  LLVMFrontendTests 0x000055a87c74ba78
1  LLVMFrontendTests 0x000055a87c749365
2  libpthread.so.0   0x00007f308dbf1140
3  libc.so.6         0x00007f308d6f2d51 gsignal + 321
4  libc.so.6         0x00007f308d6dc537 abort + 291
5  libc.so.6         0x00007f308d6dc40f
6  libc.so.6         0x00007f308d6eb6d2
7  LLVMFrontendTests 0x000055a87c597b6f
8  LLVMFrontendTests 0x000055a87c5842c1
9  LLVMFrontendTests 0x000055a87c259ca5
10 LLVMFrontendTests 0x000055a87c7a00cc
11 LLVMFrontendTests 0x000055a87c7a07f7
12 LLVMFrontendTests 0x000055a87c7ade76
13 LLVMFrontendTests 0x000055a87c79779c
14 LLVMFrontendTests 0x000055a87c1af186
15 libc.so.6         0x00007f308d6ddd7a __libc_start_main + 234
16 LLVMFrontendTests 0x000055a87c2196fa

--
exit: -6
--
shard JSON output does not exist: /b/ml-opt-rel-x86-64-b1/build/unittests/Frontend/./LLVMFrontendTests-LLVM-Unit-1153031-1-41.json
********************


```

</details>

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


More information about the cfe-commits mailing list