[flang-commits] [flang] [flang][debuginfo] Emit DW_AT_type for DW_TAG_string_type DIEs [3/3] (PR #231960)
via flang-commits
flang-commits at lists.llvm.org
Wed Oct 14 08:46:46 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 5016 tests passed
* 258 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Flang
<details>
<summary>Flang.Integration/debug-bounds-stack-slot.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\flang.exe -fc1 -fintrinsic-modules-path=C:\_work\llvm-project\llvm-project\build\lib\clang\24\finclude\flang\x86_64-pc-windows-msvc -emit-llvm -debug-info-kind=standalone C:\_work\llvm-project\llvm-project\flang\test\Integration\debug-bounds-stack-slot.f90 -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\flang\test\Integration\debug-bounds-stack-slot.f90
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' -fc1 '-fintrinsic-modules-path=C:\_work\llvm-project\llvm-project\build\lib\clang\24\finclude\flang\x86_64-pc-windows-msvc' -emit-llvm -debug-info-kind=standalone 'C:\_work\llvm-project\llvm-project\flang\test\Integration\debug-bounds-stack-slot.f90' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\flang\test\Integration\debug-bounds-stack-slot.f90'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\flang\test\Integration\debug-bounds-stack-slot.f90:45:14: error: CHECK-DAG: expected string not found in input
# | ! CHECK-DAG: ![[CTY]] = !DIStringType(stringLength: ![[LEN]], encoding: DW_ATE_ASCII)
# | ^
# | <stdin>:54:10: note: scanning from here
# | ret void, !dbg !38
# | ^
# | <stdin>:54:10: note: with "CTY" equal to "35"
# | ret void, !dbg !38
# | ^
# | <stdin>:54:10: note: with "LEN" equal to "33"
# | ret void, !dbg !38
# | ^
# | <stdin>:105:3: note: possible intended match here
# | !35 = !DIStringType(stringLength: !33, encoding: DW_ATE_ASCII, charType: !36)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\flang\test\Integration\debug-bounds-stack-slot.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 49: #dbg_declare(ptr %6, !34, !DIExpression(), !32)
# | 50: %8 = getelementptr [1 x i8], ptr %6, i64 0, !dbg !37
# | 51: %9 = load [1 x i8], ptr @_QQclX78, align 1, !dbg !37
# | 52: store [1 x i8] %9, ptr %8, align 1, !dbg !37
# | 53: call void (...) @llvm.fake.use(ptr %6), !dbg !32
# | 54: ret void, !dbg !38
# | dag:45'0 { search range start (exclusive)
# | dag:45'1 error: no match found in search range
# | dag:45'2 with "CTY" equal to "35"
# | dag:45'3 with "LEN" equal to "33"
# | 55: }
# | 56:
# | 57: ; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
# | 58: declare i64 @llvm.smax.i64(i64, i64) #0
# | 59:
# | .
# | .
# | .
# | 100: !30 = !{null, !13}
# | 101: !31 = !DILocation(line: 12, column: 1, scope: !28)
# | 102: !32 = !DILocation(line: 13, column: 19, scope: !28)
# | 103: !33 = !DILocalVariable(name: "._QFchar_lenEc1", scope: !28, file: !1, type: !20, flags: DIFlagArtificial)
# | 104: !34 = !DILocalVariable(name: "c", arg: 1, scope: !28, file: !6, line: 13, type: !35)
# | 105: !35 = !DIStringType(stringLength: !33, encoding: DW_ATE_ASCII, charType: !36)
# | dag:45'4 ? possible intended match
# | 106: !36 = !DIBasicType(name: "character(kind=1)", size: 8, encoding: DW_ATE_ASCII)
# | 107: !37 = !DILocation(line: 14, column: 3, scope: !28)
# | 108: !38 = !DILocation(line: 15, column: 1, scope: !28)
# | dag:45'5 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/231960
More information about the flang-commits
mailing list