[clang] [llvm] Disentangle DISubprogram ODR type method uniquing from metadata uniquing (PR #217042)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 1 06:52:24 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 143122 tests passed
* 3408 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.Assembler/dicompositetype-members.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llvm-as.exe < C:\_work\llvm-project\llvm-project\llvm\test\Assembler\dicompositetype-members.ll | c:\_work\llvm-project\llvm-project\build\bin\llvm-dis.exe | c:\_work\llvm-project\llvm-project\build\bin\llvm-as.exe | c:\_work\llvm-project\llvm-project\build\bin\llvm-dis.exe | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Assembler\dicompositetype-members.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-as.exe'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-dis.exe'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-as.exe'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-dis.exe'
# 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\llvm\test\Assembler\dicompositetype-members.ll'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Assembler\dicompositetype-members.ll -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Assembler\dicompositetype-members.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S
# 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\llvm\test\Assembler\dicompositetype-members.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Assembler\dicompositetype-members.ll -disable-debug-info-type-map | c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Assembler\dicompositetype-members.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -disable-debug-info-type-map
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S
# 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\llvm\test\Assembler\dicompositetype-members.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Assembler\dicompositetype-members.ll:24:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: !3 = !DISubprogram(name: "foo", linkageName: "foo1", scope: !4, file: !2, type: !5, spFlags: 0)
# | ^
# | <stdin>:8:13: note: scanning from here
# | !2 = !DIFile(filename: "path/to/other", directory: "/path/to/dir")
# | ^
# | <stdin>:9:1: note: possible intended match here
# | !3 = !DISubprogram(name: "foo", linkageName: "foo1", scope: !4, file: !1, type: !5, spFlags: 0)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Assembler\dicompositetype-members.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = '<stdin>'
# | 2: source_filename = "<stdin>"
# | 3:
# | 4: !named = !{!0, !1, !2, !3, !7, !4, !8, !9, !10, !11, !12, !13, !14, !15, !16, !8, !3, !17}
# | 5:
# | 6: !0 = !DIBasicType(name: "name", size: 1, align: 2, encoding: DW_ATE_unsigned_char)
# | 7: !1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
# | 8: !2 = !DIFile(filename: "path/to/other", directory: "/path/to/dir")
# | next:24'0 { search range start (exclusive)
# | next:24'1 error: no match found in search range
# | 9: !3 = !DISubprogram(name: "foo", linkageName: "foo1", scope: !4, file: !1, type: !5, spFlags: 0)
# | next:24'2 ? possible intended match
# | 10: !4 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "has-uuid", file: !1, line: 2, size: 64, align: 32, identifier: "uuid")
# | 11: !5 = !DISubroutineType(types: !6)
# | 12: !6 = !{null}
# | 13: !7 = !DISubprogram(name: "foo", linkageName: "foo2", scope: !4, file: !1, type: !5, spFlags: 0)
# | 14: !8 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !4, file: !1, line: 4, baseType: !0, size: 32, align: 32, offset: 32)
# | 15: !9 = !DIDerivedType(tag: DW_TAG_member, name: "field2", scope: !4, file: !1, line: 4, baseType: !0, size: 32, align: 32, offset: 32)
# | 16: !10 = !DICompositeType(tag: DW_TAG_structure_type, name: "no-uuid", file: !1, line: 2, size: 64, align: 32)
# | 17: !11 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !10, file: !1, line: 4, baseType: !0, size: 32, align: 32, offset: 32)
# | 18: !12 = !DIDerivedType(tag: DW_TAG_member, name: "field2", scope: !10, file: !1, line: 4, baseType: !0, size: 32, align: 32, offset: 32)
# | 19: !13 = !DISubprogram(name: "foo", linkageName: "foo1", scope: !10, file: !1, type: !5, spFlags: 0)
# | 20: !14 = !DISubprogram(name: "foo", linkageName: "foo2", scope: !10, file: !1, type: !5, spFlags: 0)
# | 21: !15 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !10, file: !2, line: 4, baseType: !0, size: 32, align: 32, offset: 32)
# | 22: !16 = !DISubprogram(name: "foo", linkageName: "foo1", scope: !10, file: !2, type: !5, spFlags: 0)
# | 23: !17 = !{!8, !3}
# | next:24'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.ThinLTO/X86/crash_debuginfo.ll</summary>
```
Exit Code: 3221225501
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -module-summary -o C:\_work\llvm-project\llvm-project\build\test\ThinLTO\X86\Output\crash_debuginfo.ll.tmp-dst.bc C:\_work\llvm-project\llvm-project\llvm\test\ThinLTO\X86\crash_debuginfo.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -module-summary -o 'C:\_work\llvm-project\llvm-project\build\test\ThinLTO\X86\Output\crash_debuginfo.ll.tmp-dst.bc' 'C:\_work\llvm-project\llvm-project\llvm\test\ThinLTO\X86\crash_debuginfo.ll'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -module-summary -o C:\_work\llvm-project\llvm-project\build\test\ThinLTO\X86\Output\crash_debuginfo.ll.tmp-src.bc C:\_work\llvm-project\llvm-project\llvm\test\ThinLTO\X86/Inputs/crash_debuginfo.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -module-summary -o 'C:\_work\llvm-project\llvm-project\build\test\ThinLTO\X86\Output\crash_debuginfo.ll.tmp-src.bc' 'C:\_work\llvm-project\llvm-project\llvm\test\ThinLTO\X86/Inputs/crash_debuginfo.ll'
# .---command stderr------------
# | Assertion failed: detail::isPresent(Val) && "dyn_cast on a non-existent value", file C:\_work\llvm-project\llvm-project\llvm\include\llvm/Support/Casting.h, line 656
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\opt.exe -module-summary -o C:\\_work\\llvm-project\\llvm-project\\build\\test\\ThinLTO\\X86\\Output\\crash_debuginfo.ll.tmp-src.bc C:\\_work\\llvm-project\\llvm-project\\llvm\\test\\ThinLTO\\X86/Inputs/crash_debuginfo.ll
# | Exception Code: 0xC000001D
# | #0 0x00007ff628379286 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x19286)
# | #1 0x00007ffcad40bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# | #2 0x00007ffcad40cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# | #3 0x00007ffcad40e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# | #4 0x00007ffcad40e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# | #5 0x00007ff62967cd63 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x131cd63)
# | #6 0x00007ff6296597bf (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x12f97bf)
# | #7 0x00007ff629657518 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x12f7518)
# | #8 0x00007ff629656f3b (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x12f6f3b)
# | #9 0x00007ff6286db83e (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x37b83e)
# | #10 0x00007ff6286db971 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x37b971)
# | #11 0x00007ff6286f2cf9 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x392cf9)
# | #12 0x00007ff6286f3413 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x393413)
# | #13 0x00007ff628364a53 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x4a53)
# | #14 0x00007ff62836105e (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x105e)
# | #15 0x00007ff62d1b0520 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x4e50520)
# | #16 0x00007ffcb31d4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #17 0x00007ffcbd73edeb (C:\Windows\SYSTEM32\ntdll.dll+0x7edeb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
--
```
</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/217042
More information about the llvm-commits
mailing list