Searched refs:universal (Results 1 – 25 of 367) sorted by relevance
12345678910>>...15
6 ## Case 1: copy a universal object containing regular Mach-O objects.7 # RUN: llvm-lipo %t.i386 %t.x86_64 -create -output %t.universal8 # RUN: llvm-objcopy %t.universal %t.universal.copy9 # RUN: llvm-lipo %t.universal.copy -archs | FileCheck --check-prefix=VERIFY_ARCHS %s10 # RUN: llvm-lipo %t.universal.copy -thin i386 -output %t.i386.copy11 # RUN: llvm-lipo %t.universal.copy -thin x86_64 -output %t.x86_64.copy15 ## Case 2: copy a universal object file containing an archive.18 # RUN: llvm-lipo %t.archive.i386 %t.x86_64 -create -output %t.universal.containing.archive19 # RUN: llvm-objcopy %t.universal.containing.archive %t.universal.containing.archive.copy20 # RUN: llvm-lipo %t.universal.containing.archive.copy -archs | FileCheck --check-prefix=VERIFY_ARCH…[all …]
4 # RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal-llvm.o6 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o7 # RUN: cmp %t-universal-llvm.o %t-universal.o12 # RUN: llvm-lipo %t-arm64.o %t-armv7.o %t-universal.o -create -output %t-universal-2.o13 # RUN: llvm-lipo %t-universal-2.o -thin x86_64 -output %t-x86_64_extracted.o15 # RUN: llvm-lipo %t-universal-2.o -thin armv7 -output %t-armv7-extracted.o18 # RUN: llvm-objdump %t-universal-2.o -m --universal-headers | FileCheck %s
3 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o5 # RUN: not llvm-lipo %t-universal.o -replace %t-32.o 2>&1 | FileCheck --check-prefix=MISSING_ARG %s8 # RUN: not llvm-lipo %t-universal.o -replace i386 %t-32.o 2>&1 | FileCheck --check-prefix=OUTPUT_FI…11 # RUN: not llvm-lipo %t-universal.o %t-universal.o -replace i386 %t-32.o -o %t.o 2>&1 | FileCheck -…14 # RUN: not llvm-lipo %t-universal.o -replace i386 %t-33.o -o %t.o 2>&1 | FileCheck --check-prefix=…17 # RUN: not llvm-lipo %t-universal.o -replace i3866 %t-32.o -o %t.o 2>&1 | FileCheck --check-prefix=…20 # RUN: not llvm-lipo %t-universal.o -replace arm64 %t-32.o -o %t.o 2>&1 | FileCheck --check-prefix=…23 # RUN: not llvm-lipo %t-universal.o -replace arm64 %t-arm64.o -o %t.o 2>&1 | FileCheck --check-pref…26 # RUN: not llvm-lipo %t-universal.o -replace i386 %t-32.o -replace arm64 %t-universal.o -o %t.o 2>&…29 # RUN: not llvm-lipo %t-universal.o -replace i386 %t-32.o -replace i386 %t-32.o -o %t.o 2>&1 | File…
1 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o3 # RUN: not llvm-lipo %t-universal.o -extract arm64_32 -output /dev/null 2>&1 | FileCheck --check-pr…10 # RUN: llvm-lipo -create %t-i386.o -output %t-i386-universal.o11 # RUN: llvm-lipo -extract i386 %t-universal.o -output %t-i386-universal-extracted.o12 # RUN: cmp %t-i386-universal.o %t-i386-universal-extracted.o13 # RUN: llvm-lipo -thin i386 %t-i386-universal-extracted.o -output %t-i386-thinned.o
3 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o7 # RUN: llvm-lipo %t-universal.o %t-arm64.o -create -o %t.o -segalign arm64 1008 # RUN: llvm-objdump %t.o -m --universal-headers | FileCheck --check-prefix=CHECK_SMALL_ARM64 %s23 # RUN: llvm-lipo %t-universal.o %t-arm64.o -create -o %t-nosegalign.o24 # RUN: llvm-objdump %t-nosegalign.o -m --universal-headers | FileCheck --check-prefix=CHECK_SMALL_A…33 # RUN: llvm-lipo %t-universal.o %t-armv7.o -create -o %t2.o -segalign armv7 10034 # RUN: llvm-objdump %t2.o -m --universal-headers | FileCheck --check-prefix=CHECK_SMALL_ARMV7 %s49 # RUN: llvm-lipo %t-universal.o %t-armv7.o -create -o %t2-nosegalign.o50 # RUN: llvm-objdump %t2-nosegalign.o -m --universal-headers | FileCheck --check-prefix=CHECK_SMALL_…69 # RUN: yaml2obj %p/Inputs/i386-x86_64-armv7-arm64-universal.yaml -o %t-universal-big.o[all …]
4 # RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o5 # RUN: llvm-lipo %t-i386.o -arch x86_64 %t-x86_64.o -create -output %t-universal-1.o6 # RUN: cmp %t-universal.o %t-universal-1.o7 # RUN: llvm-lipo -arch i386 %t-i386.o -arch x86_64 %t-x86_64.o -create -output %t-universal-2.o8 # RUN: cmp %t-universal.o %t-universal-2.o
2 # RUN: yaml2obj %p/Inputs/i386-x86_64-armv7-arm64-universal.yaml -o %t-universal.o4 # RUN: llvm-lipo %t-universal.o -replace armv7 %t-armv7big.o -o %t.o5 # RUN: llvm-objdump %t.o -m --universal-headers | FileCheck --check-prefix=ARMV7_BIG %s24 # RUN: yaml2obj %p/Inputs/armv7_i386_non_default_alignment.yaml -o %t-universal-align.o26 # RUN: llvm-lipo %t-universal-align.o -replace armv7 %t-armv7.o -o %t2.o27 # RUN: llvm-objdump %t2.o -m --universal-headers | FileCheck --check-prefix=ARMV7_ALIGN_SWAP %s
3 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o13 # RUN: llvm-ar cr %t.contains_fat_binary.a %t-universal.o 17 # RUN: llvm-lipo %t-i386-lib.a %t-x86_64.o -create -output %t-i386-x86_64-universal.o18 # RUN: llvm-lipo %t-i386-x86_64-universal.o -info | FileCheck --check-prefix=INFO-i386-x86_64 %s19 # RUN: llvm-lipo %t-i386-x86_64-universal.o -thin i386 -output %t-extracted-i386-lib.a21 # RUN: llvm-lipo %t-i386-x86_64-universal.o -thin x86_64 -output %t-extracted-x86_64.o25 # RUN: llvm-lipo %t-ir-armv7-lib.a %t-ir-x86_64.o -create -output %t-ir-armv7-x86_64-universal.o26 # RUN: llvm-lipo %t-ir-armv7-x86_64-universal.o -thin armv7 -output %t-ir-extracted-armv7-lib.a28 # RUN: llvm-lipo %t-ir-armv7-x86_64-universal.o -thin x86_64 -output %t-ir-extracted-x86_64.o
3 # RUN: yaml2obj %s -o %t-universal.o5 # RUN: chmod a-x %t-universal.o6 # RUN: llvm-lipo %t-universal.o -thin i386 -output %t32.o9 # RUN: chmod a+x %t-universal.o10 # RUN: llvm-lipo %t-universal.o -thin i386 -output %t32-ex.o
2 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o7 # RUN: not llvm-lipo %t-universal.o %t-32.o -create -output %t.o 2>&1 | FileCheck --check-prefix=DU…8 # DUPLICATE_ARCHS: have the same architecture i386 and therefore cannot be in the same universal bi…
3 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o5 # RUN: llvm-lipo %t-universal.o %t-i386.o %t-universal.o %t-x86_64.o -info | FileCheck %s
8 # RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o9 # RUN: test ! -x %t-universal.o12 # RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o13 # RUN: test -x %t-universal.o
1 RUN: llvm-nm -arch all %p/Inputs/macho-universal.x86_64.i386 \5 RUN: llvm-nm -arch x86_64 %p/Inputs/macho-universal.x86_64.i386 \7 RUN: not llvm-nm -arch armv7m %p/Inputs/macho-universal.x86_64.i386 2>&1 \9 RUN: not llvm-nm -arch foobar %p/Inputs/macho-universal.x86_64.i386 2>&1 \11 RUN: llvm-nm -arch all %p/Inputs/macho-universal-archive.x86_64.i386 \15 RUN: llvm-nm -arch i386 %p/Inputs/macho-universal-archive.x86_64.i386 \17 RUN: llvm-nm -o -arch all %p/Inputs/macho-universal-archive.x86_64.i386 \20 CHECK-OBJ: macho-universal.x86_64.i386 (for architecture x86_64):22 CHECK-OBJ: macho-universal.x86_64.i386 (for architecture i386):40 CHECK-AR: macho-universal-archive.x86_64.i386(hello.o) (for architecture x86_64):[all …]
13 RUN: llvm-size -arch all %p/Inputs/macho-universal.x86_64.i386 \15 RUN: llvm-size -arch i386 %p/Inputs/macho-universal.x86_64.i386 \17 RUN: llvm-size -arch all %p/Inputs/macho-universal-archive.x86_64.i386 \19 RUN: llvm-size -arch x86_64 %p/Inputs/macho-universal-archive.x86_64.i386 \78 u: 4096 0 0 4294971392 4294975488 100002000 {{.*}}/macho-universal.x86_64.i386 (for architecture x8…79 u: 4096 0 0 8192 12288 3000 {{.*}}/macho-universal.x86_64.i386 (for architecture i386)85 uAR: 136 0 0 32 168 a8 {{.*}}/macho-universal-archive.x86_64.i386(hello.o) (for architecture x86_64)86 uAR: 5 4 0 0 9 9 {{.*}}/macho-universal-archive.x86_64.i386(foo.o) (for architecture i386)89 uAR-x86_64: 136 0 0 32 168 a8 {{.*}}/macho-universal-archive.x86_64.i386(hello.o)
1 RUN: llvm-nm --arch=all %p/Inputs/macho-universal.x86_64.i386 \5 RUN: llvm-nm --arch=x86_64 %p/Inputs/macho-universal.x86_64.i386 \7 RUN: not llvm-nm --arch=armv7m %p/Inputs/macho-universal.x86_64.i386 2>&1 \9 RUN: not llvm-nm --arch=foobar %p/Inputs/macho-universal.x86_64.i386 2>&1 \11 RUN: llvm-nm --arch=all %p/Inputs/macho-universal-archive.x86_64.i386 \15 RUN: llvm-nm --arch=i386 %p/Inputs/macho-universal-archive.x86_64.i386 \17 RUN: llvm-nm -o --arch=all %p/Inputs/macho-universal-archive.x86_64.i386 \20 CHECK-OBJ: macho-universal.x86_64.i386 (for architecture x86_64):22 CHECK-OBJ: macho-universal.x86_64.i386 (for architecture i386):40 CHECK-AR: macho-universal-archive.x86_64.i386(hello.o) (for architecture x86_64):[all …]
13 RUN: llvm-size --arch all %p/Inputs/macho-universal.x86_64.i386 \15 RUN: llvm-size --arch i386 %p/Inputs/macho-universal.x86_64.i386 \17 RUN: llvm-size --arch all %p/Inputs/macho-universal-archive.x86_64.i386 \19 RUN: llvm-size --arch x86_64 %p/Inputs/macho-universal-archive.x86_64.i386 \78 u: 4096 0 0 4294971392 4294975488 100002000 {{.*}}/macho-universal.x86_64.i386 (for architecture x8…79 u: 4096 0 0 8192 12288 3000 {{.*}}/macho-universal.x86_64.i386 (for architecture i386)85 uAR: 136 0 0 32 168 a8 {{.*}}/macho-universal-archive.x86_64.i386(hello.o) (for architecture x86_64)86 uAR: 5 4 0 0 9 9 {{.*}}/macho-universal-archive.x86_64.i386(foo.o) (for architecture i386)89 uAR-x86_64: 136 0 0 32 168 a8 {{.*}}/macho-universal-archive.x86_64.i386(hello.o)
1 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 --macho --archive-headers --arch al…3 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 --macho --archive-headers --arch al…5 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 --macho --archive-headers --arch al…9 CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)12 CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)16 OFFSETS: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)19 OFFSETS: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)23 NON-VERBOSE: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)26 NON-VERBOSE: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)
1 RUN: llvm-objdump %p/Inputs/macho-universal.x86_64.i386 -d --macho --no-show-raw-insn --full-leadin…3 RUN: llvm-objdump %p/Inputs/macho-universal.x86_64.i386 -d --no-show-raw-insn --full-leading-addr -…5 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -d --macho --no-show-raw-insn --ful…7 RUN: llvm-objdump %p/Inputs/macho-universal.x86_64.i386 --universal-headers --macho \9 RUN: llvm-objdump %p/Inputs/macho-universal.x86_64.i386 --universal-headers --macho \11 RUN: llvm-objdump %p/Inputs/macho-universal64.x86_64.i386 --universal-headers \14 UEXE-all: macho-universal.x86_64.i386 (architecture x86_64):19 UEXE-all: macho-universal.x86_64.i386 (architecture i386):25 UArchive-i386: Archive : {{.*}}/macho-universal-archive.x86_64.i38626 UArchive-i386: macho-universal-archive.x86_64.i386(foo.o):
1 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all \3 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all -…5 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all -…9 CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)12 CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)16 OFFSETS: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)19 OFFSETS: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)23 NON-VERBOSE: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)26 NON-VERBOSE: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)
1 RUN: llvm-objdump %p/Inputs/macho-universal.x86_64.i386 -d -m -no-show-raw-insn -full-leading-addr …3 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -d -m -no-show-raw-insn -full-leadi…5 RUN: llvm-objdump %p/Inputs/macho-universal.x86_64.i386 -universal-headers -m \7 RUN: llvm-objdump %p/Inputs/macho-universal.x86_64.i386 -universal-headers -m \9 RUN: llvm-objdump %p/Inputs/macho-universal64.x86_64.i386 -universal-headers \12 UEXE-all: macho-universal.x86_64.i386 (architecture x86_64):17 UEXE-all: macho-universal.x86_64.i386 (architecture i386):23 UArchive-i386: Archive : {{.*}}/macho-universal-archive.x86_64.i38624 UArchive-i386: macho-universal-archive.x86_64.i386(foo.o):
1 ## This test checks that a universal bitcode file is flattened correctly.6 # RUN: llvm-lipo %t-arm64.bc %t-x86_64.bc -create -output %t-universal.o8 # RUN: llvm-libtool-darwin -static -o %t.lib %t-universal.o -arch_only arm6414 # CHECK-NAMES: [[PREFIX]]-universal.o21 # CHECK-SYMBOLS-NEXT: _arm64 in [[PREFIX]]-universal.o30 # FORMAT-NEXT: [[PREFIX]]-universal.o33 ## Passing both a universal file and a bitcode file:34 # RUN: llvm-libtool-darwin -static -o %t.lib %t-universal.o %t-x86_64-2.bc -arch_only x86_6440 # BOTH-NAMES: [[PREFIX]]-universal.o44 # BOTH-SYMBOLS-NEXT: _x86_64 in [[PREFIX]]-universal.o[all …]
1 ## This test checks that a universal object file is flattened correctly.3 # RUN: yaml2obj %s -o %t-universal.o7 # RUN: llvm-libtool-darwin -static -o %t.lib %t-universal.o -arch_only arm6413 # CHECK-NAMES: [[PREFIX]]-universal.o20 # CHECK-SYMBOLS-NEXT: _arm64 in [[PREFIX]]-universal.o29 # FORMAT-NEXT: [[PREFIX]]-universal.o32 ## Passing both a universal file and an object file:33 # RUN: llvm-libtool-darwin -static -o %t.lib %t-universal.o %t-input1.o -arch_only x86_6439 # BOTH-NAMES: [[PREFIX]]-universal.o43 # BOTH-SYMBOLS-NEXT: _x86_64 in [[PREFIX]]-universal.o[all …]
1 llvm-lipo - LLVM tool for manipulating universal binaries13 …e universal binaries from Mach-O files, extract regular object files from universal binaries, and …48 Take a single universal binary input file and the thin flag followed by an architecture type.54 Output a universal binary combining the input files.58 Take a single universal binary input file and require the output flag to be specified.60 Output a universal binary with the specified architecture slice in the61 universal binary input replaced with the contents of the thin input file.
53 mkdir -p out/${APP}-universal54 cp platform_tools/android/apps/$APP/build/outputs/apk/${APP}-universal-debug.apk \55 out/${APP}-universal/$APP-universal-debug.apk56 ls -l out/${APP}-universal/$APP-universal-debug.apk