[gn] port afa8aeeeec (RISCVGenExegesis.inc)
[llvm-project.git] / llvm / test / tools / llvm-readobj / COFF / arm64-packed-symbol-name.yaml
blobaf2bd8aa9a0979c414b3845b40c11ccb37a9e05b
1 # Check that we resolve the function name properly
3 # RUN: yaml2obj %s -o %t.obj
4 # RUN: llvm-readobj --unwind %t.obj | FileCheck %s
6 # CHECK: Function: entry (0x140001000)
8 --- !COFF
9 OptionalHeader:
10   AddressOfEntryPoint: 4096
11   ImageBase:       5368709120
12   SectionAlignment: 4096
13   FileAlignment:   512
14   MajorOperatingSystemVersion: 6
15   MinorOperatingSystemVersion: 0
16   MajorImageVersion: 0
17   MinorImageVersion: 0
18   MajorSubsystemVersion: 6
19   MinorSubsystemVersion: 0
20   Subsystem:       IMAGE_SUBSYSTEM_WINDOWS_CUI
21   DLLCharacteristics: [ IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA, IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE, IMAGE_DLL_CHARACTERISTICS_NX_COMPAT, IMAGE_DLL_CHARACTERISTICS_TERMINAL_SERVER_AWARE ]
22   SizeOfStackReserve: 1048576
23   SizeOfStackCommit: 4096
24   SizeOfHeapReserve: 1048576
25   SizeOfHeapCommit: 4096
26 header:
27   Machine:         IMAGE_FILE_MACHINE_ARM64
28   Characteristics: [ IMAGE_FILE_EXECUTABLE_IMAGE, IMAGE_FILE_LARGE_ADDRESS_AWARE ]
29 sections:
30   - Name:            .text
31     Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
32     VirtualAddress:  4096
33     VirtualSize:     20
34     SectionData:     FD7BBFA9FD0300911F2003D5FD7BC1A8C0035FD6
35   - Name:            .pdata
36     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
37     VirtualAddress:  8192
38     VirtualSize:     8
39     SectionData:     '001000001500E000'
40 symbols:
41   - Name:            .text
42     Value:           0
43     SectionNumber:   1
44     SimpleType:      IMAGE_SYM_TYPE_NULL
45     ComplexType:     IMAGE_SYM_DTYPE_NULL
46     StorageClass:    IMAGE_SYM_CLASS_STATIC
47   - Name:            .pdata
48     Value:           0
49     SectionNumber:   2
50     SimpleType:      IMAGE_SYM_TYPE_NULL
51     ComplexType:     IMAGE_SYM_DTYPE_NULL
52     StorageClass:    IMAGE_SYM_CLASS_STATIC
53   - Name:            entry
54     Value:           0
55     SectionNumber:   1
56     SimpleType:      IMAGE_SYM_TYPE_NULL
57     ComplexType:     IMAGE_SYM_DTYPE_FUNCTION
58     StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
59 ...