1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: lld-link -safeseh:no /out:%t.exe /entry:main %t.obj
3 # RUN: llvm-readobj --file-headers %t.exe | FileCheck %s
5 # CHECK: TLSTableRVA: 0x1000
6 # CHECK: TLSTableSize: 0x18
10 Machine: IMAGE_FILE_MACHINE_I386
14 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
21 SimpleType: IMAGE_SYM_TYPE_NULL
22 ComplexType: IMAGE_SYM_DTYPE_NULL
23 StorageClass: IMAGE_SYM_CLASS_STATIC
26 NumberOfRelocations: 0
27 NumberOfLinenumbers: 0
30 Selection: IMAGE_COMDAT_SELECT_ANY
34 SimpleType: IMAGE_SYM_TYPE_NULL
35 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
36 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
40 SimpleType: IMAGE_SYM_TYPE_NULL
41 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
42 StorageClass: IMAGE_SYM_CLASS_EXTERNAL