Searched refs:macho (Results 1 – 25 of 135) sorted by relevance
123456
19 RUN: llvm-nm %p/Inputs/trivial-object-test.macho-i386 \20 RUN: | FileCheck %s -check-prefix macho21 RUN: llvm-nm -U %p/Inputs/trivial-object-test.macho-i386 \22 RUN: | FileCheck %s -check-prefix macho-U23 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-tdb27 RUN: llvm-nm -j %p/Inputs/macho-text-data-bss.macho-x86_64 \28 RUN: | FileCheck %s -check-prefix macho-j29 RUN: llvm-nm -r %p/Inputs/macho-text-data-bss.macho-x86_64 \[all …]
1 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 …]
1 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 …]
5 RUN: llvm-objdump -t %p/Inputs/trivial-object-test.macho-i386 \6 RUN: | FileCheck %s -check-prefix macho-i38631 macho-i386: trivial-object-test.macho-i386: file format Mach-O 32-bit i38632 macho-i386: SYMBOL TABLE:33 macho-i386: 00000000 g F __TEXT,__text _main34 macho-i386: 00000000 *UND* _SomeOtherFunction35 macho-i386: 00000000 *UND* _puts
2 RUN: llvm-objdump -private-headers %p/Inputs/macho-invalid-zero-ncmds8 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…
74 RUN: llvm-nm -M %p/Inputs/macho-archive-x86_64.a | FileCheck %s --check-prefix=BSD-MachO75 RUN: llvm-nm -M %p/Inputs/macho-archive-unsorted-x86_64.a | FileCheck %s --check-prefix=BSD-MachO82 …-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-6487 MACHO-NEXT: _foo in trivial-object-test2.macho-x86-6488 MACHO-NEXT: _main in trivial-object-test2.macho-x86-6491 MACHO: trivial-object-test.macho-x86-6497 MACHO: trivial-object-test2.macho-x86-64115 RUN: llvm-ar --format=bsd rcsU %t.a %p/Inputs/trivial-object-test.macho-x86-64
4 RUN: cat %p/../Inputs/basic.macho.x86_64 > %T/multiple-inputs/basic.macho.x86_645 RUN: cat %p/../Inputs/basic-archive.macho.x86_64 > %T/multiple-inputs/basic-archive.macho.x86_646 RUN: cat %p/../Inputs/basic-lto.macho.x86_64 > %T/multiple-inputs/basic-lto.macho.x86_647 RUN: cat %p/../Inputs/basic-lto-dw4.macho.x86_64 > %T/multiple-inputs/basic-lto-dw4.macho.x86_6410 …/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 …]
3 RUN: cat %p/../Inputs/basic.macho.x86_64 > %T/basic-linking-bundle/basic.macho.x86_645 RUN: llvm-dsymutil -oso-prepend-path=%p/.. %T/basic-linking-bundle/basic.macho.x86_646 …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.plist9 …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>
4 # 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 …]
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 \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.i38622 UArchive-i386: macho-universal-archive.x86_64.i386(foo.o):
1 …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…
1 RUN: llvm-objdump -macho -indirect-symbols %p/Inputs/hello.exe.macho-x86_64 | FileCheck %s2 RUN: llvm-objdump -macho -indirect-symbols -non-verbose %p/Inputs/hello.exe.macho-x86_64 | FileChec…
1 RUN: llvm-dsymutil -dump-debug-map -oso-prepend-path=%p %p/Inputs/basic.macho.x86_64 | FileCheck %s2 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_6414 CHECK: filename:{{.*}}/Inputs/basic1.macho.x86_64.o16 CHECK: filename{{.*}}/Inputs/basic2.macho.x86_64.o21 CHECK: filename{{.*}}/Inputs/basic3.macho.x86_64.o33 CHECK-LTO: binary-path:{{.*}}/Inputs/basic-lto.macho.x86_6434 CHECK-LTO: /Inputs/basic-lto.macho.x86_64.o[all …]
3 # 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 file6 # CHECK: warning: {{.*}}libbasic.a(basic3.macho.x86_64.o): {{[Nn]o}} such file11 - filename: '/Inputs/libbasic.a(basic2.macho.x86_64.o)'18 - filename: '/Inputs/libbasic.a(basic3.macho.x86_64.o)'
3 # The YAML debug map bellow is the one from basic-archive.macho.x86_64 with11 # CHECK-NEXT: filename:{{.*}}/Inputs/basic1.macho.x86_64.o15 # 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.o37 - filename: /Inputs/./libbasic.a(basic2.macho.x86_64.o)43 - filename: /Inputs/./libbasic.a(basic3.macho.x86_64.o)
1 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.o19 CHECK: DEBUG MAP OBJECT: {{.*}}basic2.macho.x86_64.o41 CHECK: DEBUG MAP OBJECT: {{.*}}basic3.macho.x86_64.o61 CHECK-LTO: DEBUG MAP OBJECT: {{.*}}basic-lto.macho.x86_64.o102 CHECK-ARCHIVE: DEBUG MAP OBJECT: {{.*}}basic1.macho.x86_64.o112 CHECK-ARCHIVE: DEBUG MAP OBJECT: {{.*}}libbasic.a(basic2.macho.x86_64.o)[all …]
2 RUN: llvm-dwarfdump %p/Inputs/test-simple-macho.o | FileCheck %s3 RUN: llvm-dwarfdump %p/Inputs/test-multiple-macho.o | FileCheck %s4 RUN: llvm-rtdyld -printline %p/Inputs/test-multiple-macho.o | FileCheck %s5 RUN: llvm-rtdyld -printobjline %p/Inputs/test-multiple-macho.o | FileCheck %s10 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 \
1 // 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.…
13 …T -filetype=obj -triple=x86_64-apple-darwin11 -o %T/bcsection.macho.bco %p/Inputs/bcsection.macho.s14 ; RUN: llvm-nm %T/bcsection.macho.bco | FileCheck %s15 …lvm-lto -exported-symbol=main -exported-symbol=_main -o %T/bcsection.macho.o %T/bcsection.macho.bco16 ; RUN: llvm-nm %T/bcsection.macho.o | FileCheck %s
1 # RUN: llvm-objdump -macho -section=__data %p/Inputs/bind2.macho-x86_64 | FileCheck %s3 # CHECK: bind2.macho-x86_64:
1 …dump -triple thumbv7-apple-iOS -disassemble %p/../Inputs/macho-data-in-code.macho-thumbv7 -macho |…
1 ; 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…
1 ; RUN: llc -mtriple=arm64-macho -o - %s | FileCheck %s2 ; RUN: llc -mtriple=arm64-macho -filetype=obj -o %t %s3 ; RUN: llvm-objdump -triple=arm64-macho -d %t | FileCheck --check-prefix=CHECK-OBJ %s
1 @ 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 %s3 @ RUN: llvm-objdump -d -r -triple thumbv7m-none-macho %t | FileCheck --check-prefix=CHECK-MACHO …