[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 09:52:58 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `mlir-nvidia` running on `mlir-nvidia` while building `clang,llvm` at step 7 "test-build-check-mlir-build-only-check-mlir".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/138/builds/10230
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (test-build-check-mlir-build-only-check-mlir) failure: test (failure)
******************** TEST 'MLIR :: Target/LLVMIR/omptarget-debug-var-1.mlir' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/mlir-translate -mlir-to-llvmir /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Target/LLVMIR/omptarget-debug-var-1.mlir | /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/FileCheck /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Target/LLVMIR/omptarget-debug-var-1.mlir
# executed command: /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/mlir-translate -mlir-to-llvmir /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Target/LLVMIR/omptarget-debug-var-1.mlir
# executed command: /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/bin/FileCheck /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Target/LLVMIR/omptarget-debug-var-1.mlir
# .---command stderr------------
# | /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Target/LLVMIR/omptarget-debug-var-1.mlir:60:11: error: CHECK: expected string not found in input
# | // CHECK: !DILocalVariable(name: "dyn_ptr", arg: 1, scope: ![[SP]]{{.*}}flags: DIFlagArtificial)
# | ^
# | <stdin>:93:291: note: scanning from here
# | !17 = distinct !DISubprogram(name: "__omp_offloading_2e_152832_test_l43", linkageName: "__omp_offloading_2e_152832_test_l43", scope: null, file: !3, line: 43, type: !18, scopeLine: 43, flags: DIFlagArtificial, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !2)
# | ^
# | <stdin>:93:291: note: with "SP" equal to "17"
# | !17 = distinct !DISubprogram(name: "__omp_offloading_2e_152832_test_l43", linkageName: "__omp_offloading_2e_152832_test_l43", scope: null, file: !3, line: 43, type: !18, scopeLine: 43, flags: DIFlagArtificial, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !2)
# | ^
# | <stdin>:100:7: note: possible intended match here
# | !24 = !DILocalVariable(name: "arr", arg: 3, scope: !17, file: !3, line: 4, type: !5)
# | ^
# |
# | Input file: <stdin>
# | Check file: /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/test/Target/LLVMIR/omptarget-debug-var-1.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 88: !12 = !{null}
# | 89: !13 = !DILocation(line: 32, column: 10, scope: !10)
# | 90: !14 = !DILocation(line: 33, column: 10, scope: !10)
# | 91: !15 = !DILocation(line: 43, column: 5, scope: !10)
# | 92: !16 = !DILocation(line: 49, column: 5, scope: !10)
# | 93: !17 = distinct !DISubprogram(name: "__omp_offloading_2e_152832_test_l43", linkageName: "__omp_offloading_2e_152832_test_l43", scope: null, file: !3, line: 43, type: !18, scopeLine: 43, flags: DIFlagArtificial, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !2)
# | check:60'0 X error: no match found
# | check:60'1 with "SP" equal to "17"
# | 94: !18 = !DISubroutineType(types: !19)
# | check:60'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 95: !19 = !{}
# | check:60'0 ~~~~~~~~~~
# | 96: !20 = !DILocation(line: 43, column: 5, scope: !17)
# | check:60'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 97: !21 = !DILocalVariable(name: "x", arg: 2, scope: !17, file: !3, line: 12, type: !22)
# | check:60'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 98: !22 = !DIBasicType(name: "real", size: 32, encoding: DW_ATE_float)
...
```
</details>
https://github.com/llvm/llvm-project/pull/126059
More information about the llvm-commits
mailing list