1 # RUN: yaml2obj %s -o %t.obj
3 # RUN: echo fn1 > %t.order
4 # RUN: echo fn2 >> %t.order
6 # RUN: lld-link -safeseh:no -entry:fn1 -subsystem:console -opt:noref %t.obj \
7 # RUN: -lldmap:- -out:%t.exe -order:@%t.order | FileCheck %s
11 # RUN: lld-link -safeseh:no -entry:fn1 -subsystem:console -opt:noref %t.obj \
12 # RUN: -lldmap:- -out:%t.exe | FileCheck -check-prefix=DEFAULT %s
18 Machine: IMAGE_FILE_MACHINE_I386
22 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
26 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
33 SimpleType: IMAGE_SYM_TYPE_NULL
34 ComplexType: IMAGE_SYM_DTYPE_NULL
35 StorageClass: IMAGE_SYM_CLASS_STATIC
38 NumberOfRelocations: 0
39 NumberOfLinenumbers: 0
42 Selection: IMAGE_COMDAT_SELECT_NODUPLICATES
46 SimpleType: IMAGE_SYM_TYPE_NULL
47 ComplexType: IMAGE_SYM_DTYPE_NULL
48 StorageClass: IMAGE_SYM_CLASS_STATIC
51 NumberOfRelocations: 0
52 NumberOfLinenumbers: 0
55 Selection: IMAGE_COMDAT_SELECT_NODUPLICATES
59 SimpleType: IMAGE_SYM_TYPE_NULL
60 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
61 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
65 SimpleType: IMAGE_SYM_TYPE_NULL
66 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
67 StorageClass: IMAGE_SYM_CLASS_EXTERNAL