Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / llvm-tli-checker / coff-reject.test
blobf89139506bf2478126492a8e9031e2df656dabc5
1 ## Currently COFF files aren't supported.
2 # RUN: yaml2obj %s -o %t.obj
3 # RUN: llvm-tli-checker %t.obj 2>&1 | FileCheck %s
5 # CHECK: only ELF-format files are supported
6 # CHECK: no symbols found
7 # CHECK: NO symbols found!
9 ## Minimal COFF input.
10 --- !COFF
11 OptionalHeader:
12   AddressOfEntryPoint: 4144
13   ImageBase:       1073741824
14   SectionAlignment: 4096
15   FileAlignment:   512
16   MajorOperatingSystemVersion: 6
17   MinorOperatingSystemVersion: 0
18   MajorImageVersion: 0
19   MinorImageVersion: 0
20   MajorSubsystemVersion: 6
21   MinorSubsystemVersion: 0
22   Subsystem:       IMAGE_SUBSYSTEM_WINDOWS_CUI
23   DLLCharacteristics: [  ]
24   SizeOfStackReserve: 1048576
25   SizeOfStackCommit: 4096
26   SizeOfHeapReserve: 1048576
27   SizeOfHeapCommit: 4096
28 header:
29   Machine:         IMAGE_FILE_MACHINE_AMD64
30   Characteristics: [  ]
31 sections:
32   - Name:            .text
33     Characteristics: [ IMAGE_SCN_CNT_CODE ]
34     VirtualAddress:  4096
35     VirtualSize:     4
36     SectionData:     C3C3C3C3
37 symbols:
38   - Name:            main
39     Value:           2
40     SectionNumber:   1
41     SimpleType:      IMAGE_SYM_TYPE_NULL
42     ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
43     StorageClass:    IMAGE_SYM_CLASS_EXTERNAL