Lines Matching refs:X86
2 RUN: obj2yaml %p/Inputs/trivial-object-test.coff-x86-64 | FileCheck %s --check-prefix COFF-X86-64
5 RUN: obj2yaml %p/Inputs/trivial-object-test.elf-x86-64 | FileCheck %s --check-prefix ELF-X86-64
7 RUN: | FileCheck %s --check-prefix ELF-X86-64-UNWIND
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
361 ELF-X86-64: FileHeader:
362 ELF-X86-64-NEXT: Class: ELFCLASS64
363 ELF-X86-64-NEXT: Data: ELFDATA2LSB
364 ELF-X86-64-NEXT: OSABI: ELFOSABI_GNU
365 ELF-X86-64-NEXT: Type: ET_REL
366 ELF-X86-64-NEXT: Machine: EM_X86_64
367 ELF-X86-64-NEXT: Sections:
368 ELF-X86-64-NEXT: - Name: .text
369 ELF-X86-64-NEXT: Type: SHT_PROGBITS
370 ELF-X86-64-NEXT: Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
371 ELF-X86-64-NEXT: AddressAlign: 0x0000000000000010
372 ELF-X86-64-NEXT: Content: 4883EC08C744240400000000BF00000000E80000000030C0E8000000008B4…
373 ELF-X86-64-NEXT: - Name: .rodata.str1.1
374 ELF-X86-64-NEXT: Type: SHT_PROGBITS
375 ELF-X86-64-NEXT: Flags: [ SHF_ALLOC, SHF_MERGE, SHF_STRINGS ]
376 ELF-X86-64-NEXT: Address: 0x0000000000000026
377 ELF-X86-64-NEXT: AddressAlign: 0x0000000000000001
378 ELF-X86-64-NEXT: Content: 48656C6C6F20576F726C642100
379 ELF-X86-64-NEXT: - Name: .note.GNU-stack
380 ELF-X86-64-NEXT: Type: SHT_PROGBITS
381 ELF-X86-64-NEXT: Address: 0x0000000000000033
382 ELF-X86-64-NEXT: AddressAlign: 0x0000000000000001
383 ELF-X86-64-NEXT: Content: ''
384 ELF-X86-64-NEXT: - Name: .rela.text
385 ELF-X86-64-NEXT: Type: SHT_RELA
386 ELF-X86-64-NEXT: Address: 0x0000000000000038
387 ELF-X86-64-NEXT: Link: .symtab
388 ELF-X86-64-NEXT: AddressAlign: 0x0000000000000008
389 ELF-X86-64-NEXT: Info: .text
390 ELF-X86-64-NEXT: Relocations:
391 ELF-X86-64-NEXT: - Offset: 0x000000000000000D
392 ELF-X86-64-NEXT: Symbol: .rodata.str1.1
393 ELF-X86-64-NEXT: Type: R_X86_64_32S
394 ELF-X86-64-NEXT: - Offset: 0x0000000000000012
395 ELF-X86-64-NEXT: Symbol: puts
396 ELF-X86-64-NEXT: Type: R_X86_64_PC32
397 ELF-X86-64-NEXT: Addend: -4
398 ELF-X86-64-NEXT: - Offset: 0x0000000000000019
399 ELF-X86-64-NEXT: Symbol: SomeOtherFunction
400 ELF-X86-64-NEXT: Type: R_X86_64_PC32
401 ELF-X86-64-NEXT: Addend: -4
402 ELF-X86-64-NEXT: Symbols:
403 ELF-X86-64-NEXT: Local:
404 ELF-X86-64-NEXT: - Name: trivial-object-test.s
405 ELF-X86-64-NEXT: Type: STT_FILE
406 ELF-X86-64-NEXT: - Name: .text
407 ELF-X86-64-NEXT: Type: STT_SECTION
408 ELF-X86-64-NEXT: Section: .text
409 ELF-X86-64-NEXT: - Name: .rodata.str1.1
410 ELF-X86-64-NEXT: Type: STT_SECTION
411 ELF-X86-64-NEXT: Section: .rodata.str1.1
412 ELF-X86-64-NEXT: - Name: .note.GNU-stack
413 ELF-X86-64-NEXT: Type: STT_SECTION
414 ELF-X86-64-NEXT: Section: .note.GNU-stack
415 ELF-X86-64-NEXT: Global:
416 ELF-X86-64-NEXT: - Name: main
417 ELF-X86-64-NEXT: Type: STT_FUNC
418 ELF-X86-64-NEXT: Section: .text
419 ELF-X86-64-NEXT: Size: 0x0000000000000026
420 ELF-X86-64-NEXT: - Name: SomeOtherFunction
421 ELF-X86-64-NEXT: - Name: puts
423 ELF-X86-64-UNWIND: - Name: .eh_frame
424 ELF-X86-64-UNWIND-NEXT: Type: SHT_X86_64_UNWIND
425 ELF-X86-64-UNWIND-NEXT: Flags: [ SHF_ALLOC ]
426 ELF-X86-64-UNWIND-NEXT: AddressAlign: 0x0000000000000001
427 ELF-X86-64-UNWIND-NEXT: Content: ''