Lines Matching full:o

7 # RUN: yaml2obj --docnum=1 -DCLASS=ELFCLASS32 %s -o elf32.o
8 # RUN: yaml2obj --docnum=1 -DCLASS=ELFCLASS64 %s -o elf64.o
10 # RUN: yaml2obj --docnum=2 -DFLAG=0x1DF %s -o xcoff32.o
11 # RUN: yaml2obj --docnum=2 -DFLAG=0x1F7 %s -o xcoff64.o
14 # RUN: llvm-ar -q -c archive-default.a xcoff32.o elf32.o xcoff64.o elf64.o 2>&1 | \
20 # RUN: llvm-ar -q -c -X 32 archive-32.a xcoff32.o elf32.o xcoff64.o elf64.o 2>&1 | \
26 # RUN: env OBJECT_MODE=64 llvm-ar -q -c -X32 archive-32-env1.a xcoff32.o elf32.o xcoff64.o elf64.o
31 …OBJECT_MODE=32_64 llvm-ar -q -c -X32 archive-32-env2.a xcoff32.o elf32.o xcoff64.o elf64.o 2>&1 | \
36 # RUN: env OBJECT_MODE=any llvm-ar -q -c -X32 archive-32-env3.a xcoff32.o elf32.o xcoff64.o elf64.o
42 # RUN: llvm-ar -q -c -X 64 archive-64.a xcoff32.o elf32.o xcoff64.o elf64.o 2>&1 | \
48 ## RUN: llvm-ar -q -c -X32_64 archive-32_64.a xcoff32.o elf32.o xcoff64.o elf64.o
53 # RUN: llvm-ar -q -c -Xany archive-any.a xcoff32.o elf32.o xcoff64.o elf64.o
58 # RUN: env OBJECT_MODE=32 llvm-ar -q -c archive-env32.a xcoff32.o elf32.o xcoff64.o elf64.o 2>&1 | \
63 # RUN: env OBJECT_MODE=64 llvm-ar -q -c archive-env64.a xcoff32.o elf32.o xcoff64.o elf64.o 2>&1 | \
68 # RUN: env OBJECT_MODE=32_64 llvm-ar -q -c archive-env32_64.a xcoff32.o elf32.o xcoff64.o elf64.o
72 # RUN: env OBJECT_MODE=any llvm-ar -q -c archive-envany.a xcoff32.o elf32.o xcoff64.o elf64.o
94 # RUN: cmp xcoff32.o 32/xcoff32.o
95 # RUN: cmp elf32.o 32/elf32.o
96 # RUN: not ls 32/coff64.o
97 # RUN: not ls 32/elf64.o
100 # RUN: cmp xcoff64.o 64/xcoff64.o
101 # RUN: cmp elf64.o 64/elf64.o
102 # RUN: not ls 64/xcoff32.o
103 # RUN: not ls 64/elf32.o
106 # RUN: cmp xcoff32.o 32_64/xcoff32.o
107 # RUN: cmp elf32.o 32_64/elf32.o
108 # RUN: cmp xcoff64.o 32_64/xcoff64.o
109 # RUN: cmp elf64.o 32_64/elf64.o
112 # RUN: cmp xcoff32.o any/xcoff32.o
113 # RUN: cmp elf32.o any/elf32.o
114 # RUN: cmp xcoff64.o any/xcoff64.o
115 # RUN: cmp elf64.o any/elf64.o
118 # RUN: not llvm-ar --output=err64 -x archive-any.a xcoff64.o 2>&1 | \
119 # RUN: FileCheck %s -DFILE=xcoff64.o --check-prefixes=ERR64
120 # RUN: not llvm-ar --output=err64 -x -X32 archive-any.a xcoff64.o 2>&1 | \
121 # RUN: FileCheck %s -DFILE=xcoff64.o --check-prefixes=ERR64
124 # RUN: not ls err64/xcoff64.o
127 # RUN: not llvm-ar --output=err32 -x -X64 archive-any.a xcoff32.o 2>&1 | \
128 # RUN: FileCheck %s -DFILE=xcoff32.o --check-prefixes=ERR32
131 # RUN: not ls err32/xcoff32.o
135 # RUN: llvm-ar -d -X32 archive.a xcoff64.o elf64.o
140 # RUN: llvm-ar -d -X64 archive.a xcoff64.o elf64.o
145 # RUN: llvm-ar -d -Xany archive.a xcoff64.o elf64.o
150 # RUN: cp xcoff32.o xcoff.o
151 # RUN: llvm-ar -q -c archive-rep.a xcoff.o
153 ## xcoff.o is a 64-bit object file here.
154 # RUN: yaml2obj --docnum=2 -DFLAG=0x1F7 %s -o xcoff.o
157 ## since xcoff.o is a 64-bit object file in command line, but
158 ## the xcoff.o member in archive-rep.a is a 32-bit object file.
159 # RUN: llvm-ar -r archive-rep.a xcoff.o
165 ## With options -X64, -X32_64 or -Xany, the old 32-bit xcoff.o
167 ## and a new 64-bit object file xcoff.o is added to the archive.
168 # RUN: llvm-ar -r -X64 archive-rep.a xcoff.o
174 # REP: xcoff.o
175 # REP-DUP-NEXT: xcoff.o
181 # RUN: llvm-ar -ma elf32.o archive.a xcoff64.o 2>&1 | \
188 # RUN: llvm-ar -ma -X64 elf64.o archive.a xcoff32.o 2>&1 | \
191 # WARN-XCOFF32: warning: 'xcoff32.o' is not valid with the current object file mode
192 # WARN-XCOFF64: warning: 'xcoff64.o' is not valid with the current object file mode
193 # WARN-ELF32: warning: 'elf32.o' is not valid with the current object file mode
194 # WARN-ELF64: warning: 'elf64.o' is not valid with the current object file mode
196 # RUN: llvm-ar -ma -X64 elf64.o archive.a xcoff64.o
201 # RUN: llvm-ar -ma -X32_64 elf64.o archive.a xcoff64.o
206 # RUN: llvm-ar -ma -Xany elf64.o archive.a xcoff64.o
210 # MOVE64: xcoff32.o
211 # MOVE64-NEXT: elf32.o
212 # MOVE64-NEXT: elf64.o
213 # MOVE64-NEXT: xcoff64.o
217 # RUN: llvm-ar -ma elf32.o archive.a xcoff32.o
222 # RUN: llvm-ar -ma -X32 elf32.o archive.a xcoff32.o
227 # RUN: llvm-ar -ma -X32_64 elf32.o archive.a xcoff32.o
232 # RUN: llvm-ar -ma -Xany elf32.o archive.a xcoff32.o
236 # MOVE32: elf32.o
237 # MOVE32-NEXT: xcoff32.o
238 # MOVE32-NEXT: xcoff64.o
239 # MOVE32-NEXT: elf64.o
243 # RUN: not llvm-ar -ma xcoff64.o archive-any.a xcoff32.o 2>&1 | \
246 # RUN: not llvm-ar -X32 -ma xcoff64.o archive-any.a xcoff32.o 2>&1 | \
249 # RUN: not llvm-ar -X64 -ma xcoff32.o archive-any.a xcoff64.o 2>&1 | \
256 ## There are two files named xcoff.o in archive-rep.a (the first one in
259 # RUN: llvm-ar -Xany -q archive-rep-mov32.a elf32.o elf64.o
260 ## Move elf32.o to after the 32-bit xcoff.o.
261 # RUN: llvm-ar -X32 -ma xcoff.o archive-rep-mov32.a elf32.o
265 # MOVE32-DUP: xcoff.o
266 # MOVE32-DUP-NEXT: elf32.o
267 # MOVE32-DUP-NEXT: xcoff.o
268 # MOVE32-DUP-NEXT: elf64.o
271 # RUN: llvm-ar -Xany -q archive-rep-mov64.a elf32.o elf64.o
272 ## Move elf64.o to after the 64-bit xcoff.o.
273 # RUN: llvm-ar -X64 -ma xcoff.o archive-rep-mov64.a elf64.o
277 # MOVE64-DUP: xcoff.o
278 # MOVE64-DUP-NEXT: xcoff.o
279 # MOVE64-DUP-NEXT: elf64.o
280 # MOVE64-DUP-NEXT: elf32.o
282 # OBJ32: xcoff32.o
283 # OBJ32-NEXT: elf32.o
286 # OBJ64: xcoff64.o
287 # OBJ64-NEXT: elf64.o
290 # OBJ32_64: xcoff32.o
291 # OBJ32_64-NEXT: elf32.o
292 # OBJ32_64-NEXT: xcoff64.o
293 # OBJ32_64-NEXT: elf64.o
304 # RUN: llvm-as -o 32.bc %p/Inputs/bitcode-sym32.ll
305 # RUN: llvm-as -o 64.bc %p/Inputs/bitcode-sym64.ll
306 # RUN: yaml2obj --docnum=3 %s -o macho32.o
307 # RUN: yaml2obj --docnum=4 %s -o macho64.o
308 # RUN: yaml2obj --docnum=5 %s -o wasm.o
309 # RUN: yaml2obj --docnum=6 %s -o coff.o
311 # RUN: llvm-ar -q -c archive-other32.a coff.o 32.bc 64.bc wasm.o macho32.o macho64.o 2>&1 | \
317 # WARN-64-NEXT: warning: 'macho64.o' is not valid with the current object file mode
319 # OTHER32: coff.o
321 # OTHER32-NEXT: wasm.o
322 # OTHER32-NEXT: macho32.o
325 # RUN: llvm-ar -q -c -X64 archive-other64.a coff.o 32.bc 64.bc wasm.o macho32.o macho64.o 2>&1 | \
330 # WARN-32: warning: 'coff.o' is not valid with the current object file mode
332 # WARN-32-NEXT: warning: 'wasm.o' is not valid with the current object file mode
333 # WARN-32-NEXT: warning: 'macho32.o' is not valid with the current object file mode
336 # OTHER64-NEXT: macho64.o
354 --- !mach-o
364 ## mach-o 64 bit
365 --- !mach-o