• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s
2
3.zerofill __DATA,__bss,_fill0,1,0
4.zerofill __DATA,__bss,_a,4,2
5.zerofill __DATA,__bss,_fill1,1,0
6.zerofill __DATA,__bss,_b,4,3
7.zerofill __DATA,__bss,_fill2,1,0
8.zerofill __DATA,__bss,_c,4,4
9.zerofill __DATA,__bss,_fill3,1,0
10.zerofill __DATA,__bss,_d,4,5
11
12// CHECK: File: <stdin>
13// CHECK: Format: Mach-O 32-bit i386
14// CHECK: Arch: i386
15// CHECK: AddressSize: 32bit
16// CHECK: Symbols [
17// CHECK:   Symbol {
18// CHECK:     Name: _fill0 (34)
19// CHECK:     Type: Section (0xE)
20// CHECK:     Section: __bss (0x2)
21// CHECK:     RefType: UndefinedNonLazy (0x0)
22// CHECK:     Flags [ (0x0)
23// CHECK:     ]
24// CHECK:     Value: 0x0
25// CHECK:   }
26// CHECK:   Symbol {
27// CHECK:     Name: _a (10)
28// CHECK:     Type: Section (0xE)
29// CHECK:     Section: __bss (0x2)
30// CHECK:     RefType: UndefinedNonLazy (0x0)
31// CHECK:     Flags [ (0x0)
32// CHECK:     ]
33// CHECK:     Value: 0x4
34// CHECK:   }
35// CHECK:   Symbol {
36// CHECK:     Name: _fill1 (27)
37// CHECK:     Type: Section (0xE)
38// CHECK:     Section: __bss (0x2)
39// CHECK:     RefType: UndefinedNonLazy (0x0)
40// CHECK:     Flags [ (0x0)
41// CHECK:     ]
42// CHECK:     Value: 0x8
43// CHECK:   }
44// CHECK:   Symbol {
45// CHECK:     Name: _b (7)
46// CHECK:     Type: Section (0xE)
47// CHECK:     Section: __bss (0x2)
48// CHECK:     RefType: UndefinedNonLazy (0x0)
49// CHECK:     Flags [ (0x0)
50// CHECK:     ]
51// CHECK:     Value: 0x10
52// CHECK:   }
53// CHECK:   Symbol {
54// CHECK:     Name: _fill2 (20)
55// CHECK:     Type: Section (0xE)
56// CHECK:     Section: __bss (0x2)
57// CHECK:     RefType: UndefinedNonLazy (0x0)
58// CHECK:     Flags [ (0x0)
59// CHECK:     ]
60// CHECK:     Value: 0x14
61// CHECK:   }
62// CHECK:   Symbol {
63// CHECK:     Name: _c (4)
64// CHECK:     Type: Section (0xE)
65// CHECK:     Section: __bss (0x2)
66// CHECK:     RefType: UndefinedNonLazy (0x0)
67// CHECK:     Flags [ (0x0)
68// CHECK:     ]
69// CHECK:     Value: 0x20
70// CHECK:   }
71// CHECK:   Symbol {
72// CHECK:     Name: _fill3 (13)
73// CHECK:     Type: Section (0xE)
74// CHECK:     Section: __bss (0x2)
75// CHECK:     RefType: UndefinedNonLazy (0x0)
76// CHECK:     Flags [ (0x0)
77// CHECK:     ]
78// CHECK:     Value: 0x24
79// CHECK:   }
80// CHECK:   Symbol {
81// CHECK:     Name: _d (1)
82// CHECK:     Type: Section (0xE)
83// CHECK:     Section: __bss (0x2)
84// CHECK:     RefType: UndefinedNonLazy (0x0)
85// CHECK:     Flags [ (0x0)
86// CHECK:     ]
87// CHECK:     Value: 0x40
88// CHECK:   }
89// CHECK: ]
90