1 # Check that we print the external symbol "func", even though the pdata
2 # relocation points at the '$LN4' symbol.
4 # RUN: yaml2obj %s -o %t.obj
5 # RUN: llvm-readobj --unwind %t.obj | FileCheck %s
7 # CHECK: Function: func (0x0)
11 Machine: IMAGE_FILE_MACHINE_ARM64
15 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
17 SectionData: FE0F1FF8FF0301D1E003009100000094FF030191FE0741F8C0035FD6
21 Type: IMAGE_REL_ARM64_BRANCH26
23 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_READ ]
25 SectionData: 000000001D00A002
29 Type: IMAGE_REL_ARM64_ADDR32NB
34 SimpleType: IMAGE_SYM_TYPE_NULL
35 ComplexType: IMAGE_SYM_DTYPE_NULL
36 StorageClass: IMAGE_SYM_CLASS_STATIC
39 NumberOfRelocations: 1
40 NumberOfLinenumbers: 0
43 Selection: IMAGE_COMDAT_SELECT_NODUPLICATES
47 SimpleType: IMAGE_SYM_TYPE_NULL
48 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
49 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
53 SimpleType: IMAGE_SYM_TYPE_NULL
54 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
55 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
59 SimpleType: IMAGE_SYM_TYPE_NULL
60 ComplexType: IMAGE_SYM_DTYPE_NULL
61 StorageClass: IMAGE_SYM_CLASS_LABEL
65 SimpleType: IMAGE_SYM_TYPE_NULL
66 ComplexType: IMAGE_SYM_DTYPE_NULL
67 StorageClass: IMAGE_SYM_CLASS_STATIC
70 NumberOfRelocations: 1
71 NumberOfLinenumbers: 0
74 Selection: IMAGE_COMDAT_SELECT_ASSOCIATIVE
78 SimpleType: IMAGE_SYM_TYPE_NULL
79 ComplexType: IMAGE_SYM_DTYPE_NULL
80 StorageClass: IMAGE_SYM_CLASS_STATIC