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)
10 AddressOfEntryPoint: 4096
12 SectionAlignment: 4096
14 MajorOperatingSystemVersion: 6
15 MinorOperatingSystemVersion: 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
27 Machine: IMAGE_FILE_MACHINE_ARM64
28 Characteristics: [ IMAGE_FILE_EXECUTABLE_IMAGE, IMAGE_FILE_LARGE_ADDRESS_AWARE ]
31 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
34 SectionData: FD7BBFA9FD0300911F2003D5FD7BC1A8C0035FD6
36 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
39 SectionData: '001000001500E000'
44 SimpleType: IMAGE_SYM_TYPE_NULL
45 ComplexType: IMAGE_SYM_DTYPE_NULL
46 StorageClass: IMAGE_SYM_CLASS_STATIC
50 SimpleType: IMAGE_SYM_TYPE_NULL
51 ComplexType: IMAGE_SYM_DTYPE_NULL
52 StorageClass: IMAGE_SYM_CLASS_STATIC
56 SimpleType: IMAGE_SYM_TYPE_NULL
57 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
58 StorageClass: IMAGE_SYM_CLASS_EXTERNAL