Home
last modified time | relevance | path

Searched refs:universal (Results 1 – 25 of 368) sorted by relevance

12345678910>>...15

/external/llvm-project/llvm/test/tools/llvm-objcopy/MachO/
Duniversal-object.test6 ## Case 1: copy a universal object containing regular Mach-O objects.
7 # RUN: llvm-lipo %t.i386 %t.x86_64 -create -output %t.universal
8 # RUN: llvm-objcopy %t.universal %t.universal.copy
9 # RUN: llvm-lipo %t.universal.copy -archs | FileCheck --check-prefix=VERIFY_ARCHS %s
10 # RUN: llvm-lipo %t.universal.copy -thin i386 -output %t.i386.copy
11 # RUN: llvm-lipo %t.universal.copy -thin x86_64 -output %t.x86_64.copy
15 ## 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.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…
[all …]
/external/llvm-project/llvm/test/tools/llvm-lipo/
Dcreate-default-alignment.test4 # RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal-llvm.o
6 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o
7 # RUN: cmp %t-universal-llvm.o %t-universal.o
12 # RUN: llvm-lipo %t-arm64.o %t-armv7.o %t-universal.o -create -output %t-universal-2.o
13 # RUN: llvm-lipo %t-universal-2.o -thin x86_64 -output %t-x86_64_extracted.o
15 # RUN: llvm-lipo %t-universal-2.o -thin armv7 -output %t-armv7-extracted.o
18 # RUN: llvm-objdump %t-universal-2.o -m --universal-headers | FileCheck %s
Dreplace-invalid-input.test3 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o
5 # RUN: not llvm-lipo %t-universal.o -replace %t-32.o 2>&1 | FileCheck --check-prefix=MISSING_ARG %s
8 # 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…
Dextract.test1 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o
3 # 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.o
11 # RUN: llvm-lipo -extract i386 %t-universal.o -output %t-i386-universal-extracted.o
12 # RUN: cmp %t-i386-universal.o %t-i386-universal-extracted.o
13 # RUN: llvm-lipo -thin i386 %t-i386-universal-extracted.o -output %t-i386-thinned.o
Dsegalign.test3 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o
7 # RUN: llvm-lipo %t-universal.o %t-arm64.o -create -o %t.o -segalign arm64 100
8 # RUN: llvm-objdump %t.o -m --universal-headers | FileCheck --check-prefix=CHECK_SMALL_ARM64 %s
23 # RUN: llvm-lipo %t-universal.o %t-arm64.o -create -o %t-nosegalign.o
24 # 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 100
34 # RUN: llvm-objdump %t2.o -m --universal-headers | FileCheck --check-prefix=CHECK_SMALL_ARMV7 %s
49 # RUN: llvm-lipo %t-universal.o %t-armv7.o -create -o %t2-nosegalign.o
50 # 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 …]
Dcreate-arch.test4 # RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o
5 # RUN: llvm-lipo %t-i386.o -arch x86_64 %t-x86_64.o -create -output %t-universal-1.o
6 # RUN: cmp %t-universal.o %t-universal-1.o
7 # RUN: llvm-lipo -arch i386 %t-i386.o -arch x86_64 %t-x86_64.o -create -output %t-universal-2.o
8 # RUN: cmp %t-universal.o %t-universal-2.o
Dreplace-universal-binary.test2 # RUN: yaml2obj %p/Inputs/i386-x86_64-armv7-arm64-universal.yaml -o %t-universal.o
4 # RUN: llvm-lipo %t-universal.o -replace armv7 %t-armv7big.o -o %t.o
5 # RUN: llvm-objdump %t.o -m --universal-headers | FileCheck --check-prefix=ARMV7_BIG %s
24 # RUN: yaml2obj %p/Inputs/armv7_i386_non_default_alignment.yaml -o %t-universal-align.o
26 # RUN: llvm-lipo %t-universal-align.o -replace armv7 %t-armv7.o -o %t2.o
27 # RUN: llvm-objdump %t2.o -m --universal-headers | FileCheck --check-prefix=ARMV7_ALIGN_SWAP %s
Dcreate-archive-input.test3 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o
13 # 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.o
18 # RUN: llvm-lipo %t-i386-x86_64-universal.o -info | FileCheck --check-prefix=INFO-i386-x86_64 %s
19 # RUN: llvm-lipo %t-i386-x86_64-universal.o -thin i386 -output %t-extracted-i386-lib.a
21 # RUN: llvm-lipo %t-i386-x86_64-universal.o -thin x86_64 -output %t-extracted-x86_64.o
25 # RUN: llvm-lipo %t-ir-armv7-lib.a %t-ir-x86_64.o -create -output %t-ir-armv7-x86_64-universal.o
26 # RUN: llvm-lipo %t-ir-armv7-x86_64-universal.o -thin armv7 -output %t-ir-extracted-armv7-lib.a
28 # RUN: llvm-lipo %t-ir-armv7-x86_64-universal.o -thin x86_64 -output %t-ir-extracted-x86_64.o
Dthin-executable-universal-binary.test3 # RUN: yaml2obj %s -o %t-universal.o
5 # RUN: chmod a-x %t-universal.o
6 # RUN: llvm-lipo %t-universal.o -thin i386 -output %t32.o
9 # RUN: chmod a+x %t-universal.o
10 # RUN: llvm-lipo %t-universal.o -thin i386 -output %t32-ex.o
Dcreate-invalid-input.test2 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o
7 # 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…
Dinfo.test3 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o
5 # RUN: llvm-lipo %t-universal.o %t-i386.o %t-universal.o %t-x86_64.o -info | FileCheck %s
Dcreate-executable.test8 # RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o
9 # RUN: test ! -x %t-universal.o
12 # RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o
13 # RUN: test -x %t-universal.o
/external/llvm-project/llvm/test/Object/
Dnm-universal-binary.test1 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 …]
Dsize-trivial-macho.test13 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)
/external/llvm/test/Object/
Dnm-universal-binary.test1 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 …]
Dsize-trivial-macho.test13 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)
/external/llvm/test/tools/llvm-objdump/X86/
Dmacho-archive-headers.test1 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)
Dmacho-universal-x86_64.i386.test1 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.i386
24 UArchive-i386: macho-universal-archive.x86_64.i386(foo.o):
/external/llvm-project/llvm/test/tools/llvm-objdump/MachO/
Darchive-headers.test1 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)
Duniversal-x86_64.i386.test1 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.i386
26 UArchive-i386: macho-universal-archive.x86_64.i386(foo.o):
/external/llvm-project/llvm/test/tools/llvm-libtool-darwin/
Duniversal-object-flattening.test1 ## This test checks that a universal object file is flattened correctly.
3 # RUN: yaml2obj %s -o %t-universal.o
7 # RUN: llvm-libtool-darwin -static -o %t.lib %t-universal.o -arch_only arm64
13 # CHECK-NAMES: [[PREFIX]]-universal.o
20 # CHECK-SYMBOLS-NEXT: _arm64 in [[PREFIX]]-universal.o
29 # FORMAT-NEXT: [[PREFIX]]-universal.o
32 ## 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_64
39 # BOTH-NAMES: [[PREFIX]]-universal.o
43 # BOTH-SYMBOLS-NEXT: _x86_64 in [[PREFIX]]-universal.o
[all …]
Duniversal-bitcode-flattening.test1 ## 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.o
8 # RUN: llvm-libtool-darwin -static -o %t.lib %t-universal.o -arch_only arm64
14 # CHECK-NAMES: [[PREFIX]]-universal.o
21 # CHECK-SYMBOLS-NEXT: _arm64 in [[PREFIX]]-universal.o
30 # FORMAT-NEXT: [[PREFIX]]-universal.o
33 ## 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_64
40 # BOTH-NAMES: [[PREFIX]]-universal.o
44 # BOTH-SYMBOLS-NEXT: _x86_64 in [[PREFIX]]-universal.o
[all …]
/external/llvm-project/llvm/docs/CommandGuide/
Dllvm-lipo.rst1 llvm-lipo - LLVM tool for manipulating universal binaries
13 …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 the
61 universal binary input replaced with the contents of the thin input file.
/external/skia/platform_tools/android/bin/
Dandroid_build_universal_viewer53 mkdir -p out/${APP}-universal
54 cp platform_tools/android/apps/$APP/build/outputs/apk/${APP}-universal-debug.apk \
55 out/${APP}-universal/$APP-universal-debug.apk
56 ls -l out/${APP}-universal/$APP-universal-debug.apk
/external/skqp/platform_tools/android/bin/
Dandroid_build_universal_viewer53 mkdir -p out/${APP}-universal
54 cp platform_tools/android/apps/$APP/build/outputs/apk/${APP}-universal-debug.apk \
55 out/${APP}-universal/$APP-universal-debug.apk
56 ls -l out/${APP}-universal/$APP-universal-debug.apk

12345678910>>...15