Lines Matching full: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
10 COFF-I386: header:
11 COFF-I386-NEXT: Machine: IMAGE_FILE_MACHINE_I386
13 COFF-I386: sections:
14 COFF-I386-NEXT: - Name: .text
15 COFF-I386-NEXT: Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ…
16 COFF-I386-NEXT: Alignment: 16
17 COFF-I386-NEXT: SectionData: 83EC0CC744240800000000C7042400000000E800000000E8000000008B44240883…
19 COFF-I386: Relocations:
20 COFF-I386-NEXT: - VirtualAddress: 14
21 COFF-I386-NEXT: SymbolName: L_.str
22 COFF-I386-NEXT: Type: IMAGE_REL_I386_DIR32
24 COFF-I386: - VirtualAddress: 19
25 COFF-I386-NEXT: SymbolName: _puts
26 COFF-I386-NEXT: Type: IMAGE_REL_I386_REL32
28 COFF-I386: - VirtualAddress: 24
29 COFF-I386-NEXT: SymbolName: _SomeOtherFunction
30 COFF-I386-NEXT: Type: IMAGE_REL_I386_REL32
32 COFF-I386: - Name: .data
33 COFF-I386-NEXT: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN…
34 COFF-I386-NEXT: Alignment: 1
35 COFF-I386-NEXT: SectionData: 48656C6C6F20576F726C642100
37 COFF-I386: symbols:
38 COFF-I386-NEXT: - Name: .text
39 COFF-I386-NEXT: Value: 0
40 COFF-I386-NEXT: SectionNumber: 1
41 COFF-I386-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
42 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
43 COFF-I386-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC
44 COFF-I386-NEXT: SectionDefinition:
45 COFF-I386-NEXT: Length: 36
46 COFF-I386-NEXT: NumberOfRelocations: 3
47 COFF-I386-NEXT: NumberOfLinenumbers: 0
48 COFF-I386-NEXT: CheckSum: 0
49 COFF-I386-NEXT: Number: 1
51 COFF-I386: - Name: .data
52 COFF-I386-NEXT: Value: 0
53 COFF-I386-NEXT: SectionNumber: 2
54 COFF-I386-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
55 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
56 COFF-I386-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC
57 COFF-I386-NEXT: SectionDefinition:
58 COFF-I386-NEXT: Length: 13
59 COFF-I386-NEXT: NumberOfRelocations: 0
60 COFF-I386-NEXT: NumberOfLinenumbers: 0
61 COFF-I386-NEXT: CheckSum: 0
62 COFF-I386-NEXT: Number: 2
64 COFF-I386: - Name: _main
65 COFF-I386-NEXT: Value: 0
66 COFF-I386-NEXT: SectionNumber: 1
67 COFF-I386-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
68 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_FUNCTION
69 COFF-I386-NEXT: StorageClass: IMAGE_SYM_CLASS_EXTERNAL
71 COFF-I386: - Name: L_.str
72 COFF-I386-NEXT: Value: 0
73 COFF-I386-NEXT: SectionNumber: 2
74 COFF-I386-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
75 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
76 COFF-I386-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC
78 COFF-I386: - Name: _puts
79 COFF-I386-NEXT: Value: 0
80 COFF-I386-NEXT: SectionNumber: 0
81 COFF-I386-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
82 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
83 COFF-I386-NEXT: StorageClass: IMAGE_SYM_CLASS_EXTERNAL
85 COFF-I386: - Name: _SomeOtherFunction
86 COFF-I386-NEXT: Value: 0
87 COFF-I386-NEXT: SectionNumber: 0
88 COFF-I386-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
89 COFF-I386-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
90 COFF-I386-NEXT: StorageClass: IMAGE_SYM_CLASS_EXTERNAL
93 COFF-X86-64: header:
94 COFF-X86-64-NEXT: Machine: IMAGE_FILE_MACHINE_AMD64
96 COFF-X86-64: sections:
97 COFF-X86-64-NEXT: - Name: .text
98 COFF-X86-64-NEXT: Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_R…
99 COFF-X86-64-NEXT: Alignment: 16
100 COFF-X86-64-NEXT: SectionData: 4883EC28C744242400000000488D0D00000000E800000000E8000000008B4424…
102 COFF-X86-64: Relocations:
103 COFF-X86-64-NEXT: - VirtualAddress: 15
104 COFF-X86-64-NEXT: SymbolName: L.str
105 COFF-X86-64-NEXT: Type: IMAGE_REL_AMD64_REL32
107 COFF-X86-64: - VirtualAddress: 20
108 COFF-X86-64-NEXT: SymbolName: puts
109 COFF-X86-64-NEXT: Type: IMAGE_REL_AMD64_REL32
111 COFF-X86-64: - VirtualAddress: 25
112 COFF-X86-64-NEXT: SymbolName: SomeOtherFunction
113 COFF-X86-64-NEXT: Type: IMAGE_REL_AMD64_REL32
115 COFF-X86-64: - Name: .data
116 COFF-X86-64-NEXT: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_…
117 COFF-X86-64-NEXT: Alignment: 1
118 COFF-X86-64-NEXT: SectionData: 48656C6C6F20576F726C642100
120 COFF-X86-64: - Name: '.CRT$XCU'
121 COFF-X86-64-NEXT: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
122 COFF-X86-64-NEXT: Alignment: 8
123 COFF-X86-64-NEXT: SectionData: '0000000000000000'
125 COFF-X86-64: Relocations:
126 COFF-X86-64-NEXT: - VirtualAddress: 0
127 COFF-X86-64-NEXT: SymbolName: '??__Ex@@YAXXZ'
128 COFF-X86-64-NEXT: Type: IMAGE_REL_AMD64_ADDR64
130 COFF-X86-64: symbols:
131 COFF-X86-64-NEXT: - Name: .text
132 COFF-X86-64-NEXT: Value: 0
133 COFF-X86-64-NEXT: SectionNumber: 1
134 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
135 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
136 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC
137 COFF-X86-64-NEXT: SectionDefinition:
138 COFF-X86-64-NEXT: Length: 38
139 COFF-X86-64-NEXT: NumberOfRelocations: 3
140 COFF-X86-64-NEXT: NumberOfLinenumbers: 0
141 COFF-X86-64-NEXT: CheckSum: 0
142 COFF-X86-64-NEXT: Number: 1
144 COFF-X86-64: - Name: .data
145 COFF-X86-64-NEXT: Value: 0
146 COFF-X86-64-NEXT: SectionNumber: 2
147 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
148 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
149 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC
150 COFF-X86-64-NEXT: SectionDefinition:
151 COFF-X86-64-NEXT: Length: 13
152 COFF-X86-64-NEXT: NumberOfRelocations: 0
153 COFF-X86-64-NEXT: NumberOfLinenumbers: 0
154 COFF-X86-64-NEXT: CheckSum: 0
155 COFF-X86-64-NEXT: Number: 2
157 COFF-X86-64: - Name: main
158 COFF-X86-64-NEXT: Value: 0
159 COFF-X86-64-NEXT: SectionNumber: 1
160 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
161 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_FUNCTION
162 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_EXTERNAL
164 COFF-X86-64: - Name: L.str
165 COFF-X86-64-NEXT: Value: 0
166 COFF-X86-64-NEXT: SectionNumber: 2
167 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
168 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
169 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC
171 COFF-X86-64: - Name: puts
172 COFF-X86-64-NEXT: Value: 0
173 COFF-X86-64-NEXT: SectionNumber: 0
174 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
175 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
176 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_EXTERNAL
178 COFF-X86-64: - Name: SomeOtherFunction
179 COFF-X86-64-NEXT: Value: 0
180 COFF-X86-64-NEXT: SectionNumber: 0
181 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
182 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_NULL
183 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_EXTERNAL
185 COFF-X86-64: - Name: '??__Ex@@YAXXZ'
186 COFF-X86-64-NEXT: Value: 0
187 COFF-X86-64-NEXT: SectionNumber: 3
188 COFF-X86-64-NEXT: SimpleType: IMAGE_SYM_TYPE_NULL
189 COFF-X86-64-NEXT: ComplexType: IMAGE_SYM_DTYPE_FUNCTION
190 COFF-X86-64-NEXT: StorageClass: IMAGE_SYM_CLASS_STATIC