[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / ObjectYAML / MachO / null_string_entries.yaml
blobd08275acab4ad664231d025eca101fb5e01be38d
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
3 --- !mach-o
4 FileHeader:      
5   magic:           0xFEEDFACE
6   cputype:         0x00000007
7   cpusubtype:      0x00000003
8   filetype:        0x00000002
9   ncmds:           16
10   sizeofcmds:      1160
11   flags:           0x01218085
12 LoadCommands:    
13   - cmd:             LC_SEGMENT
14     cmdsize:         56
15     segname:         __PAGEZERO
16     vmaddr:          0
17     vmsize:          4096
18     fileoff:         0
19     filesize:        0
20     maxprot:         0
21     initprot:        0
22     nsects:          0
23     flags:           0
24   - cmd:             LC_SEGMENT
25     cmdsize:         464
26     segname:         __TEXT
27     vmaddr:          4096
28     vmsize:          8192
29     fileoff:         0
30     filesize:        8192
31     maxprot:         7
32     initprot:        5
33     nsects:          6
34     flags:           0
35   - cmd:             LC_SEGMENT
36     cmdsize:         192
37     segname:         __DATA
38     vmaddr:          12288
39     vmsize:          4096
40     fileoff:         8192
41     filesize:        4096
42     maxprot:         7
43     initprot:        3
44     nsects:          2
45     flags:           0
46   - cmd:             LC_SEGMENT
47     cmdsize:         56
48     segname:         __LINKEDIT
49     vmaddr:          16384
50     vmsize:          2296
51     fileoff:         12288
52     filesize:        2296
53     maxprot:         7
54     initprot:        1
55     nsects:          0
56     flags:           0
57   - cmd:             LC_DYLD_INFO_ONLY
58     cmdsize:         48
59     rebase_off:      12288
60     rebase_size:     20
61     bind_off:        12308
62     bind_size:       104
63     weak_bind_off:   0
64     weak_bind_size:  0
65     lazy_bind_off:   12412
66     lazy_bind_size:  816
67     export_off:      13228
68     export_size:     44
69   - cmd:             LC_SYMTAB
70     cmdsize:         24
71     symoff:          13288
72     nsyms:           25
73     stroff:          13760
74     strsize:         824
75   - cmd:             LC_DYSYMTAB
76     cmdsize:         80
77     ilocalsym:       0
78     nlocalsym:       1
79     iextdefsym:      1
80     nextdefsym:      1
81     iundefsym:       2
82     nundefsym:       23
83     tocoff:          0
84     ntoc:            0
85     modtaboff:       0
86     nmodtab:         0
87     extrefsymoff:    0
88     nextrefsyms:     0
89     indirectsymoff:  13588
90     nindirectsyms:   43
91     extreloff:       0
92     nextrel:         0
93     locreloff:       0
94     nlocrel:         0
95   - cmd:             LC_LOAD_DYLINKER
96     cmdsize:         28
97     name:            12
98     PayloadString:   /usr/lib/dyld
99     ZeroPadBytes:    3
100   - cmd:             LC_UUID
101     cmdsize:         24
102     uuid:            997B2184-D5FF-31BB-BE66-80B0D3756D06
103   - cmd:             LC_VERSION_MIN_MACOSX
104     cmdsize:         16
105     version:         658176
106     sdk:             658176
107   - cmd:             LC_SOURCE_VERSION
108     cmdsize:         16
109     version:         0
110   - cmd:             LC_MAIN
111     cmdsize:         24
112     entryoff:        4800
113     stacksize:       0
114   - cmd:             LC_LOAD_DYLIB
115     cmdsize:         48
116     dylib:           
117       name:            24
118       timestamp:       2
119       current_version: 7864576
120       compatibility_version: 65536
121     PayloadString:   '/usr/lib/libc++.1.dylib'
122     ZeroPadBytes:    1
123   - cmd:             LC_LOAD_DYLIB
124     cmdsize:         52
125     dylib:           
126       name:            24
127       timestamp:       2
128       current_version: 80349697
129       compatibility_version: 65536
130     PayloadString:   /usr/lib/libSystem.B.dylib
131     ZeroPadBytes:    2
132   - cmd:             LC_FUNCTION_STARTS
133     cmdsize:         16
134     dataoff:         13272
135     datasize:        16
136   - cmd:             LC_DATA_IN_CODE
137     cmdsize:         16
138     dataoff:         13288
139     datasize:        0
140 LinkEditData:
141   StringTable:     
142     - ''
143     - ''
144     - ''
145     - ''
146     - __mh_execute_header
147     - __Unwind_Resume
148     - __ZNKSt3__16locale9use_facetERNS0_2idE
149     - __ZNKSt3__18ios_base6getlocEv
150     - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc
151     - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev
152     - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc
153     - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv
154     - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_
155     - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev
156     - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEm
157     - __ZNSt3__14coutE
158     - __ZNSt3__15ctypeIcE2idE
159     - __ZNSt3__16localeD1Ev
160     - __ZNSt3__18ios_base33__set_badbit_and_consider_rethrowEv
161     - __ZNSt3__18ios_base5clearEj
162     - __ZSt9terminatev
163     - ___cxa_begin_catch
164     - ___cxa_end_catch
165     - ___gxx_personality_v0
166     - _memset
167     - _strlen
168     - _strnlen
169     - dyld_stub_binder
170     - 'radr://5614542'
171     - ''
172     - ''
173     - ''
176 #CHECK: StringTable:     
177 #CHECK:     - ''
178 #CHECK:     - ''
179 #CHECK:     - ''
180 #CHECK:     - ''
181 #CHECK:     - __mh_execute_header
182 #CHECK:     - __Unwind_Resume
183 #CHECK:     - __ZNKSt3__16locale9use_facetERNS0_2idE
184 #CHECK:     - __ZNKSt3__18ios_base6getlocEv
185 #CHECK:     - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc
186 #CHECK:     - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev
187 #CHECK:     - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc
188 #CHECK:     - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv
189 #CHECK:     - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_
190 #CHECK:     - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev
191 #CHECK:     - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEm
192 #CHECK:     - __ZNSt3__14coutE
193 #CHECK:     - __ZNSt3__15ctypeIcE2idE
194 #CHECK:     - __ZNSt3__16localeD1Ev
195 #CHECK:     - __ZNSt3__18ios_base33__set_badbit_and_consider_rethrowEv
196 #CHECK:     - __ZNSt3__18ios_base5clearEj
197 #CHECK:     - __ZSt9terminatev
198 #CHECK:     - ___cxa_begin_catch
199 #CHECK:     - ___cxa_end_catch
200 #CHECK:     - ___gxx_personality_v0
201 #CHECK:     - _memset
202 #CHECK:     - _strlen
203 #CHECK:     - _strnlen
204 #CHECK:     - dyld_stub_binder
205 #CHECK:     - 'radr://5614542'
206 #CHECK:     - ''
207 #CHECK:     - ''
208 #CHECK:     - ''