diff options
| author | Fangrui Song <maskray@google.com> | 2019-04-16 03:51:53 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-04-16 03:51:53 +0000 |
| commit | f10065b68bedff2ae133711123d6d77628d7a0d6 (patch) | |
| tree | da91c3920bc3fb79391e16c1536bd1b7394608a3 | |
| parent | 051a699ed62b94e3c480bfc8c858c9dbe7319b0b (diff) | |
| download | bcm5719-llvm-f10065b68bedff2ae133711123d6d77628d7a0d6.tar.gz bcm5719-llvm-f10065b68bedff2ae133711123d6d77628d7a0d6.zip | |
[MachO] Add -macho to llvm-objdump commands
llvm-svn: 358473
| -rw-r--r-- | lld/test/mach-o/executable-exports.yaml | 2 | ||||
| -rw-r--r-- | lld/test/mach-o/export-trie-order.yaml | 2 | ||||
| -rw-r--r-- | lld/test/mach-o/got-order.yaml | 2 | ||||
| -rw-r--r-- | lld/test/mach-o/lazy-bind-x86_64.yaml | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/lld/test/mach-o/executable-exports.yaml b/lld/test/mach-o/executable-exports.yaml index 46ba9ca6d1d..83d9c210173 100644 --- a/lld/test/mach-o/executable-exports.yaml +++ b/lld/test/mach-o/executable-exports.yaml @@ -1,6 +1,6 @@ # RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 \ # RUN: %s %p/Inputs/x86_64/libSystem.yaml -o %t && \ -# RUN: llvm-objdump -exports-trie %t | FileCheck %s +# RUN: llvm-objdump -macho -exports-trie %t | FileCheck %s # # # Tests that exports trie builds properly. diff --git a/lld/test/mach-o/export-trie-order.yaml b/lld/test/mach-o/export-trie-order.yaml index 53ee8afae66..1b1fc392bf2 100644 --- a/lld/test/mach-o/export-trie-order.yaml +++ b/lld/test/mach-o/export-trie-order.yaml @@ -1,5 +1,5 @@ # RUN: ld64.lld -arch i386 %s %p/Inputs/hello-world-x86.yaml -o %t -# RUN: llvm-objdump -exports-trie %t | FileCheck %s +# RUN: llvm-objdump -macho -exports-trie %t | FileCheck %s # # Test that the export trie is emitted in order. # diff --git a/lld/test/mach-o/got-order.yaml b/lld/test/mach-o/got-order.yaml index f7984741e51..f2488f089a6 100644 --- a/lld/test/mach-o/got-order.yaml +++ b/lld/test/mach-o/got-order.yaml @@ -1,6 +1,6 @@ # RUN: ld64.lld -arch x86_64 %s %p/Inputs/got-order.yaml \ # RUN: %p/Inputs/got-order2.yaml -o %t %p/Inputs/x86_64/libSystem.yaml -# RUN: llvm-objdump -bind %t | FileCheck %s +# RUN: llvm-objdump -macho -bind %t | FileCheck %s # # Test that GOT slots are sorted by name # diff --git a/lld/test/mach-o/lazy-bind-x86_64.yaml b/lld/test/mach-o/lazy-bind-x86_64.yaml index 37b8c31a955..de97565d546 100644 --- a/lld/test/mach-o/lazy-bind-x86_64.yaml +++ b/lld/test/mach-o/lazy-bind-x86_64.yaml @@ -4,7 +4,7 @@ # RUN: %p/Inputs/lazy-bind-x86_64.yaml %p/Inputs/lazy-bind-x86_64-2.yaml \ # RUN: %p/Inputs/lazy-bind-x86_64-3.yaml -o %t \ # RUN: %p/Inputs/x86_64/libSystem.yaml -# RUN: llvm-objdump -lazy-bind %t | FileCheck %s +# RUN: llvm-objdump -macho -lazy-bind %t | FileCheck %s # RUN: llvm-nm -m %t | FileCheck --check-prefix=CHECK-NM %s # RUN: llvm-objdump -disassemble %t | FileCheck --check-prefix=CHECK-HELPERS %s # RUN: llvm-objdump -private-headers %t | FileCheck --check-prefix=CHECK-DYLIBS %s |

