Lines Matching refs:COFF

1 RUN: obj2yaml %p/Inputs/trivial-object-test.coff-i386 | FileCheck %s --check-prefix COFF-I386
2 RUN: obj2yaml %p/Inputs/trivial-object-test.coff-x86-64 | FileCheck %s --check-prefix COFF-X86-64
9 COFF-I386: header:
10 COFF-I386-NEXT: Machine: IMAGE_FILE_MACHINE_I386
12 COFF-I386: sections:
13 COFF-I386-NEXT: - Name: .text
14 COFF-I386-NEXT: Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ…
15 COFF-I386-NEXT: Alignment: 16
16 COFF-I386-NEXT: SectionData: 83EC0CC744240800000000C7042400000000E800000000E8000000008B44240883…
18 COFF-I386: Relocations:
19 COFF-I386-NEXT: - VirtualAddress: 14
20 COFF-I386-NEXT: SymbolName: L_.str
21 COFF-I386-NEXT: Type: IMAGE_REL_I386_DIR32
23 COFF-I386: - VirtualAddress: 19
24 COFF-I386-NEXT: SymbolName: _puts
25 COFF-I386-NEXT: Type: IMAGE_REL_I386_REL32
27 COFF-I386: - VirtualAddress: 24
28 COFF-I386-NEXT: SymbolName: _SomeOtherFunction
29 COFF-I386-NEXT: Type: IMAGE_REL_I386_REL32
31 COFF-I386: - Name: .data
32 COFF-I386-NEXT: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN…
33 COFF-I386-NEXT: Alignment: 1
34 COFF-I386-NEXT: SectionData: 48656C6C6F20576F726C642100
36 COFF-I386: symbols:
37 COFF-I386-NEXT: - Name: .text
38 COFF-I386-NEXT: Value: 0
39 COFF-I386-NEXT: SectionNumber: 1
40 COFF-I386-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
41 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
42 COFF-I386-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC
43 COFF-I386-NEXT: SectionDefinition:
44 COFF-I386-NEXT: Length: 36
45 COFF-I386-NEXT: NumberOfRelocations: 3
46 COFF-I386-NEXT: NumberOfLinenumbers: 0
47 COFF-I386-NEXT: CheckSum: 0
48 COFF-I386-NEXT: Number: 1
50 COFF-I386: - Name: .data
51 COFF-I386-NEXT: Value: 0
52 COFF-I386-NEXT: SectionNumber: 2
53 COFF-I386-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
54 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
55 COFF-I386-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC
56 COFF-I386-NEXT: SectionDefinition:
57 COFF-I386-NEXT: Length: 13
58 COFF-I386-NEXT: NumberOfRelocations: 0
59 COFF-I386-NEXT: NumberOfLinenumbers: 0
60 COFF-I386-NEXT: CheckSum: 0
61 COFF-I386-NEXT: Number: 2
63 COFF-I386: - Name: _main
64 COFF-I386-NEXT: Value: 0
65 COFF-I386-NEXT: SectionNumber: 1
66 COFF-I386-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
67 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_FUNCTION
68 COFF-I386-NEXT: StorageClass: IMAGE_SYM_CLASS_EXTERNAL
70 COFF-I386: - Name: L_.str
71 COFF-I386-NEXT: Value: 0
72 COFF-I386-NEXT: SectionNumber: 2
73 COFF-I386-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
74 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
75 COFF-I386-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC
77 COFF-I386: - Name: _puts
78 COFF-I386-NEXT: Value: 0
79 COFF-I386-NEXT: SectionNumber: 0
80 COFF-I386-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
81 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
82 COFF-I386-NEXT: StorageClass: IMAGE_SYM_CLASS_EXTERNAL
84 COFF-I386: - Name: _SomeOtherFunction
85 COFF-I386-NEXT: Value: 0
86 COFF-I386-NEXT: SectionNumber: 0
87 COFF-I386-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
88 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
89 COFF-I386-NEXT: StorageClass: IMAGE_SYM_CLASS_EXTERNAL
92 COFF-X86-64: header:
93 COFF-X86-64-NEXT: Machine: IMAGE_FILE_MACHINE_AMD64
95 COFF-X86-64: sections:
96 COFF-X86-64-NEXT: - Name: .text
97 COFF-X86-64-NEXT: Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_R…
98 COFF-X86-64-NEXT: Alignment: 16
99 COFF-X86-64-NEXT: SectionData: 4883EC28C744242400000000488D0D00000000E800000000E8000000008B4424…
101 COFF-X86-64: Relocations:
102 COFF-X86-64-NEXT: - VirtualAddress: 15
103 COFF-X86-64-NEXT: SymbolName: L.str
104 COFF-X86-64-NEXT: Type: IMAGE_REL_AMD64_REL32
106 COFF-X86-64: - VirtualAddress: 20
107 COFF-X86-64-NEXT: SymbolName: puts
108 COFF-X86-64-NEXT: Type: IMAGE_REL_AMD64_REL32
110 COFF-X86-64: - VirtualAddress: 25
111 COFF-X86-64-NEXT: SymbolName: SomeOtherFunction
112 COFF-X86-64-NEXT: Type: IMAGE_REL_AMD64_REL32
114 COFF-X86-64: - Name: .data
115 COFF-X86-64-NEXT: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_…
116 COFF-X86-64-NEXT: Alignment: 1
117 COFF-X86-64-NEXT: SectionData: 48656C6C6F20576F726C642100
119 COFF-X86-64: - Name: '.CRT$XCU'
120 COFF-X86-64-NEXT: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
121 COFF-X86-64-NEXT: Alignment: 8
122 COFF-X86-64-NEXT: SectionData: '0000000000000000'
124 COFF-X86-64: Relocations:
125 COFF-X86-64-NEXT: - VirtualAddress: 0
126 COFF-X86-64-NEXT: SymbolName: '??__Ex@@YAXXZ'
127 COFF-X86-64-NEXT: Type: IMAGE_REL_AMD64_ADDR64
129 COFF-X86-64: symbols:
130 COFF-X86-64-NEXT: - Name: .text
131 COFF-X86-64-NEXT: Value: 0
132 COFF-X86-64-NEXT: SectionNumber: 1
133 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
134 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
135 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC
136 COFF-X86-64-NEXT: SectionDefinition:
137 COFF-X86-64-NEXT: Length: 38
138 COFF-X86-64-NEXT: NumberOfRelocations: 3
139 COFF-X86-64-NEXT: NumberOfLinenumbers: 0
140 COFF-X86-64-NEXT: CheckSum: 0
141 COFF-X86-64-NEXT: Number: 1
143 COFF-X86-64: - Name: .data
144 COFF-X86-64-NEXT: Value: 0
145 COFF-X86-64-NEXT: SectionNumber: 2
146 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
147 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
148 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC
149 COFF-X86-64-NEXT: SectionDefinition:
150 COFF-X86-64-NEXT: Length: 13
151 COFF-X86-64-NEXT: NumberOfRelocations: 0
152 COFF-X86-64-NEXT: NumberOfLinenumbers: 0
153 COFF-X86-64-NEXT: CheckSum: 0
154 COFF-X86-64-NEXT: Number: 2
156 COFF-X86-64: - Name: main
157 COFF-X86-64-NEXT: Value: 0
158 COFF-X86-64-NEXT: SectionNumber: 1
159 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
160 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_FUNCTION
161 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_EXTERNAL
163 COFF-X86-64: - Name: L.str
164 COFF-X86-64-NEXT: Value: 0
165 COFF-X86-64-NEXT: SectionNumber: 2
166 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
167 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
168 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC
170 COFF-X86-64: - Name: puts
171 COFF-X86-64-NEXT: Value: 0
172 COFF-X86-64-NEXT: SectionNumber: 0
173 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
174 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
175 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_EXTERNAL
177 COFF-X86-64: - Name: SomeOtherFunction
178 COFF-X86-64-NEXT: Value: 0
179 COFF-X86-64-NEXT: SectionNumber: 0
180 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
181 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
182 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_EXTERNAL
184 COFF-X86-64: - Name: '??__Ex@@YAXXZ'
185 COFF-X86-64-NEXT: Value: 0
186 COFF-X86-64-NEXT: SectionNumber: 3
187 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
188 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_FUNCTION
189 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC