1 # RUN: yaml2obj %s -o %t.obj
3 # RUN: lld-link /out:%t.exe /entry:func1 /subsystem:console %t.obj
4 # RUN: llvm-objdump -s --section=.pdata %t.exe | FileCheck --check-prefix=PDATA %s
6 # PDATA: 00100000 2500a100 24100000 31002201
10 Machine: IMAGE_FILE_MACHINE_ARM64
14 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
16 SectionData: ff4300d1f37b00a9f303012a00000094e003132a00000094f37b40a9ff430091c0035fd6f353bea9fe0b00f9f303012af403022a00000094e003132a00000094e003142a00000094fe0b40f9f353c2a8c0035fd6c0035fd6
20 Type: IMAGE_REL_ARM64_BRANCH26
23 Type: IMAGE_REL_ARM64_BRANCH26
26 Type: IMAGE_REL_ARM64_BRANCH26
29 Type: IMAGE_REL_ARM64_BRANCH26
32 Type: IMAGE_REL_ARM64_BRANCH26
34 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
36 SectionData: 0000000031002201000000002500a100
40 Type: IMAGE_REL_ARM64_ADDR32NB
43 Type: IMAGE_REL_ARM64_ADDR32NB
48 SimpleType: IMAGE_SYM_TYPE_NULL
49 ComplexType: IMAGE_SYM_DTYPE_NULL
50 StorageClass: IMAGE_SYM_CLASS_STATIC
53 NumberOfRelocations: 0
54 NumberOfLinenumbers: 0
60 SimpleType: IMAGE_SYM_TYPE_NULL
61 ComplexType: IMAGE_SYM_DTYPE_NULL
62 StorageClass: IMAGE_SYM_CLASS_STATIC
65 NumberOfRelocations: 2
66 NumberOfLinenumbers: 0
72 SimpleType: IMAGE_SYM_TYPE_NULL
73 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
74 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
78 SimpleType: IMAGE_SYM_TYPE_NULL
79 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
80 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
84 SimpleType: IMAGE_SYM_TYPE_NULL
85 ComplexType: IMAGE_SYM_DTYPE_NULL
86 StorageClass: IMAGE_SYM_CLASS_EXTERNAL