1 ## Show that llvm-readobj prints MachO all section types properly.
2 # RUN: yaml2obj %s > %t
3 # RUN: llvm-readobj --sections %t | FileCheck %s
5 # CHECK: Type: Regular (0x0)
6 # CHECK: Type: ZeroFill (0x1)
7 # CHECK: Type: CStringLiterals (0x2)
8 # CHECK: Type: 4ByteLiterals (0x3)
9 # CHECK: Type: 8ByteLiterals (0x4)
10 # CHECK: Type: LiteralPointers (0x5)
11 # CHECK: Type: NonLazySymbolPointers (0x6)
12 # CHECK: Type: LazySymbolPointers (0x7)
13 # CHECK: Type: SymbolStubs (0x8)
14 # CHECK: Type: ModInitFuncPointers (0x9)
15 # CHECK: Type: ModTermFuncPointers (0xA)
16 # CHECK: Type: Coalesced (0xB)
17 # CHECK: Type: GBZeroFill (0xC)
18 # CHECK: Type: Interposing (0xD)
19 # CHECK: Type: 16ByteLiterals (0xE)
20 # CHECK: Type: DTraceDOF (0xF)
21 # CHECK: Type: LazyDylibSymbolPointers (0x10)
22 # CHECK: Type: ThreadLocalRegular (0x11)
23 # CHECK: Type: ThreadLocalZerofill (0x12)
24 # CHECK: Type: ThreadLocalVariables (0x13)
25 # CHECK: Type: ThreadLocalVariablePointers (0x14)
26 # CHECK: Type: ThreadLocalInitFunctionPointers (0x15)
32 cpusubtype: 0x80000003
42 vmaddr: 0x0000000000001000
53 addr: 0x000000000000000
65 addr: 0x000000000000000
77 addr: 0x000000000000000
89 addr: 0x000000000000000
101 addr: 0x000000000000000
108 reserved1: 0x00000000
109 reserved2: 0x00000000
110 reserved3: 0x00000000
113 addr: 0x000000000000000
120 reserved1: 0x00000000
121 reserved2: 0x00000000
122 reserved3: 0x00000000
125 addr: 0x000000000000000
132 reserved1: 0x00000000
133 reserved2: 0x00000000
134 reserved3: 0x00000000
137 addr: 0x000000000000000
144 reserved1: 0x00000000
145 reserved2: 0x00000000
146 reserved3: 0x00000000
149 addr: 0x000000000000000
156 reserved1: 0x00000000
157 reserved2: 0x00000000
158 reserved3: 0x00000000
161 addr: 0x000000000000000
168 reserved1: 0x00000000
169 reserved2: 0x00000000
170 reserved3: 0x00000000
173 addr: 0x000000000000000
180 reserved1: 0x00000000
181 reserved2: 0x00000000
182 reserved3: 0x00000000
185 addr: 0x000000000000000
192 reserved1: 0x00000000
193 reserved2: 0x00000000
194 reserved3: 0x00000000
197 addr: 0x000000000000000
204 reserved1: 0x00000000
205 reserved2: 0x00000000
206 reserved3: 0x00000000
209 addr: 0x000000000000000
216 reserved1: 0x00000000
217 reserved2: 0x00000000
218 reserved3: 0x00000000
221 addr: 0x000000000000000
228 reserved1: 0x00000000
229 reserved2: 0x00000000
230 reserved3: 0x00000000
233 addr: 0x000000000000000
240 reserved1: 0x00000000
241 reserved2: 0x00000000
242 reserved3: 0x00000000
245 addr: 0x000000000000000
252 reserved1: 0x00000000
253 reserved2: 0x00000000
254 reserved3: 0x00000000
257 addr: 0x000000000000000
264 reserved1: 0x00000000
265 reserved2: 0x00000000
266 reserved3: 0x00000000
269 addr: 0x000000000000000
276 reserved1: 0x00000000
277 reserved2: 0x00000000
278 reserved3: 0x00000000
281 addr: 0x000000000000000
288 reserved1: 0x00000000
289 reserved2: 0x00000000
290 reserved3: 0x00000000
293 addr: 0x000000000000000
300 reserved1: 0x00000000
301 reserved2: 0x00000000
302 reserved3: 0x00000000
305 addr: 0x000000000000000
312 reserved1: 0x00000000
313 reserved2: 0x00000000
314 reserved3: 0x00000000