xref: /aosp_15_r20/external/llvm/test/tools/dsymutil/X86/dsym-companion.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard WorkerRUN: llvm-dsymutil -o - %p/../Inputs/basic.macho.i386 -f | llvm-readobj -file-headers -program-headers -sections -symbols - | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK32
2*9880d681SAndroid Build Coastguard WorkerRUN: llvm-dsymutil -o - -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 -f | llvm-readobj -file-headers -program-headers -sections -symbols - | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK64
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard WorkerThis test checks that the dSYM companion binaries generated in 32 and 64 bits
5*9880d681SAndroid Build Coastguard Workerare correct. The check are pretty strict (we check even the offsets and sizes
6*9880d681SAndroid Build Coastguard Workerof the sections) in order to test the VM address layout algorithm. As the
7*9880d681SAndroid Build Coastguard Workerdebug sections are generated, this is a bit risky, but I don't expect
8*9880d681SAndroid Build Coastguard Workerllvm-dsymutil's output to change much for these tiny C programs so this should
9*9880d681SAndroid Build Coastguard Workerbe OK.
10*9880d681SAndroid Build Coastguard WorkerThe 32bits version doesn't have object files, thus it has basically no debug
11*9880d681SAndroid Build Coastguard Workersections.
12*9880d681SAndroid Build Coastguard Worker
13*9880d681SAndroid Build Coastguard WorkerCHECK32: Format: Mach-O 32-bit i386
14*9880d681SAndroid Build Coastguard WorkerCHECK32: Arch: i386
15*9880d681SAndroid Build Coastguard WorkerCHECK32: AddressSize: 32bit
16*9880d681SAndroid Build Coastguard WorkerCHECK64: Format: Mach-O 64-bit x86-64
17*9880d681SAndroid Build Coastguard WorkerCHECK64: Arch: x86_64
18*9880d681SAndroid Build Coastguard WorkerCHECK64: AddressSize: 64bit
19*9880d681SAndroid Build Coastguard WorkerCHECK:   MachHeader {
20*9880d681SAndroid Build Coastguard WorkerCHECK32:   Magic: Magic (0xFEEDFACE)
21*9880d681SAndroid Build Coastguard WorkerCHECK32:   CpuType: X86 (0x7)
22*9880d681SAndroid Build Coastguard WorkerCHECK32:   CpuSubType: CPU_SUBTYPE_I386_ALL (0x3)
23*9880d681SAndroid Build Coastguard WorkerCHECK64:   Magic: Magic64 (0xFEEDFACF)
24*9880d681SAndroid Build Coastguard WorkerCHECK64:   CpuType: X86-64 (0x1000007)
25*9880d681SAndroid Build Coastguard WorkerCHECK64:   CpuSubType: CPU_SUBTYPE_X86_64_ALL (0x3)
26*9880d681SAndroid Build Coastguard WorkerCHECK:     FileType: DWARFSymbol (0xA)
27*9880d681SAndroid Build Coastguard WorkerCHECK:     NumOfLoadCommands: 7
28*9880d681SAndroid Build Coastguard WorkerCHECK:     Flags [ (0x0)
29*9880d681SAndroid Build Coastguard WorkerCHECK:   }
30*9880d681SAndroid Build Coastguard WorkerCHECK:   Sections [
31*9880d681SAndroid Build Coastguard WorkerCHECK:     Section {
32*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: __text
33*9880d681SAndroid Build Coastguard WorkerCHECK:       Segment: __TEXT
34*9880d681SAndroid Build Coastguard WorkerCHECK32:     Address: 0x1E90
35*9880d681SAndroid Build Coastguard WorkerCHECK32:     Size: 0x11A
36*9880d681SAndroid Build Coastguard WorkerCHECK64:     Address: 0x100000EA0
37*9880d681SAndroid Build Coastguard WorkerCHECK64:     Size: 0x109
38*9880d681SAndroid Build Coastguard WorkerCHECK:       Offset: 0
39*9880d681SAndroid Build Coastguard WorkerCHECK:       Alignment: 4
40*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationOffset: 0x0
41*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationCount: 0
42*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: 0x0
43*9880d681SAndroid Build Coastguard WorkerCHECK:       Attributes [ (0x800004)
44*9880d681SAndroid Build Coastguard WorkerCHECK:         PureInstructions (0x800000)
45*9880d681SAndroid Build Coastguard WorkerCHECK:         SomeInstructions (0x4)
46*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
47*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved1: 0x0
48*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved2: 0x0
49*9880d681SAndroid Build Coastguard WorkerCHECK:     }
50*9880d681SAndroid Build Coastguard WorkerCHECK:     Section {
51*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: __unwind_info
52*9880d681SAndroid Build Coastguard WorkerCHECK:       Segment: __TEXT
53*9880d681SAndroid Build Coastguard WorkerCHECK32:     Address: 0x1FAC
54*9880d681SAndroid Build Coastguard WorkerCHECK64:     Address: 0x100000FAC
55*9880d681SAndroid Build Coastguard WorkerCHECK:       Size: 0x48
56*9880d681SAndroid Build Coastguard WorkerCHECK:       Offset: 0
57*9880d681SAndroid Build Coastguard WorkerCHECK:       Alignment: 2
58*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationOffset: 0x0
59*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationCount: 0
60*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: 0x0
61*9880d681SAndroid Build Coastguard WorkerCHECK:       Attributes [ (0x0)
62*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
63*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved1: 0x0
64*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved2: 0x0
65*9880d681SAndroid Build Coastguard WorkerCHECK:     }
66*9880d681SAndroid Build Coastguard WorkerCHECK32:  Section {
67*9880d681SAndroid Build Coastguard WorkerCHECK32:    Name: __nl_symbol_ptr
68*9880d681SAndroid Build Coastguard WorkerCHECK32:    Segment: __DATA
69*9880d681SAndroid Build Coastguard WorkerCHECK32:    Address: 0x2000
70*9880d681SAndroid Build Coastguard WorkerCHECK32:    Size: 0x4
71*9880d681SAndroid Build Coastguard WorkerCHECK32:    Offset: 0
72*9880d681SAndroid Build Coastguard WorkerCHECK32:    Alignment: 2
73*9880d681SAndroid Build Coastguard WorkerCHECK32:    RelocationOffset: 0x0
74*9880d681SAndroid Build Coastguard WorkerCHECK32:    RelocationCount: 0
75*9880d681SAndroid Build Coastguard WorkerCHECK32:    Type: 0x6
76*9880d681SAndroid Build Coastguard WorkerCHECK32:    Attributes [ (0x0)
77*9880d681SAndroid Build Coastguard WorkerCHECK32:    ]
78*9880d681SAndroid Build Coastguard WorkerCHECK32:    Reserved1: 0x0
79*9880d681SAndroid Build Coastguard WorkerCHECK32:    Reserved2: 0x0
80*9880d681SAndroid Build Coastguard WorkerCHECK32:  }
81*9880d681SAndroid Build Coastguard WorkerCHECK:     Section {
82*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: __data
83*9880d681SAndroid Build Coastguard WorkerCHECK:       Segment: __DATA
84*9880d681SAndroid Build Coastguard WorkerCHECK32:     Address: 0x2004
85*9880d681SAndroid Build Coastguard WorkerCHECK64:     Address: 0x100001000
86*9880d681SAndroid Build Coastguard WorkerCHECK:       Size: 0x4
87*9880d681SAndroid Build Coastguard WorkerCHECK:       Offset: 0
88*9880d681SAndroid Build Coastguard WorkerCHECK:       Alignment: 2
89*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationOffset: 0x0
90*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationCount: 0
91*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: 0x0
92*9880d681SAndroid Build Coastguard WorkerCHECK:       Attributes [ (0x0)
93*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
94*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved1: 0x0
95*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved2: 0x0
96*9880d681SAndroid Build Coastguard WorkerCHECK:     }
97*9880d681SAndroid Build Coastguard WorkerCHECK:     Section {
98*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: __common
99*9880d681SAndroid Build Coastguard WorkerCHECK:       Segment: __DATA
100*9880d681SAndroid Build Coastguard WorkerCHECK32:     Address: 0x2008
101*9880d681SAndroid Build Coastguard WorkerCHECK64:     Address: 0x100001004
102*9880d681SAndroid Build Coastguard WorkerCHECK:       Size: 0x4
103*9880d681SAndroid Build Coastguard WorkerCHECK:       Offset: 0
104*9880d681SAndroid Build Coastguard WorkerCHECK:       Alignment: 2
105*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationOffset: 0x0
106*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationCount: 0
107*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: LocReloc (0x1)
108*9880d681SAndroid Build Coastguard WorkerCHECK:       Attributes [ (0x0)
109*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
110*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved1: 0x0
111*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved2: 0x0
112*9880d681SAndroid Build Coastguard WorkerCHECK:     }
113*9880d681SAndroid Build Coastguard WorkerCHECK:     Section {
114*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: __bss
115*9880d681SAndroid Build Coastguard WorkerCHECK:       Segment: __DATA
116*9880d681SAndroid Build Coastguard WorkerCHECK32:     Address: 0x200C
117*9880d681SAndroid Build Coastguard WorkerCHECK64:     Address: 0x100001008
118*9880d681SAndroid Build Coastguard WorkerCHECK:       Size: 0x4
119*9880d681SAndroid Build Coastguard WorkerCHECK:       Offset: 0
120*9880d681SAndroid Build Coastguard WorkerCHECK:       Alignment: 2
121*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationOffset: 0x0
122*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationCount: 0
123*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: LocReloc (0x1)
124*9880d681SAndroid Build Coastguard WorkerCHECK:       Attributes [ (0x0)
125*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
126*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved1: 0x0
127*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved2: 0x0
128*9880d681SAndroid Build Coastguard WorkerCHECK:     }
129*9880d681SAndroid Build Coastguard WorkerCHECK64:   Section {
130*9880d681SAndroid Build Coastguard WorkerCHECK64:     Name: __debug_line
131*9880d681SAndroid Build Coastguard WorkerCHECK64:     Segment: __DWARF
132*9880d681SAndroid Build Coastguard WorkerCHECK64:     Address: 0x100003000
133*9880d681SAndroid Build Coastguard WorkerCHECK64:     Size: 0xEA
134*9880d681SAndroid Build Coastguard WorkerCHECK64:     Offset: 8192
135*9880d681SAndroid Build Coastguard WorkerCHECK64:     Alignment: 0
136*9880d681SAndroid Build Coastguard WorkerCHECK64:     RelocationOffset: 0x0
137*9880d681SAndroid Build Coastguard WorkerCHECK64:     RelocationCount: 0
138*9880d681SAndroid Build Coastguard WorkerCHECK64:     Type: 0x0
139*9880d681SAndroid Build Coastguard WorkerCHECK64:     Attributes [ (0x0)
140*9880d681SAndroid Build Coastguard WorkerCHECK64:     ]
141*9880d681SAndroid Build Coastguard WorkerCHECK64:     Reserved1: 0x0
142*9880d681SAndroid Build Coastguard WorkerCHECK64:     Reserved2: 0x0
143*9880d681SAndroid Build Coastguard WorkerCHECK64:   }
144*9880d681SAndroid Build Coastguard WorkerCHECK64:   Section {
145*9880d681SAndroid Build Coastguard WorkerCHECK64:     Name: __debug_pubnames
146*9880d681SAndroid Build Coastguard WorkerCHECK64:     Segment: __DWARF
147*9880d681SAndroid Build Coastguard WorkerCHECK64:     Address: 0x1000030EA
148*9880d681SAndroid Build Coastguard WorkerCHECK64:     Size: 0x7F
149*9880d681SAndroid Build Coastguard WorkerCHECK64:     Offset: 8426
150*9880d681SAndroid Build Coastguard WorkerCHECK64:     Alignment: 0
151*9880d681SAndroid Build Coastguard WorkerCHECK64:     RelocationOffset: 0x0
152*9880d681SAndroid Build Coastguard WorkerCHECK64:     RelocationCount: 0
153*9880d681SAndroid Build Coastguard WorkerCHECK64:     Type: 0x0
154*9880d681SAndroid Build Coastguard WorkerCHECK64:     Attributes [ (0x0)
155*9880d681SAndroid Build Coastguard WorkerCHECK64:     ]
156*9880d681SAndroid Build Coastguard WorkerCHECK64:     Reserved1: 0x0
157*9880d681SAndroid Build Coastguard WorkerCHECK64:     Reserved2: 0x0
158*9880d681SAndroid Build Coastguard WorkerCHECK64:   }
159*9880d681SAndroid Build Coastguard WorkerCHECK64:   Section {
160*9880d681SAndroid Build Coastguard WorkerCHECK64:     Name: __debug_pubtypes
161*9880d681SAndroid Build Coastguard WorkerCHECK64:     Segment: __DWARF
162*9880d681SAndroid Build Coastguard WorkerCHECK64:     Address: 0x100003169
163*9880d681SAndroid Build Coastguard WorkerCHECK64:     Size: 0x57
164*9880d681SAndroid Build Coastguard WorkerCHECK64:     Offset: 8553
165*9880d681SAndroid Build Coastguard WorkerCHECK64:     Alignment: 0
166*9880d681SAndroid Build Coastguard WorkerCHECK64:     RelocationOffset: 0x0
167*9880d681SAndroid Build Coastguard WorkerCHECK64:     RelocationCount: 0
168*9880d681SAndroid Build Coastguard WorkerCHECK64:     Type: 0x0
169*9880d681SAndroid Build Coastguard WorkerCHECK64:     Attributes [ (0x0)
170*9880d681SAndroid Build Coastguard WorkerCHECK64:     ]
171*9880d681SAndroid Build Coastguard WorkerCHECK64:     Reserved1: 0x0
172*9880d681SAndroid Build Coastguard WorkerCHECK64:     Reserved2: 0x0
173*9880d681SAndroid Build Coastguard WorkerCHECK64:   }
174*9880d681SAndroid Build Coastguard WorkerCHECK64:   Section {
175*9880d681SAndroid Build Coastguard WorkerCHECK64:     Name: __debug_aranges
176*9880d681SAndroid Build Coastguard WorkerCHECK64:     Segment: __DWARF
177*9880d681SAndroid Build Coastguard WorkerCHECK64:     Address: 0x1000031C0
178*9880d681SAndroid Build Coastguard WorkerCHECK64:     Size: 0xB0
179*9880d681SAndroid Build Coastguard WorkerCHECK64:     Offset: 8640
180*9880d681SAndroid Build Coastguard WorkerCHECK64:     Alignment: 0
181*9880d681SAndroid Build Coastguard WorkerCHECK64:     RelocationOffset: 0x0
182*9880d681SAndroid Build Coastguard WorkerCHECK64:     RelocationCount: 0
183*9880d681SAndroid Build Coastguard WorkerCHECK64:     Type: 0x0
184*9880d681SAndroid Build Coastguard WorkerCHECK64:     Attributes [ (0x0)
185*9880d681SAndroid Build Coastguard WorkerCHECK64:     ]
186*9880d681SAndroid Build Coastguard WorkerCHECK64:     Reserved1: 0x0
187*9880d681SAndroid Build Coastguard WorkerCHECK64:     Reserved2: 0x0
188*9880d681SAndroid Build Coastguard WorkerCHECK64:   }
189*9880d681SAndroid Build Coastguard WorkerCHECK64:   Section {
190*9880d681SAndroid Build Coastguard WorkerCHECK64:     Name: __debug_info
191*9880d681SAndroid Build Coastguard WorkerCHECK64:     Segment: __DWARF
192*9880d681SAndroid Build Coastguard WorkerCHECK64:     Address: 0x100003270
193*9880d681SAndroid Build Coastguard WorkerCHECK64:     Size: 0x1BC
194*9880d681SAndroid Build Coastguard WorkerCHECK64:     Offset: 8816
195*9880d681SAndroid Build Coastguard WorkerCHECK64:     Alignment: 0
196*9880d681SAndroid Build Coastguard WorkerCHECK64:     RelocationOffset: 0x0
197*9880d681SAndroid Build Coastguard WorkerCHECK64:     RelocationCount: 0
198*9880d681SAndroid Build Coastguard WorkerCHECK64:     Type: 0x0
199*9880d681SAndroid Build Coastguard WorkerCHECK64:     Attributes [ (0x0)
200*9880d681SAndroid Build Coastguard WorkerCHECK64:     ]
201*9880d681SAndroid Build Coastguard WorkerCHECK64:     Reserved1: 0x0
202*9880d681SAndroid Build Coastguard WorkerCHECK64:     Reserved2: 0x0
203*9880d681SAndroid Build Coastguard WorkerCHECK64:   }
204*9880d681SAndroid Build Coastguard WorkerCHECK:     Section {
205*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: __debug_abbrev
206*9880d681SAndroid Build Coastguard WorkerCHECK:       Segment: __DWARF
207*9880d681SAndroid Build Coastguard WorkerCHECK32:     Address: 0x4000
208*9880d681SAndroid Build Coastguard WorkerCHECK32:     Size: 0x1
209*9880d681SAndroid Build Coastguard WorkerCHECK32:     Offset: 8192
210*9880d681SAndroid Build Coastguard WorkerCHECK64:     Address: 0x10000342C
211*9880d681SAndroid Build Coastguard WorkerCHECK64:     Size: 0x8F
212*9880d681SAndroid Build Coastguard WorkerCHECK64:     Offset: 9260
213*9880d681SAndroid Build Coastguard WorkerCHECK:       Alignment: 0
214*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationOffset: 0x0
215*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationCount: 0
216*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: 0x0
217*9880d681SAndroid Build Coastguard WorkerCHECK:       Attributes [ (0x0)
218*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
219*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved1: 0x0
220*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved2: 0x0
221*9880d681SAndroid Build Coastguard WorkerCHECK:     }
222*9880d681SAndroid Build Coastguard WorkerCHECK:     Section {
223*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: __debug_str
224*9880d681SAndroid Build Coastguard WorkerCHECK:       Segment: __DWARF
225*9880d681SAndroid Build Coastguard WorkerCHECK32:     Address: 0x4001
226*9880d681SAndroid Build Coastguard WorkerCHECK32:     Size: 0x1
227*9880d681SAndroid Build Coastguard WorkerCHECK32:     Offset: 8193
228*9880d681SAndroid Build Coastguard WorkerCHECK64:     Address: 0x1000034BB
229*9880d681SAndroid Build Coastguard WorkerCHECK64:     Size: 0x9F
230*9880d681SAndroid Build Coastguard WorkerCHECK64:     Offset: 9403
231*9880d681SAndroid Build Coastguard WorkerCHECK:       Alignment: 0
232*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationOffset: 0x0
233*9880d681SAndroid Build Coastguard WorkerCHECK:       RelocationCount: 0
234*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: 0x0
235*9880d681SAndroid Build Coastguard WorkerCHECK:       Attributes [ (0x0)
236*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
237*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved1: 0x0
238*9880d681SAndroid Build Coastguard WorkerCHECK:       Reserved2: 0x0
239*9880d681SAndroid Build Coastguard WorkerCHECK:     }
240*9880d681SAndroid Build Coastguard WorkerCHECK:   ]
241*9880d681SAndroid Build Coastguard WorkerCHECK:   Symbols [
242*9880d681SAndroid Build Coastguard WorkerCHECK:     Symbol {
243*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: _inc (2)
244*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: Section (0xE)
245*9880d681SAndroid Build Coastguard WorkerCHECK:       Section: __text
246*9880d681SAndroid Build Coastguard WorkerCHECK:       RefType: UndefinedNonLazy (0x0)
247*9880d681SAndroid Build Coastguard WorkerCHECK:       Flags [ (0x0)
248*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
249*9880d681SAndroid Build Coastguard WorkerCHECK32:     Value: 0x1F20
250*9880d681SAndroid Build Coastguard WorkerCHECK64:     Value: 0x100000F20
251*9880d681SAndroid Build Coastguard WorkerCHECK:     }
252*9880d681SAndroid Build Coastguard WorkerCHECK:     Symbol {
253*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: _inc (2)
254*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: Section (0xE)
255*9880d681SAndroid Build Coastguard WorkerCHECK:       Section: __text
256*9880d681SAndroid Build Coastguard WorkerCHECK:       RefType: UndefinedNonLazy (0x0)
257*9880d681SAndroid Build Coastguard WorkerCHECK:       Flags [ (0x0)
258*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
259*9880d681SAndroid Build Coastguard WorkerCHECK32:     Value: 0x1F90
260*9880d681SAndroid Build Coastguard WorkerCHECK64:     Value: 0x100000F90
261*9880d681SAndroid Build Coastguard WorkerCHECK:     }
262*9880d681SAndroid Build Coastguard WorkerCHECK:     Symbol {
263*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: _baz (7)
264*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: Section (0xE)
265*9880d681SAndroid Build Coastguard WorkerCHECK:       Section: __data
266*9880d681SAndroid Build Coastguard WorkerCHECK:       RefType: UndefinedNonLazy (0x0)
267*9880d681SAndroid Build Coastguard WorkerCHECK:       Flags [ (0x0)
268*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
269*9880d681SAndroid Build Coastguard WorkerCHECK32:     Value: 0x2004
270*9880d681SAndroid Build Coastguard WorkerCHECK64:     Value: 0x100001000
271*9880d681SAndroid Build Coastguard WorkerCHECK:     }
272*9880d681SAndroid Build Coastguard WorkerCHECK:     Symbol {
273*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: _private_int (12)
274*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: Section (0xE)
275*9880d681SAndroid Build Coastguard WorkerCHECK:       Section: __bss
276*9880d681SAndroid Build Coastguard WorkerCHECK:       RefType: UndefinedNonLazy (0x0)
277*9880d681SAndroid Build Coastguard WorkerCHECK:       Flags [ (0x0)
278*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
279*9880d681SAndroid Build Coastguard WorkerCHECK32:     Value: 0x200C
280*9880d681SAndroid Build Coastguard WorkerCHECK64:     Value: 0x100001008
281*9880d681SAndroid Build Coastguard WorkerCHECK:     }
282*9880d681SAndroid Build Coastguard WorkerCHECK:     Symbol {
283*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: __mh_execute_header (25)
284*9880d681SAndroid Build Coastguard WorkerCHECK:       Extern
285*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: Section (0xE)
286*9880d681SAndroid Build Coastguard WorkerCHECK:       Section: __text
287*9880d681SAndroid Build Coastguard WorkerCHECK:       RefType: UndefinedNonLazy (0x0)
288*9880d681SAndroid Build Coastguard WorkerCHECK:       Flags [ (0x10)
289*9880d681SAndroid Build Coastguard WorkerCHECK:         ReferencedDynamically (0x10)
290*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
291*9880d681SAndroid Build Coastguard WorkerCHECK32:     Value: 0x1000
292*9880d681SAndroid Build Coastguard WorkerCHECK64:     Value: 0x100000000
293*9880d681SAndroid Build Coastguard WorkerCHECK:     }
294*9880d681SAndroid Build Coastguard WorkerCHECK:     Symbol {
295*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: _bar (45)
296*9880d681SAndroid Build Coastguard WorkerCHECK:       Extern
297*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: Section (0xE)
298*9880d681SAndroid Build Coastguard WorkerCHECK:       Section: __text
299*9880d681SAndroid Build Coastguard WorkerCHECK:       RefType: UndefinedNonLazy (0x0)
300*9880d681SAndroid Build Coastguard WorkerCHECK:       Flags [ (0x0)
301*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
302*9880d681SAndroid Build Coastguard WorkerCHECK32:     Value: 0x1F40
303*9880d681SAndroid Build Coastguard WorkerCHECK64:     Value: 0x100000F40
304*9880d681SAndroid Build Coastguard WorkerCHECK:     }
305*9880d681SAndroid Build Coastguard WorkerCHECK:     Symbol {
306*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: _foo (50)
307*9880d681SAndroid Build Coastguard WorkerCHECK:       Extern
308*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: Section (0xE)
309*9880d681SAndroid Build Coastguard WorkerCHECK:       Section: __text
310*9880d681SAndroid Build Coastguard WorkerCHECK:       RefType: UndefinedNonLazy (0x0)
311*9880d681SAndroid Build Coastguard WorkerCHECK:       Flags [ (0x0)
312*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
313*9880d681SAndroid Build Coastguard WorkerCHECK32:     Value: 0x1EC0
314*9880d681SAndroid Build Coastguard WorkerCHECK64:     Value: 0x100000ED0
315*9880d681SAndroid Build Coastguard WorkerCHECK:     }
316*9880d681SAndroid Build Coastguard WorkerCHECK:     Symbol {
317*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: _main (55)
318*9880d681SAndroid Build Coastguard WorkerCHECK:       Extern
319*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: Section (0xE)
320*9880d681SAndroid Build Coastguard WorkerCHECK:       Section: __text
321*9880d681SAndroid Build Coastguard WorkerCHECK:       RefType: UndefinedNonLazy (0x0)
322*9880d681SAndroid Build Coastguard WorkerCHECK:       Flags [ (0x0)
323*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
324*9880d681SAndroid Build Coastguard WorkerCHECK32:     Value: 0x1E90
325*9880d681SAndroid Build Coastguard WorkerCHECK64:     Value: 0x100000EA0
326*9880d681SAndroid Build Coastguard WorkerCHECK:     }
327*9880d681SAndroid Build Coastguard WorkerCHECK:     Symbol {
328*9880d681SAndroid Build Coastguard WorkerCHECK:       Name: _val (61)
329*9880d681SAndroid Build Coastguard WorkerCHECK:       Extern
330*9880d681SAndroid Build Coastguard WorkerCHECK:       Type: Section (0xE)
331*9880d681SAndroid Build Coastguard WorkerCHECK:       Section: __common
332*9880d681SAndroid Build Coastguard WorkerCHECK:       RefType: UndefinedNonLazy (0x0)
333*9880d681SAndroid Build Coastguard WorkerCHECK:       Flags [ (0x0)
334*9880d681SAndroid Build Coastguard WorkerCHECK:       ]
335*9880d681SAndroid Build Coastguard WorkerCHECK32:     Value: 0x2008
336*9880d681SAndroid Build Coastguard WorkerCHECK64:     Value: 0x100001004
337*9880d681SAndroid Build Coastguard WorkerCHECK:     }
338*9880d681SAndroid Build Coastguard WorkerCHECK:   ]
339*9880d681SAndroid Build Coastguard Worker
340