[clang] [llvm] [DebugInfo] Update DIBuilder insertion to take InsertPosition (PR #126059)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 10:36:43 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ml-opt-dev-x86-64` running on `ml-opt-dev-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/137/builds/13269

<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/2/41' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:/b/ml-opt-dev-x86-64-b1/build/unittests/Frontend/./LLVMFrontendTests-LLVM-Unit-3757608-2-41.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=41 GTEST_SHARD_INDEX=2 /b/ml-opt-dev-x86-64-b1/build/unittests/Frontend/./LLVMFrontendTests
--

Note: This is test shard 3 of 41.
[==========] Running 4 tests from 3 test suites.
[----------] Global test environment set-up.
[----------] 1 test from OpenACCTest
[ RUN      ] OpenACCTest.AllowedClause
[       OK ] OpenACCTest.AllowedClause (0 ms)
[----------] 1 test from OpenACCTest (0 ms total)

[----------] 2 tests from OpenMPIRBuilderTest
[ RUN      ] OpenMPIRBuilderTest.OrderedDirectiveDependSource
[       OK ] OpenMPIRBuilderTest.OrderedDirectiveDependSource (0 ms)
[ RUN      ] OpenMPIRBuilderTest.ConstantAllocaRaise
Basic Block has trailing DbgRecords!
label %entry
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp:6816: Failure
Value of: verifyModule(*M, &errs())
  Actual: true
Expected: false

LLVMFrontendTests: /b/ml-opt-dev-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 0x000055dc3f199e08
1  LLVMFrontendTests 0x000055dc3f1976f5
2  libpthread.so.0   0x00007f3c2aadd140
3  libc.so.6         0x00007f3c2a5ded51 gsignal + 321
4  libc.so.6         0x00007f3c2a5c8537 abort + 291
5  libc.so.6         0x00007f3c2a5c840f
6  libc.so.6         0x00007f3c2a5d76d2
7  LLVMFrontendTests 0x000055dc3efe5c8f
8  LLVMFrontendTests 0x000055dc3efd23e1
9  LLVMFrontendTests 0x000055dc3eca6745
10 LLVMFrontendTests 0x000055dc3f1ee45c
11 LLVMFrontendTests 0x000055dc3f1eeb87
12 LLVMFrontendTests 0x000055dc3f1fc206
13 LLVMFrontendTests 0x000055dc3f1e5b2c
14 LLVMFrontendTests 0x000055dc3ebfac26
15 libc.so.6         0x00007f3c2a5c9d7a __libc_start_main + 234
16 LLVMFrontendTests 0x000055dc3ec6781a

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


```

</details>

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


More information about the llvm-commits mailing list