Lines Matching +full:undefined +full:- +full:atoms
1 # RUN: ld64.lld -arch arm64 -r -print_atoms %s -o %t | FileCheck %s \
2 # RUN: && ld64.lld -arch arm64 -r -print_atoms %t -o %t2 | FileCheck %s
6 # The first step tests if the supplied mach-o file is parsed into the correct
7 # set of references. The second step verifies relocations can be round-tripped
14 --- !mach-o
16 file-type: MH_OBJECT
18 has-UUID: false
21 - segment: __TEXT
34 - offset: 0x00000034
37 pc-rel: false
40 - offset: 0x00000030
43 pc-rel: true
46 - offset: 0x0000002C
49 pc-rel: false
52 - offset: 0x00000028
55 pc-rel: true
58 - offset: 0x00000024
61 pc-rel: false
64 - offset: 0x00000024
67 pc-rel: false
70 - offset: 0x00000020
73 pc-rel: false
76 - offset: 0x00000020
79 pc-rel: true
82 - offset: 0x0000001C
85 pc-rel: false
88 - offset: 0x00000018
91 pc-rel: false
94 - offset: 0x00000014
97 pc-rel: false
100 - offset: 0x00000010
103 pc-rel: false
106 - offset: 0x0000000C
109 pc-rel: false
112 - offset: 0x00000008
115 pc-rel: true
118 - offset: 0x00000004
121 pc-rel: false
124 - offset: 0x00000004
127 pc-rel: true
130 - offset: 0x00000000
133 pc-rel: true
136 - segment: __DATA
144 local-symbols:
145 - name: ltmp0
149 - name: _func
153 - name: _v1
157 - name: ltmp1
161 undefined-symbols:
162 - name: _foo
166 - name: _tlv
170 - name: _v2
176 # CHECK: defined-atoms:
177 # CHECK: - name: _v1
181 # CHECK: - name: _func
188 # CHECK: - kind: branch26
191 # CHECK: - kind: branch26
195 # CHECK: - kind: page21
198 # CHECK: - kind: offset12
201 # CHECK: - kind: offset12scale2
204 # CHECK: - kind: offset12scale4
207 # CHECK: - kind: offset12scale8
210 # CHECK: - kind: offset12scale16
213 # CHECK: - kind: page21
217 # CHECK: - kind: offset12scale4
221 # CHECK: - kind: gotPage21
224 # CHECK: - kind: gotOffset12
227 # CHECK: - kind: tlvPage21
230 # CHECK: - kind: tlvOffset12
233 # CHECK: undefined-atoms:
234 # CHECK: - name: _foo
235 # CHECK: - name: _tlv
236 # CHECK: - name: _v2