[MachO] Add -macho to llvm-objdump commands

llvm-svn: 358473
This commit is contained in:
Fangrui Song 2019-04-16 03:51:53 +00:00
parent 051a699ed6
commit f10065b68b
4 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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.
#

View File

@ -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
#

View File

@ -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