1# RUN: yaml2obj %s -o %t 2# RUN: lldb-test object-file %t | FileCheck %s 3 4 5# CHECK: Showing 3 sections 6# CHECK-NEXT: Index: 0 7# CHECK-NEXT: ID: 0xffffffffffffffff 8# CHECK-NEXT: Name: PECOFF header 9# CHECK-NEXT: Type: regular 10# CHECK-NEXT: Permissions: r-- 11# CHECK-NEXT: Thread specific: no 12# CHECK-NEXT: VM address: 0x40000000 13# CHECK-NEXT: VM size: 512 14# CHECK-NEXT: File size: 512 15# CHECK-EMPTY: 16# CHECK-NEXT: Index: 1 17# CHECK-NEXT: ID: 0x1 18# CHECK-NEXT: Name: .text 19# CHECK-NEXT: Type: code 20# CHECK-NEXT: Permissions: r-x 21# CHECK-NEXT: Thread specific: no 22# CHECK-NEXT: VM address: 0x40001000 23# CHECK-NEXT: VM size: 64 24# CHECK-NEXT: File size: 512 25# CHECK-EMPTY: 26# CHECK-NEXT: Index: 2 27# CHECK-NEXT: ID: 0x2 28# CHECK-NEXT: Name: .data 29# CHECK-NEXT: Type: data 30# CHECK-NEXT: Permissions: r-- 31# CHECK-NEXT: Thread specific: no 32# CHECK-NEXT: VM address: 0x40002000 33# CHECK-NEXT: VM size: 64 34# CHECK-NEXT: File size: 512 35 36 37--- !COFF 38OptionalHeader: 39 AddressOfEntryPoint: 4616 40 ImageBase: 1073741824 41 SectionAlignment: 4096 42 FileAlignment: 512 43 MajorOperatingSystemVersion: 6 44 MinorOperatingSystemVersion: 0 45 MajorImageVersion: 0 46 MinorImageVersion: 0 47 MajorSubsystemVersion: 6 48 MinorSubsystemVersion: 0 49 Subsystem: IMAGE_SUBSYSTEM_WINDOWS_CUI 50 DLLCharacteristics: [ IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA, IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE, IMAGE_DLL_CHARACTERISTICS_NX_COMPAT, IMAGE_DLL_CHARACTERISTICS_TERMINAL_SERVER_AWARE ] 51 SizeOfStackReserve: 1048576 52 SizeOfStackCommit: 4096 53 SizeOfHeapReserve: 1048576 54 SizeOfHeapCommit: 4096 55header: 56 Machine: IMAGE_FILE_MACHINE_AMD64 57 Characteristics: [ IMAGE_FILE_EXECUTABLE_IMAGE, IMAGE_FILE_LARGE_ADDRESS_AWARE ] 58sections: 59 - Name: .text 60 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] 61 VirtualAddress: 4096 62 VirtualSize: 64 63 SectionData: DEADBEEFBAADF00D 64 - Name: .data 65 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ] 66 VirtualAddress: 8192 67 VirtualSize: 64 68 SectionData: DEADBEEFBAADF00D 69symbols: [] 70... 71