1 ## Check that we print the external symbol "func1" and "func2", even though
2 ## the pdata relocations point at .text with an immediate offset.
4 # RUN: yaml2obj %s -o %t.obj
5 # RUN: llvm-readobj --unwind %t.obj | FileCheck %s
7 # CHECK: Function: func1 (0x0)
8 # CHECK: Function: func2 (0x14)
12 Machine: IMAGE_FILE_MACHINE_ARM64
16 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
18 SectionData: FE0F1FF8E133009100000094FE0741F8C0035FD6FF8300D1F60B00F9FE0F00F9E1330091E0031FAA00000094FE0F40F9F60B40F9FF830091C0035FD6
22 Type: IMAGE_REL_ARM64_BRANCH26
25 Type: IMAGE_REL_ARM64_BRANCH26
27 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
29 SectionData: 0A002010D2C3D0C202E4E3E3
31 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
33 SectionData: 000000001500A0001400000000000000
37 Type: IMAGE_REL_ARM64_ADDR32NB
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: 2
54 NumberOfLinenumbers: 0
60 SimpleType: IMAGE_SYM_TYPE_NULL
61 ComplexType: IMAGE_SYM_DTYPE_NULL
62 StorageClass: IMAGE_SYM_CLASS_STATIC
65 NumberOfRelocations: 0
66 NumberOfLinenumbers: 0
72 SimpleType: IMAGE_SYM_TYPE_NULL
73 ComplexType: IMAGE_SYM_DTYPE_NULL
74 StorageClass: IMAGE_SYM_CLASS_STATIC
77 NumberOfRelocations: 3
78 NumberOfLinenumbers: 0
84 SimpleType: IMAGE_SYM_TYPE_NULL
85 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
86 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
90 SimpleType: IMAGE_SYM_TYPE_NULL
91 ComplexType: IMAGE_SYM_DTYPE_NULL
92 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
96 SimpleType: IMAGE_SYM_TYPE_NULL
97 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
98 StorageClass: IMAGE_SYM_CLASS_EXTERNAL