1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
27 addr: 0x0000000000000000
39 addr: 0x0000000000000048
51 addr: 0x00000000000000A0
61 - sectname: __thread_bss
63 addr: 0x00000000000000A8
73 - sectname: __thread_vars
75 addr: 0x000000000000004C
85 - cmd: LC_BUILD_VERSION
166 # CHECK: - sectname: __text
167 # CHECK-NEXT: segname: __TEXT
168 # CHECK-NEXT: addr: 0x0000000000000000
169 # CHECK-NEXT: size: 72
170 # CHECK-NEXT: offset: 0x000002B0
171 # CHECK-NEXT: align: 4
172 # CHECK-NEXT: reloff: 0x00000350
173 # CHECK-NEXT: nreloc: 7
174 # CHECK-NEXT: flags: 0x80000400
175 # CHECK-NEXT: reserved1: 0x00000000
176 # CHECK-NEXT: reserved2: 0x00000000
177 # CHECK-NEXT: reserved3: 0x00000000
178 # CHECK-NEXT: content: {{(DEADBEEF|EFBEADDE){18}$}}
179 # CHECK-NEXT: - sectname: __data
180 # CHECK-NEXT: segname: __DATA
181 # CHECK-NEXT: addr: 0x0000000000000048
182 # CHECK-NEXT: size: 4
183 # CHECK-NEXT: offset: 0x000002F8
184 # CHECK-NEXT: align: 2
185 # CHECK-NEXT: reloff: 0x00000000
186 # CHECK-NEXT: nreloc: 0
187 # CHECK-NEXT: flags: 0x00000000
188 # CHECK-NEXT: reserved1: 0x00000000
189 # CHECK-NEXT: reserved2: 0x00000000
190 # CHECK-NEXT: reserved3: 0x00000000
191 # CHECK-NEXT: content: {{(DEADBEEF|EFBEADDE)$}}
192 # CHECK-NEXT: - sectname: __bss
193 # CHECK-NEXT: segname: __DATA
194 # CHECK-NEXT: addr: 0x00000000000000A0
195 # CHECK-NEXT: size: 8
196 # CHECK-NEXT: offset: 0x00000000
197 # CHECK-NEXT: align: 2
198 # CHECK-NEXT: reloff: 0x00000000
199 # CHECK-NEXT: nreloc: 0
200 # CHECK-NEXT: flags: 0x00000001
201 # CHECK-NEXT: reserved1: 0x00000000
202 # CHECK-NEXT: reserved2: 0x00000000
203 # CHECK-NEXT: reserved3: 0x00000000
204 # CHECK-NEXT: - sectname: __thread_bss
205 # CHECK-NEXT: segname: __DATA
206 # CHECK-NEXT: addr: 0x00000000000000A8
207 # CHECK-NEXT: size: 7
208 # CHECK-NEXT: offset: 0x00000000
209 # CHECK-NEXT: align: 0
210 # CHECK-NEXT: reloff: 0x00000000
211 # CHECK-NEXT: nreloc: 0
212 # CHECK-NEXT: flags: 0x00000012
213 # CHECK-NEXT: reserved1: 0x00000000
214 # CHECK-NEXT: reserved2: 0x00000000
215 # CHECK-NEXT: reserved3: 0x00000000
216 # CHECK-NEXT: - sectname: __thread_vars
217 # CHECK-NEXT: segname: __DATA
218 # CHECK-NEXT: addr: 0x000000000000004C
219 # CHECK-NEXT: size: 12
220 # CHECK-NEXT: offset: 0x000002FC
221 # CHECK-NEXT: align: 0
222 # CHECK-NEXT: reloff: 0x00000388
223 # CHECK-NEXT: nreloc: 2
224 # CHECK-NEXT: flags: 0x00000013
225 # CHECK-NEXT: reserved1: 0x00000000
226 # CHECK-NEXT: reserved2: 0x00000000
227 # CHECK-NEXT: reserved3: 0x00000000
228 # CHECK-NEXT: content: {{.*}}