[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 11:05:17 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-nvptx-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/180/builds/12902

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

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

LLVMFrontendTests: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-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     0x000070456b899a90 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 240
1  libLLVMSupport.so.21.0git     0x000070456b896e8f llvm::sys::RunSignalHandlers() + 47
2  libLLVMSupport.so.21.0git     0x000070456b896fda
3  libc.so.6                     0x000070456b042520
4  libc.so.6                     0x000070456b0969fc pthread_kill + 300
5  libc.so.6                     0x000070456b042476 raise + 22
6  libc.so.6                     0x000070456b0287f3 abort + 211
7  libc.so.6                     0x000070456b02871b
8  libc.so.6                     0x000070456b039e96
9  libLLVMCore.so.21.0git        0x000070456bcec163
10 libLLVMCore.so.21.0git        0x000070456bcd68b5 llvm::LLVMContext::~LLVMContext() + 21
11 LLVMFrontendTests             0x00005d60cd346869
12 libllvm_gtest.so.21.0git      0x000070456b9b15bc testing::TestInfo::Run() + 396
13 libllvm_gtest.so.21.0git      0x000070456b9b1ca1
14 libllvm_gtest.so.21.0git      0x000070456b9c0eea testing::internal::UnitTestImpl::RunAllTests() + 2842
15 libllvm_gtest.so.21.0git      0x000070456b9a1bbf testing::UnitTest::Run() + 143
16 libllvm_gtest_main.so.21.0git 0x000070456cbabbba main + 106
17 libc.so.6                     0x000070456b029d90
18 libc.so.6                     0x000070456b029e40 __libc_start_main + 128
19 LLVMFrontendTests             0x00005d60cd304a55

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


```

</details>

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


More information about the cfe-commits mailing list