Skip to content

Commit f10065b

Browse files
committed
[MachO] Add -macho to llvm-objdump commands
llvm-svn: 358473
1 parent 051a699 commit f10065b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lld/test/mach-o/executable-exports.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 \
22
# RUN: %s %p/Inputs/x86_64/libSystem.yaml -o %t && \
3-
# RUN: llvm-objdump -exports-trie %t | FileCheck %s
3+
# RUN: llvm-objdump -macho -exports-trie %t | FileCheck %s
44
#
55
#
66
# Tests that exports trie builds properly.

lld/test/mach-o/export-trie-order.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# RUN: ld64.lld -arch i386 %s %p/Inputs/hello-world-x86.yaml -o %t
2-
# RUN: llvm-objdump -exports-trie %t | FileCheck %s
2+
# RUN: llvm-objdump -macho -exports-trie %t | FileCheck %s
33
#
44
# Test that the export trie is emitted in order.
55
#

lld/test/mach-o/got-order.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RUN: ld64.lld -arch x86_64 %s %p/Inputs/got-order.yaml \
22
# RUN: %p/Inputs/got-order2.yaml -o %t %p/Inputs/x86_64/libSystem.yaml
3-
# RUN: llvm-objdump -bind %t | FileCheck %s
3+
# RUN: llvm-objdump -macho -bind %t | FileCheck %s
44
#
55
# Test that GOT slots are sorted by name
66
#

lld/test/mach-o/lazy-bind-x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# RUN: %p/Inputs/lazy-bind-x86_64.yaml %p/Inputs/lazy-bind-x86_64-2.yaml \
55
# RUN: %p/Inputs/lazy-bind-x86_64-3.yaml -o %t \
66
# RUN: %p/Inputs/x86_64/libSystem.yaml
7-
# RUN: llvm-objdump -lazy-bind %t | FileCheck %s
7+
# RUN: llvm-objdump -macho -lazy-bind %t | FileCheck %s
88
# RUN: llvm-nm -m %t | FileCheck --check-prefix=CHECK-NM %s
99
# RUN: llvm-objdump -disassemble %t | FileCheck --check-prefix=CHECK-HELPERS %s
1010
# RUN: llvm-objdump -private-headers %t | FileCheck --check-prefix=CHECK-DYLIBS %s

0 commit comments

Comments
 (0)