1 # RUN: yaml2obj %s -o %t
2 # RUN: lldb-test symbols %t | FileCheck %s
4 # CHECK: UserID DSX Type File Address/Value {{.*}} Size Flags Name
6 # CHECK-NEXT: 1 X Data 0x{{[0-9a-f]+}} 0x{{[0-9a-f]+}} 0x{{[0-9a-f]+}} LoadLibrary (forwarded to kernel32.LoadLibrary)
9 # Test file generated with:
10 # clang -O2 --target=x86_64-windows-msvc test.c -nostdlib -c -o test.obj
11 # lld-link -dll -out:test.dll -entry:entry -export:LoadLibrary=kernel32.LoadLibrary test.obj
17 AddressOfEntryPoint: 4096
19 SectionAlignment: 4096
21 MajorOperatingSystemVersion: 6
22 MinorOperatingSystemVersion: 0
25 MajorSubsystemVersion: 6
26 MinorSubsystemVersion: 0
27 Subsystem: IMAGE_SUBSYSTEM_WINDOWS_GUI
28 DLLCharacteristics: [ IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA, IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE, IMAGE_DLL_CHARACTERISTICS_NX_COMPAT ]
29 SizeOfStackReserve: 1048576
30 SizeOfStackCommit: 4096
31 SizeOfHeapReserve: 1048576
32 SizeOfHeapCommit: 4096
34 RelativeVirtualAddress: 8192
37 Machine: IMAGE_FILE_MACHINE_AMD64
38 Characteristics: [ IMAGE_FILE_EXECUTABLE_IMAGE, IMAGE_FILE_LARGE_ADDRESS_AWARE, IMAGE_FILE_DLL ]
41 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
46 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
49 SectionData: 0000000000000000000000002820000001000000010000000100000043200000472000004B2000006578706F72742D666F727761726465722E632E746D702E646C6C00592000004D20000000004C6F61644C696272617279006B65726E656C33322E4C6F61644C69627261727900