1# RUN: yaml2obj %s -o %t.obj 2# RUN: lld-link /out:%t.exe /entry:main %t.obj 3# RUN: llvm-readobj --file-headers %t.exe | FileCheck %s 4 5# CHECK: TLSTableRVA: 0x1000 6# CHECK: TLSTableSize: 0x28 7 8--- !COFF 9header: 10 Machine: IMAGE_FILE_MACHINE_AMD64 11 Characteristics: [] 12sections: 13 - Name: .text 14 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] 15 Alignment: 4 16 SectionData: 00000000 17symbols: 18 - Name: .text 19 Value: 0 20 SectionNumber: 1 21 SimpleType: IMAGE_SYM_TYPE_NULL 22 ComplexType: IMAGE_SYM_DTYPE_NULL 23 StorageClass: IMAGE_SYM_CLASS_STATIC 24 SectionDefinition: 25 Length: 4 26 NumberOfRelocations: 0 27 NumberOfLinenumbers: 0 28 CheckSum: 0 29 Number: 0 30 Selection: IMAGE_COMDAT_SELECT_ANY 31 - Name: main 32 Value: 0 33 SectionNumber: 1 34 SimpleType: IMAGE_SYM_TYPE_NULL 35 ComplexType: IMAGE_SYM_DTYPE_FUNCTION 36 StorageClass: IMAGE_SYM_CLASS_EXTERNAL 37 - Name: _tls_used 38 Value: 0 39 SectionNumber: 1 40 SimpleType: IMAGE_SYM_TYPE_NULL 41 ComplexType: IMAGE_SYM_DTYPE_FUNCTION 42 StorageClass: IMAGE_SYM_CLASS_EXTERNAL 43... 44