[ARM] Better OR's for MVE compares
[llvm-core.git] / test / DebugInfo / PDB / annotation.test
blobba6bd14061e4d15a1d762a2a3dd79a3ebc83eeb6
1 # RUN: yaml2obj < %s > %t.obj
2 # RUN: llvm-pdbutil dump --symbols %t.obj | FileCheck %s
3 # RUN: llvm-readobj -codeview %t.obj | FileCheck %s --check-prefix=READOBJ
5 # CHECK:      S_ANNOTATION [size = 20]
6 # CHECK-NEXT: addr = 0001:0042
7 # CHECK-NEXT: strings = [
8 # CHECK-NEXT:            foo
9 # CHECK-NEXT:            bar]
11 # READOBJ:      AnnotationSym {
12 # READOBJ-NEXT:   Kind: S_ANNOTATION (0x1019)
13 # READOBJ-NEXT:   Offset: 0x2A
14 # READOBJ-NEXT:   Segment: 0x1
15 # READOBJ-NEXT:   Strings [
16 # READOBJ-NEXT:     foo
17 # READOBJ-NEXT:     bar
18 # READOBJ-NEXT:   ]
19 # READOBJ-NEXT: }
21 --- !COFF
22 header:          
23   Machine:         IMAGE_FILE_MACHINE_AMD64
24   Characteristics: [  ]
25 sections:        
26   - Name:            .text
27     Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
28     Alignment:       16
29     SectionData:     CD2C0F0B
30   - Name:            '.debug$S'
31     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
32     Alignment:       1
33     Subsections:     
34       - !Symbols
35         Records:         
36           - Kind:            S_OBJNAME
37             ObjNameSym:      
38               Signature:       0
39               ObjectName:      'SimpleFunction.obj'
40           - Kind:            S_COMPILE3
41             Compile3Sym:     
42               Flags:           [ SecurityChecks, HotPatch ]
43               Machine:         X64
44               FrontendMajor:   19
45               FrontendMinor:   14
46               FrontendBuild:   26433
47               FrontendQFE:     0
48               BackendMajor:    19
49               BackendMinor:    14
50               BackendBuild:    26433
51               BackendQFE:      0
52               Version:         'Microsoft (R) Optimizing Compiler'
53           - Kind:            S_ANNOTATION
54             AnnotationSym:   
55               Offset: 42
56               Segment: 1
57               Strings:         
58                 - foo
59                 - bar
60       - !StringTable
61         Strings:
62           - 'SimpleFunction.c'
63 symbols:         
64   - Name:            .text
65     Value:           0
66     SectionNumber:   1
67     SimpleType:      IMAGE_SYM_TYPE_NULL
68     ComplexType:     IMAGE_SYM_DTYPE_NULL
69     StorageClass:    IMAGE_SYM_CLASS_STATIC
70     SectionDefinition: 
71       Length:          4
72       NumberOfRelocations: 0
73       NumberOfLinenumbers: 0
74       CheckSum:        2772061208
75       Number:          1
76   - Name:            '.debug$S'
77     Value:           0
78     SectionNumber:   2
79     SimpleType:      IMAGE_SYM_TYPE_NULL
80     ComplexType:     IMAGE_SYM_DTYPE_NULL
81     StorageClass:    IMAGE_SYM_CLASS_STATIC
82     SectionDefinition: 
83       Length:          396
84       NumberOfRelocations: 0
85       NumberOfLinenumbers: 0
86       CheckSum:        0
87       Number:          2
88 ...