1 # RUN: yaml2obj %s -o %t1.obj
2 # RUN: yaml2obj %s -o %t2.obj
3 # RUN: lld-link /out:%t.exe /subsystem:console /entry:main %t1.obj %t2.obj
4 # RUN: llvm-objdump -s %t.exe | FileCheck %s
6 # CHECK: Contents of section .rdata:
11 Machine: IMAGE_FILE_MACHINE_I386
15 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ, IMAGE_SCN_LNK_COMDAT ]
17 SectionData: 0000000000000000
19 Characteristics: [ IMAGE_SCN_LNK_INFO ]
26 SimpleType: IMAGE_SYM_TYPE_NULL
27 ComplexType: IMAGE_SYM_DTYPE_NULL
28 StorageClass: IMAGE_SYM_CLASS_STATIC
32 SimpleType: IMAGE_SYM_TYPE_NULL
33 ComplexType: IMAGE_SYM_DTYPE_NULL
34 StorageClass: IMAGE_SYM_CLASS_STATIC
38 SimpleType: IMAGE_SYM_TYPE_NULL
39 ComplexType: IMAGE_SYM_DTYPE_NULL
40 StorageClass: IMAGE_SYM_CLASS_STATIC
43 NumberOfRelocations: 0
44 NumberOfLinenumbers: 0
47 Selection: IMAGE_COMDAT_SELECT_ANY
51 SimpleType: IMAGE_SYM_TYPE_NULL
52 ComplexType: IMAGE_SYM_DTYPE_NULL
53 StorageClass: IMAGE_SYM_CLASS_STATIC
56 NumberOfRelocations: 0
57 NumberOfLinenumbers: 0
63 SimpleType: IMAGE_SYM_TYPE_NULL
64 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
65 StorageClass: IMAGE_SYM_CLASS_EXTERNAL