44 lines · plain
1## Currently COFF files aren't supported.2# RUN: yaml2obj %s -o %t.obj3# RUN: llvm-tli-checker %t.obj 2>&1 | FileCheck %s4#5# CHECK: only ELF-format files are supported6# CHECK: no symbols found7# CHECK: NO symbols found!8 9## Minimal COFF input.10--- !COFF11OptionalHeader:12 AddressOfEntryPoint: 414413 ImageBase: 107374182414 SectionAlignment: 409615 FileAlignment: 51216 MajorOperatingSystemVersion: 617 MinorOperatingSystemVersion: 018 MajorImageVersion: 019 MinorImageVersion: 020 MajorSubsystemVersion: 621 MinorSubsystemVersion: 022 Subsystem: IMAGE_SUBSYSTEM_WINDOWS_CUI23 DLLCharacteristics: [ ]24 SizeOfStackReserve: 104857625 SizeOfStackCommit: 409626 SizeOfHeapReserve: 104857627 SizeOfHeapCommit: 409628header:29 Machine: IMAGE_FILE_MACHINE_AMD6430 Characteristics: [ ]31sections:32 - Name: .text33 Characteristics: [ IMAGE_SCN_CNT_CODE ]34 VirtualAddress: 409635 VirtualSize: 436 SectionData: C3C3C3C337symbols:38 - Name: main39 Value: 240 SectionNumber: 141 SimpleType: IMAGE_SYM_TYPE_NULL42 ComplexType: IMAGE_SYM_DTYPE_FUNCTION43 StorageClass: IMAGE_SYM_CLASS_EXTERNAL44