[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / DebugInfo / PDB / pdbdump-debug-subsections.test
blob4338f11587ce91b42580e96d931704f769d11862
1 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.pdb %p/Inputs/debug-subsections.yaml
2 ; RUN: llvm-pdbutil pdb2yaml -all -no-file-headers %t.pdb | FileCheck --check-prefix=YAML %s
4 YAML:      Modules:
5 YAML-NEXT:   - Module:          Foo.obj
6 YAML-NEXT:     ObjFile:         Foo.obj
7 YAML-NEXT:     Subsections:
8 YAML-NEXT:       - !CrossModuleExports
9 YAML-NEXT:         Exports:
10 YAML-NEXT:           - LocalId:         4852
11 YAML-NEXT:             GlobalId:        9283
12 YAML-NEXT:           - LocalId:         2147487875
13 YAML-NEXT:             GlobalId:        9123
14 YAML:        - Module:          Bar.obj
15 YAML-NEXT:     ObjFile:         Bar.obj
16 YAML-NEXT:     Subsections:
17 YAML-NEXT:       - !CrossModuleExports
18 YAML-NEXT:         Exports:
19 YAML-NEXT:           - LocalId:         4265
20 YAML-NEXT:             GlobalId:        6097
21 YAML-NEXT:           - LocalId:         4297
22 YAML-NEXT:             GlobalId:        4677
23 YAML-NEXT:       - !CrossModuleImports
24 YAML-NEXT:         Imports:
25 YAML-NEXT:           - Module:          Foo.obj
26 YAML-NEXT:             Imports:         [ 4852, 2147487875 ]
27 YAML:       - Module:          'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
28 YAML-NEXT:    ObjFile:         'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
29 YAML-NEXT:    SourceFiles:
30 YAML-NEXT:      - 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
31 YAML-NEXT:    Subsections:
32 YAML-NEXT:      - !FileChecksums
33 YAML-NEXT:        Checksums:
34 YAML-NEXT:          - FileName:        'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
35 YAML-NEXT:            Kind:            MD5
36 YAML-NEXT:            Checksum:        A0A5BD0D3ECD93FC29D19DE826FBF4BC
37 YAML-NEXT:          - FileName:        'f:\dd\externalapis\windows\10\sdk\inc\winerror.h'
38 YAML-NEXT:            Kind:            MD5
39 YAML-NEXT:            Checksum:        1154D69F5B2650196E1FC34F4134E56B
40 YAML-NEXT:      - !Lines
41 YAML-NEXT:        CodeSize:        10
42 YAML-NEXT:        Flags:           [  ]
43 YAML-NEXT:        RelocOffset:     100016
44 YAML-NEXT:        RelocSegment:    1
45 YAML-NEXT:        Blocks:
46 YAML-NEXT:          - FileName:        'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
47 YAML-NEXT:            Lines:
48 YAML-NEXT:              - Offset:          0
49 YAML-NEXT:                LineStart:       5
50 YAML-NEXT:                IsStatement:     true
51 YAML-NEXT:                EndDelta:        0
52 YAML-NEXT:              - Offset:          3
53 YAML-NEXT:                LineStart:       6
54 YAML-NEXT:                IsStatement:     true
55 YAML-NEXT:                EndDelta:        0
56 YAML-NEXT:              - Offset:          8
57 YAML-NEXT:                LineStart:       7
58 YAML-NEXT:                IsStatement:     true
59 YAML-NEXT:                EndDelta:        0
60 YAML-NEXT:            Columns:
61 YAML-NEXT:      - !InlineeLines
62 YAML-NEXT:        HasExtraFiles:   false
63 YAML-NEXT:        Sites:
64 YAML-NEXT:          - FileName:        'f:\dd\externalapis\windows\10\sdk\inc\winerror.h'
65 YAML-NEXT:            LineNum:         26950
66 YAML-NEXT:            Inlinee:         22767