Home
last modified time | relevance | path

Searched refs:macho (Results 1 – 25 of 135) sorted by relevance

123456

/external/llvm/test/Object/
Dnm-trivial-object.test19 RUN: llvm-nm %p/Inputs/trivial-object-test.macho-i386 \
20 RUN: | FileCheck %s -check-prefix macho
21 RUN: llvm-nm -U %p/Inputs/trivial-object-test.macho-i386 \
22 RUN: | FileCheck %s -check-prefix macho-U
23 RUN: llvm-nm %p/Inputs/trivial-object-test.macho-x86-64 \
25 RUN: llvm-nm %p/Inputs/macho-text-data-bss.macho-x86_64 \
26 RUN: | FileCheck %s -check-prefix macho-tdb
27 RUN: llvm-nm -j %p/Inputs/macho-text-data-bss.macho-x86_64 \
28 RUN: | FileCheck %s -check-prefix macho-j
29 RUN: llvm-nm -r %p/Inputs/macho-text-data-bss.macho-x86_64 \
[all …]
Dsize-trivial-macho.test1 RUN: llvm-size -A %p/Inputs/macho-text-data-bss.macho-x86_64 \
3 RUN: llvm-size -B %p/Inputs/macho-text-data-bss.macho-x86_64 \
5 RUN: llvm-size -format darwin %p/Inputs/macho-text-data-bss.macho-x86_64 \
7 RUN: llvm-size %p/Inputs/macho-archive-x86_64.a \
9 RUN: llvm-size -format darwin %p/Inputs/macho-archive-x86_64.a \
11 RUN: llvm-size -m -x -l %p/Inputs/hello-world.macho-x86_64 \
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 \
[all …]
Dnm-universal-binary.test1 RUN: llvm-nm -arch all %p/Inputs/macho-universal.x86_64.i386 \
3 RUN: llvm-nm -arch x86_64 %p/Inputs/macho-universal.x86_64.i386 \
5 RUN: not llvm-nm -arch armv7m %p/Inputs/macho-universal.x86_64.i386 2>&1 \
7 RUN: not llvm-nm -arch foobar %p/Inputs/macho-universal.x86_64.i386 2>&1 \
9 RUN: llvm-nm -arch all %p/Inputs/macho-universal-archive.x86_64.i386 \
11 RUN: llvm-nm -arch i386 %p/Inputs/macho-universal-archive.x86_64.i386 \
13 RUN: llvm-nm -o -arch all %p/Inputs/macho-universal-archive.x86_64.i386 \
16 CHECK-OBJ: macho-universal.x86_64.i386 (for architecture x86_64):
18 CHECK-OBJ: macho-universal.x86_64.i386 (for architecture i386):
31 CHECK-AR: macho-universal-archive.x86_64.i386(hello.o) (for architecture x86_64):
[all …]
Dobjdump-symbol-table.test5 RUN: llvm-objdump -t %p/Inputs/trivial-object-test.macho-i386 \
6 RUN: | FileCheck %s -check-prefix macho-i386
31 macho-i386: trivial-object-test.macho-i386: file format Mach-O 32-bit i386
32 macho-i386: SYMBOL TABLE:
33 macho-i386: 00000000 g F __TEXT,__text _main
34 macho-i386: 00000000 *UND* _SomeOtherFunction
35 macho-i386: 00000000 *UND* _puts
Dmacho-invalid.test2 RUN: llvm-objdump -private-headers %p/Inputs/macho-invalid-zero-ncmds
8 RUN: not llvm-objdump -private-headers %p/Inputs/macho-invalid-too-small-load-command 2>&1 \
14 RUN: not llvm-objdump -private-headers %p/Inputs/macho-invalid-too-small-segment-load-command 2>&1 \
20 RUN: not llvm-objdump -private-headers %p/Inputs/macho-invalid-no-size-for-sections 2>&1 \
26 RUN: not llvm-objdump -t %p/Inputs/macho-invalid-bad-symbol-index 2>&1 \
30 RUN: not llvm-objdump -t %p/Inputs/macho-invalid-symbol-name-past-eof 2>&1 \
34 RUN: not llvm-nm %p/Inputs/macho-invalid-section-index-getSectionRawName 2>&1 \
38 RUN: not llvm-objdump -private-headers %p/Inputs/macho-invalid-header 2>&1 | FileCheck -check-prefi…
Darchive-symtab.test74 RUN: llvm-nm -M %p/Inputs/macho-archive-x86_64.a | FileCheck %s --check-prefix=BSD-MachO
75 RUN: llvm-nm -M %p/Inputs/macho-archive-unsorted-x86_64.a | FileCheck %s --check-prefix=BSD-MachO
82 …-format=bsd rcsU %t.a %p/Inputs/trivial-object-test.macho-x86-64 %p/Inputs/trivial-object-test2.ma…
86 MACHO-NEXT: _main in trivial-object-test.macho-x86-64
87 MACHO-NEXT: _foo in trivial-object-test2.macho-x86-64
88 MACHO-NEXT: _main in trivial-object-test2.macho-x86-64
91 MACHO: trivial-object-test.macho-x86-64
97 MACHO: trivial-object-test2.macho-x86-64
115 RUN: llvm-ar --format=bsd rcsU %t.a %p/Inputs/trivial-object-test.macho-x86-64
/external/llvm/test/tools/dsymutil/X86/
Dmultiple-inputs.test4 RUN: cat %p/../Inputs/basic.macho.x86_64 > %T/multiple-inputs/basic.macho.x86_64
5 RUN: cat %p/../Inputs/basic-archive.macho.x86_64 > %T/multiple-inputs/basic-archive.macho.x86_64
6 RUN: cat %p/../Inputs/basic-lto.macho.x86_64 > %T/multiple-inputs/basic-lto.macho.x86_64
7 RUN: cat %p/../Inputs/basic-lto-dw4.macho.x86_64 > %T/multiple-inputs/basic-lto-dw4.macho.x86_64
10 …/basic.macho.x86_64 %T/multiple-inputs/basic-archive.macho.x86_64 %T/multiple-inputs/basic-lto.mac…
11 RUN: llvm-dwarfdump %T/multiple-inputs/basic.macho.x86_64.dwarf \
13 RUN: llvm-dwarfdump %T/multiple-inputs/basic-archive.macho.x86_64.dwarf \
15 RUN: llvm-dwarfdump %T/multiple-inputs/basic-lto.macho.x86_64.dwarf | FileCheck %S/basic-lto-linkin…
16 RUN: llvm-dwarfdump %T/multiple-inputs/basic-lto-dw4.macho.x86_64.dwarf | FileCheck %S/basic-lto-dw…
19 …/basic.macho.x86_64 %T/multiple-inputs/basic-archive.macho.x86_64 %T/multiple-inputs/basic-lto.mac…
[all …]
Dbasic-linking-bundle.test3 RUN: cat %p/../Inputs/basic.macho.x86_64 > %T/basic-linking-bundle/basic.macho.x86_64
5 RUN: llvm-dsymutil -oso-prepend-path=%p/.. %T/basic-linking-bundle/basic.macho.x86_64
6 …UN: llvm-dwarfdump %T/basic-linking-bundle/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.
7 RUN: FileCheck %s --input-file %T/basic-linking-bundle/basic.macho.x86_64.dSYM/Contents/Info.plist
9 …pend-path=%p/.. %T/basic-linking-bundle/basic.macho.x86_64 -o %T/basic-linking-bundle/dsymdest/bas…
10 …dwarfdump %T/basic-linking-bundle/dsymdest/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.
11 RUN: FileCheck %s --input-file %T/basic-linking-bundle/dsymdest/basic.macho.x86_64.dSYM/Contents/In…
20 CHECK-NEXT: <string>com.apple.xcode.dsym.basic.macho.x86_64</string>
/external/llvm/test/tools/llvm-objdump/X86/
Dmalformed-machos.test4 # RUN: llvm-objdump -macho -objc-meta-data \
5 # RUN: %p/Inputs/malformed-machos/mem-crup-0001.macho \
10 # RUN: llvm-objdump -macho -objc-meta-data \
11 # RUN: %p/Inputs/malformed-machos/mem-crup-0006.macho \
16 # RUN: llvm-objdump -macho -objc-meta-data \
17 # RUN: %p/Inputs/malformed-machos/mem-crup-0006.macho \
22 # RUN: llvm-objdump -macho -objc-meta-data \
23 # RUN: %p/Inputs/malformed-machos/mem-crup-0040.macho \
28 # RUN: llvm-objdump -macho -objc-meta-data \
29 # RUN: %p/Inputs/malformed-machos/mem-crup-0080.macho \
[all …]
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 \
10 UEXE-all: macho-universal.x86_64.i386 (architecture x86_64):
15 UEXE-all: macho-universal.x86_64.i386 (architecture i386):
21 UArchive-i386: Archive : {{.*}}/macho-universal-archive.x86_64.i386
22 UArchive-i386: macho-universal-archive.x86_64.i386(foo.o):
Dmacho-symbolized-disassembly.test1 …m -no-show-raw-insn -full-leading-addr -print-imm-hex %p/Inputs/hello.obj.macho-x86_64 | FileCheck…
2 …m -no-show-raw-insn -full-leading-addr -print-imm-hex %p/Inputs/hello.exe.macho-x86_64 | FileCheck…
3 …-m -no-show-raw-insn -full-leading-addr -print-imm-hex %p/Inputs/ObjC.obj.macho-x86_64 | FileCheck…
4 …-m -no-show-raw-insn -full-leading-addr -print-imm-hex %p/Inputs/ObjC.exe.macho-x86_64 | FileCheck…
5 …o-show-raw-insn -full-leading-addr -print-imm-hex %p/Inputs/hello_cpp.exe.macho-x86_64 | FileCheck…
7 …m -no-show-raw-insn -full-leading-addr -print-imm-hex %p/Inputs/hello.obj.macho-i386 | FileCheck %…
8 …m -no-show-raw-insn -full-leading-addr -print-imm-hex %p/Inputs/hello.exe.macho-i386 | FileCheck %…
10 …ull-leading-addr -print-imm-hex -no-symbolic-operands %p/Inputs/hello.obj.macho-x86_64 | FileCheck…
11 …ull-leading-addr -print-imm-hex -no-symbolic-operands %p/Inputs/hello.exe.macho-x86_64 | FileCheck…
Dmacho-indirect-symbols.test1 RUN: llvm-objdump -macho -indirect-symbols %p/Inputs/hello.exe.macho-x86_64 | FileCheck %s
2 RUN: llvm-objdump -macho -indirect-symbols -non-verbose %p/Inputs/hello.exe.macho-x86_64 | FileChec…
/external/llvm/test/tools/dsymutil/
Ddebug-map-parsing.test1 RUN: llvm-dsymutil -dump-debug-map -oso-prepend-path=%p %p/Inputs/basic.macho.x86_64 | FileCheck %s
2 RUN: llvm-dsymutil -dump-debug-map -oso-prepend-path=%p %p/Inputs/basic-lto.macho.x86_64 | FileChec…
3 RUN: llvm-dsymutil -verbose -dump-debug-map -oso-prepend-path=%p %p/Inputs/basic-archive.macho.x86_…
4 RUN: llvm-dsymutil -dump-debug-map %p/Inputs/basic.macho.x86_64 2>&1 | FileCheck %s --check-prefix=…
13 CHECK: binary-path:{{.*}}/Inputs/basic.macho.x86_64
14 CHECK: filename:{{.*}}/Inputs/basic1.macho.x86_64.o
16 CHECK: filename{{.*}}/Inputs/basic2.macho.x86_64.o
21 CHECK: filename{{.*}}/Inputs/basic3.macho.x86_64.o
33 CHECK-LTO: binary-path:{{.*}}/Inputs/basic-lto.macho.x86_64
34 CHECK-LTO: /Inputs/basic-lto.macho.x86_64.o
[all …]
Darchive-timestamp.test3 # This is the archive member part of basic-archive.macho.x86_64 debug map with corrupted timestamps.
5 # CHECK: warning: {{.*}}libbasic.a(basic2.macho.x86_64.o): {{[Nn]o}} such file
6 # CHECK: warning: {{.*}}libbasic.a(basic3.macho.x86_64.o): {{[Nn]o}} such file
11 - filename: '/Inputs/libbasic.a(basic2.macho.x86_64.o)'
18 - filename: '/Inputs/libbasic.a(basic3.macho.x86_64.o)'
Dyaml-object-address-rewrite.test3 # The YAML debug map bellow is the one from basic-archive.macho.x86_64 with
11 # CHECK-NEXT: filename:{{.*}}/Inputs/basic1.macho.x86_64.o
15 # CHECK-NEXT: filename:{{.*}}/Inputs/./libbasic.a(basic2.macho.x86_64.o)'
23 # CHECK-NEXT: filename:{{.*}}/Inputs/./libbasic.a(basic3.macho.x86_64.o)'
34 - filename: /Inputs/basic1.macho.x86_64.o
37 - filename: /Inputs/./libbasic.a(basic2.macho.x86_64.o)
43 - filename: /Inputs/./libbasic.a(basic3.macho.x86_64.o)
Dbasic-linking.test1 RUN: llvm-dsymutil -no-output -verbose -oso-prepend-path=%p %p/Inputs/basic.macho.x86_64 | FileChec…
2 RUN: llvm-dsymutil -no-output -verbose -oso-prepend-path=%p %p/Inputs/basic-lto.macho.x86_64 | File…
3 RUN: llvm-dsymutil -no-output -verbose -oso-prepend-path=%p %p/Inputs/basic-archive.macho.x86_64 | …
4 …e -oso-prepend-path=%p %p/Inputs/basic.macho.x86_64 %p/Inputs/basic-lto.macho.x86_64 %p/Inputs/bas…
9 CHECK: DEBUG MAP OBJECT: {{.*}}basic1.macho.x86_64.o
19 CHECK: DEBUG MAP OBJECT: {{.*}}basic2.macho.x86_64.o
41 CHECK: DEBUG MAP OBJECT: {{.*}}basic3.macho.x86_64.o
61 CHECK-LTO: DEBUG MAP OBJECT: {{.*}}basic-lto.macho.x86_64.o
102 CHECK-ARCHIVE: DEBUG MAP OBJECT: {{.*}}basic1.macho.x86_64.o
112 CHECK-ARCHIVE: DEBUG MAP OBJECT: {{.*}}libbasic.a(basic2.macho.x86_64.o)
[all …]
/external/llvm/test/DebugInfo/
Ddebuglineinfo-macho.test2 RUN: llvm-dwarfdump %p/Inputs/test-simple-macho.o | FileCheck %s
3 RUN: llvm-dwarfdump %p/Inputs/test-multiple-macho.o | FileCheck %s
4 RUN: llvm-rtdyld -printline %p/Inputs/test-multiple-macho.o | FileCheck %s
5 RUN: llvm-rtdyld -printobjline %p/Inputs/test-multiple-macho.o | FileCheck %s
10 RUN: llvm-rtdyld -printobjline %p/Inputs/test-simple-macho.o \
12 RUN: llvm-rtdyld -printline %p/Inputs/test-simple-macho.o \
14 RUN: llvm-rtdyld -printobjline %p/Inputs/test-multiple-macho.o \
16 RUN: llvm-rtdyld -printline %p/Inputs/test-multiple-macho.o \
Ddwarfdump-macho-relocs.test1 // RUN: llvm-dwarfdump -debug-dump=info %p/Inputs/dwarfdump-macho-relocs.macho.x86_64.o | FileCheck…
6 // Compiled with: clang -x c -g -c -o dwarfdump-macho-relocs.macho.x86_64.o dwarfdump-macho-relocs.…
/external/llvm/test/LTO/X86/
Dbcsection.ll13 …T -filetype=obj -triple=x86_64-apple-darwin11 -o %T/bcsection.macho.bco %p/Inputs/bcsection.macho.s
14 ; RUN: llvm-nm %T/bcsection.macho.bco | FileCheck %s
15 …lvm-lto -exported-symbol=main -exported-symbol=_main -o %T/bcsection.macho.o %T/bcsection.macho.bco
16 ; RUN: llvm-nm %T/bcsection.macho.o | FileCheck %s
/external/llvm/test/tools/llvm-objdump/
Dmacho-sections.test1 # RUN: llvm-objdump -macho -section=__data %p/Inputs/bind2.macho-x86_64 | FileCheck %s
3 # CHECK: bind2.macho-x86_64:
/external/llvm/test/Object/ARM/
Dmacho-data-in-code.test1 …dump -triple thumbv7-apple-iOS -disassemble %p/../Inputs/macho-data-in-code.macho-thumbv7 -macho |…
/external/llvm/test/CodeGen/ARM/
Dcse-ldrlit.ll1 ; RUN: llc -mtriple=thumbv6m-apple-none-macho -relocation-model=pic -o - %s | FileCheck %s --check…
2 ; RUN: llc -mtriple=arm-apple-none-macho -relocation-model=pic -o - %s | FileCheck %s --check-pref…
3 ; RUN: llc -mtriple=thumbv6m-apple-none-macho -relocation-model=dynamic-no-pic -o - %s | FileCheck…
4 ; RUN: llc -mtriple=arm-apple-none-macho -relocation-model=dynamic-no-pic -o - %s | FileCheck %s -…
5 ; RUN: llc -mtriple=thumbv6m-apple-none-macho -relocation-model=static -o - %s | FileCheck %s --ch…
6 ; RUN: llc -mtriple=arm-apple-none-macho -relocation-model=static -o - %s | FileCheck %s --check-p…
/external/llvm/test/CodeGen/AArch64/
Dsimple-macho.ll1 ; RUN: llc -mtriple=arm64-macho -o - %s | FileCheck %s
2 ; RUN: llc -mtriple=arm64-macho -filetype=obj -o %t %s
3 ; RUN: llvm-objdump -triple=arm64-macho -d %t | FileCheck --check-prefix=CHECK-OBJ %s
/external/llvm/test/MC/ARM/
Dthumb1-relax-br.s1 @ RUN: not llvm-mc -triple thumbv6m-none-macho -filetype=obj -o /dev/null %s 2>&1 | FileCheck --che…
2 @ RUN: llvm-mc -triple thumbv7m-none-macho -filetype=obj -o %t %s
3 @ RUN: llvm-objdump -d -r -triple thumbv7m-none-macho %t | FileCheck --check-prefix=CHECK-MACHO …

123456