[test] Pre-commit llvm.experimental.memset.pattern tests prior to MemoryLocation...
[llvm-project.git] / llvm / test / Object / Inputs / COFF / x86-64.yaml
blob2fd5a4d19ffd501cccb8acfb859debb6bd80050b
1 !COFF
2 header: !Header
3   Machine: IMAGE_FILE_MACHINE_AMD64 # (0x8664)
5 sections:
6   - !Section
7     Name: .text
8     Alignment: 16
9     Characteristics: [IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ, ] # 0x60500020
10     SectionData:  !hex "4883EC28C744242400000000488D0D00000000E800000000E8000000008B4424244883C428C3" # |H..(.D$$....H.................D$$H..(.|
12     Relocations:
13       - !Relocation
14         VirtualAddress: 0xf
15         SymbolName: L.str
16         Type: IMAGE_REL_AMD64_REL32
18       - !Relocation
19         VirtualAddress: 0x14
20         SymbolName: puts
21         Type: IMAGE_REL_AMD64_REL32
23       - !Relocation
24         VirtualAddress: 0x19
25         SymbolName: SomeOtherFunction
26         Type: IMAGE_REL_AMD64_REL32
28   - !Section
29     Name: .data
30     Alignment: 1
31     Characteristics: [IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE, ] # 0xc0100040
32     SectionData:  !hex "48656C6C6F20576F726C642100" # |Hello World!.|
34   - !Section
35     Name: '.CRT$XCU'
36     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
37     Alignment: 8
38     SectionData:  !hex "0000000000000000"
39     Relocations:
40       - VirtualAddress: 0
41         SymbolName: '??__Ex@@YAXXZ'
42         Type: IMAGE_REL_AMD64_ADDR64
44 symbols:
45   - !Symbol
46     Name: .text
47     Value: 0
48     SectionNumber: 1
49     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
50     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
51     StorageClass: IMAGE_SYM_CLASS_STATIC # (3)
52     SectionDefinition:
53       Length:          38
54       NumberOfRelocations: 3
55       NumberOfLinenumbers: 0
56       CheckSum:        0
57       Number:          1
59   - !Symbol
60     Name: .data
61     Value: 0
62     SectionNumber: 2
63     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
64     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
65     StorageClass: IMAGE_SYM_CLASS_STATIC # (3)
66     SectionDefinition:
67       Length:          13
68       NumberOfRelocations: 0
69       NumberOfLinenumbers: 0
70       CheckSum:        0
71       Number:          2
73   - !Symbol
74     Name: main
75     Value: 0
76     SectionNumber: 1
77     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
78     ComplexType: IMAGE_SYM_DTYPE_FUNCTION # (2)
79     StorageClass: IMAGE_SYM_CLASS_EXTERNAL # (2)
81   - !Symbol
82     Name: L.str
83     Value: 0
84     SectionNumber: 2
85     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
86     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
87     StorageClass: IMAGE_SYM_CLASS_STATIC # (3)
89   - !Symbol
90     Name: puts
91     Value: 0
92     SectionNumber: 0
93     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
94     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
95     StorageClass: IMAGE_SYM_CLASS_EXTERNAL # (2)
97   - !Symbol
98     Name: SomeOtherFunction
99     Value: 0
100     SectionNumber: 0
101     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
102     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
103     StorageClass: IMAGE_SYM_CLASS_EXTERNAL # (2)
105   - !Symbol
106     Name: '??__Ex@@YAXXZ'
107     Value: 0
108     SectionNumber: 3
109     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
110     ComplexType: IMAGE_SYM_DTYPE_FUNCTION # (2)
111     StorageClass: IMAGE_SYM_CLASS_STATIC # (3)