[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 13:50:41 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` running on `gribozavr4` while building `clang,llvm` at step 7 "test-build-unified-tree-check-llvm".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM-Unit :: Frontend/./LLVMFrontendTests/83/161' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:/b/1/llvm-x86_64-debian-dylib/build/unittests/Frontend/./LLVMFrontendTests-LLVM-Unit-3509997-83-161.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=161 GTEST_SHARD_INDEX=83 /b/1/llvm-x86_64-debian-dylib/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
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp:6695: Failure
Value of: verifyModule(*M, &errs())
  Actual: true
Expected: false

LLVMFrontendTests: /b/1/llvm-x86_64-debian-dylib/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  libLLVM.so.21.0git 0x00007f7188ac5007 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39
1  libLLVM.so.21.0git 0x00007f7188ac2a8c llvm::sys::RunSignalHandlers() + 188
2  libLLVM.so.21.0git 0x00007f7188ac56da
3  libpthread.so.0    0x00007f7192197140
4  libc.so.6          0x00007f7187678d51 gsignal + 321
5  libc.so.6          0x00007f7187662537 abort + 291
6  libc.so.6          0x00007f718766240f
7  libc.so.6          0x00007f71876716d2
8  libLLVM.so.21.0git 0x00007f7188c82ea0 llvm::LLVMContextImpl::~LLVMContextImpl() + 33248
9  libLLVM.so.21.0git 0x00007f7188c78921 llvm::LLVMContext::~LLVMContext() + 17
10 LLVMFrontendTests  0x00000000004eb03d
11 LLVMFrontendTests  0x000000000055a1ea
12 LLVMFrontendTests  0x000000000055af56
13 LLVMFrontendTests  0x000000000056e0dd
14 LLVMFrontendTests  0x000000000056d43a
15 LLVMFrontendTests  0x00000000005451bc
16 libc.so.6          0x00007f7187663d7a __libc_start_main + 234
17 LLVMFrontendTests  0x000000000041da7a

--
exit: -6
--
shard JSON output does not exist: /b/1/llvm-x86_64-debian-dylib/build/unittests/Frontend/./LLVMFrontendTests-LLVM-Unit-3509997-83-161.json
********************


```

</details>

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


More information about the cfe-commits mailing list