1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: lld-link /out:%t.exe %t.obj /entry:main /subsystem:console
3 # RUN: llvm-readobj --file-headers %t.exe | FileCheck %s
5 # CHECK: LoadConfigTableRVA: 0x2000
6 # CHECK: LoadConfigTableSize: 0x70
10 Machine: IMAGE_FILE_MACHINE_AMD64
14 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
16 SectionData: B82A000000C3
18 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
20 SectionData: '70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
25 SimpleType: IMAGE_SYM_TYPE_NULL
26 ComplexType: IMAGE_SYM_DTYPE_NULL
27 StorageClass: IMAGE_SYM_CLASS_STATIC
30 NumberOfRelocations: 0
31 NumberOfLinenumbers: 0
37 SimpleType: IMAGE_SYM_TYPE_NULL
38 ComplexType: IMAGE_SYM_DTYPE_NULL
39 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
43 SimpleType: IMAGE_SYM_TYPE_NULL
44 ComplexType: IMAGE_SYM_DTYPE_NULL
45 StorageClass: IMAGE_SYM_CLASS_STATIC
48 NumberOfRelocations: 0
49 NumberOfLinenumbers: 0
52 - Name: _load_config_used
55 SimpleType: IMAGE_SYM_TYPE_NULL
56 ComplexType: IMAGE_SYM_DTYPE_NULL
57 StorageClass: IMAGE_SYM_CLASS_EXTERNAL