Lines Matching refs:archive
15 ## Case 2: copy a universal object file containing an archive.
16 # RUN: rm -f %t.archive.i386
17 # RUN: llvm-ar cr %t.archive.i386 %t.i386
18 # RUN: llvm-lipo %t.archive.i386 %t.x86_64 -create -output %t.universal.containing.archive
19 # RUN: llvm-objcopy %t.universal.containing.archive %t.universal.containing.archive.copy
20 # RUN: llvm-lipo %t.universal.containing.archive.copy -archs | FileCheck --check-prefix=VERIFY_ARCH…
21 # RUN: llvm-lipo %t.universal.containing.archive.copy -thin i386 -output %t.archive.i386.copy
22 # RUN: llvm-lipo %t.universal.containing.archive.copy -thin x86_64 -output %t.archive.x86_64.copy
23 # RUN: cmp %t.archive.i386 %t.archive.i386.copy
24 # RUN: cmp %t.x86_64 %t.archive.x86_64.copy
26 ## Case 3: copy an archive containing a universal object.
27 # RUN: llvm-ar cr %t.archive.containing.universal %t.universal
28 # RUN: llvm-objcopy %t.archive.containing.universal %t.archive.containing.universal.copy
36 ## Case 5: try to copy an archive containing an unsupported universal object.
37 # RUN: llvm-ar cr %t.archive.universal.bitcode %t.universal.containing.bitcode
38 # RUN: not llvm-objcopy %t.archive.universal.bitcode %t.archive.universal.bitcode.copy 2>&1 \
42 …BJECT: slice for 'arm64' of the universal Mach-O binary {{.*}} is not a Mach-O object or an archive