1# RUN: yaml2obj %s -o %t
2# RUN: lldb-test object-file %t | FileCheck %s
3
4# CHECK: Plugin name: pe-coff
5# CHECK: Architecture: x86_64-pc-windows-msvc
6# CHECK: UUID:
7# CHECK: Executable: true
8# CHECK: Stripped: false
9# CHECK: Type: executable
10# CHECK: Strata: user
11# CHECK: Base VM address: 0x47000
12
13--- !COFF
14OptionalHeader:  
15  AddressOfEntryPoint: 4096
16  ImageBase:       290816
17  SectionAlignment: 4096
18  FileAlignment:   512
19  MajorOperatingSystemVersion: 6
20  MinorOperatingSystemVersion: 0
21  MajorImageVersion: 0
22  MinorImageVersion: 0
23  MajorSubsystemVersion: 6
24  MinorSubsystemVersion: 0
25  Subsystem:       IMAGE_SUBSYSTEM_WINDOWS_CUI
26  DLLCharacteristics: [ IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA, IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE, IMAGE_DLL_CHARACTERISTICS_NX_COMPAT, IMAGE_DLL_CHARACTERISTICS_TERMINAL_SERVER_AWARE ]
27  SizeOfStackReserve: 1048576
28  SizeOfStackCommit: 4096
29  SizeOfHeapReserve: 1048576
30  SizeOfHeapCommit: 4096
31  ExportTable:     
32    RelativeVirtualAddress: 0
33    Size:            0
34  ImportTable:     
35    RelativeVirtualAddress: 0
36    Size:            0
37  ResourceTable:   
38    RelativeVirtualAddress: 0
39    Size:            0
40  ExceptionTable:  
41    RelativeVirtualAddress: 0
42    Size:            0
43  CertificateTable: 
44    RelativeVirtualAddress: 0
45    Size:            0
46  BaseRelocationTable: 
47    RelativeVirtualAddress: 0
48    Size:            0
49  Debug:           
50    RelativeVirtualAddress: 0
51    Size:            0
52  Architecture:    
53    RelativeVirtualAddress: 0
54    Size:            0
55  GlobalPtr:       
56    RelativeVirtualAddress: 0
57    Size:            0
58  TlsTable:        
59    RelativeVirtualAddress: 0
60    Size:            0
61  LoadConfigTable: 
62    RelativeVirtualAddress: 0
63    Size:            0
64  BoundImport:     
65    RelativeVirtualAddress: 0
66    Size:            0
67  IAT:             
68    RelativeVirtualAddress: 0
69    Size:            0
70  DelayImportDescriptor: 
71    RelativeVirtualAddress: 0
72    Size:            0
73  ClrRuntimeHeader: 
74    RelativeVirtualAddress: 0
75    Size:            0
76header:          
77  Machine:         IMAGE_FILE_MACHINE_AMD64
78  Characteristics: [ IMAGE_FILE_EXECUTABLE_IMAGE, IMAGE_FILE_LARGE_ADDRESS_AWARE ]
79sections:        
80  - Name:            .text
81    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
82    VirtualAddress:  4096
83    VirtualSize:     1
84    SectionData:     C3
85symbols:         []
86...
87