[llvm] [llvm-pdbutil] Hash type records in yaml2pdb (PR #187593)

via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 21 04:26:52 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 171602 tests passed
* 3069 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.DebugInfo/PDB/pdbdump-mergetypes.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-pdbutil yaml2pdb -pdb=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/PDB/Output/pdbdump-mergetypes.test.tmp.1.pdb /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/PDB/Inputs/merge-types-1.yaml
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-pdbutil yaml2pdb -pdb=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/PDB/Output/pdbdump-mergetypes.test.tmp.1.pdb /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/PDB/Inputs/merge-types-1.yaml
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-pdbutil yaml2pdb -pdb=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/PDB/Output/pdbdump-mergetypes.test.tmp.2.pdb /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/PDB/Inputs/merge-types-2.yaml
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-pdbutil yaml2pdb -pdb=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/PDB/Output/pdbdump-mergetypes.test.tmp.2.pdb /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/PDB/Inputs/merge-types-2.yaml
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-pdbutil merge -pdb=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/PDB/Output/pdbdump-mergetypes.test.tmp.3.pdb /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/PDB/Output/pdbdump-mergetypes.test.tmp.1.pdb /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/PDB/Output/pdbdump-mergetypes.test.tmp.2.pdb
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-pdbutil merge -pdb=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/PDB/Output/pdbdump-mergetypes.test.tmp.3.pdb /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/PDB/Output/pdbdump-mergetypes.test.tmp.1.pdb /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/PDB/Output/pdbdump-mergetypes.test.tmp.2.pdb
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-pdbutil dump -types /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/PDB/Output/pdbdump-mergetypes.test.tmp.3.pdb | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=MERGED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/PDB/pdbdump-mergetypes.test
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-pdbutil dump -types /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/PDB/Output/pdbdump-mergetypes.test.tmp.3.pdb
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=MERGED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/PDB/pdbdump-mergetypes.test
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/PDB/pdbdump-mergetypes.test:17:14: error: MERGED-NEXT: expected string not found in input
# | MERGED-NEXT: options: forward ref | has unique name
# |              ^
# | <stdin>:12:64: note: scanning from here
# |  vtable: <no type>, base list: <no type>, field list: <no type>
# |                                                                ^
# | <stdin>:13:2: note: possible intended match here
# |  options: forward ref (= 0x1002) | has unique name, sizeof 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/PDB/pdbdump-mergetypes.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |            7:  referent = 0x0075 (unsigned), mode = pointer, opts = None, kind = ptr32 
# |            8:  0x1001 | LF_POINTER [size = 12] 
# |            9:  referent = 0x0076 (__int64), mode = pointer, opts = None, kind = ptr32 
# |           10:  0x1002 | LF_STRUCTURE [size = 48] `OnlyInMerge1` 
# |           11:  unique name: `OnlyInMerge1` 
# |           12:  vtable: <no type>, base list: <no type>, field list: <no type> 
# | next:17'0                                                                    X error: no match found
# |           13:  options: forward ref (= 0x1002) | has unique name, sizeof 0 
# | next:17'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:17'1      ?                                                            possible intended match
# |           14:  0x1003 | LF_POINTER [size = 12] 
# | next:17'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           15:  referent = 0x1000, mode = pointer, opts = None, kind = ptr32 
# | next:17'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           16:  0x1004 | LF_POINTER [size = 12] 
# | next:17'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           17:  referent = 0x1003, mode = pointer, opts = None, kind = ptr32 
# | next:17'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           18:  0x1005 | LF_POINTER [size = 12] 
# | next:17'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# 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/187593


More information about the llvm-commits mailing list