[lld] r358473 - [MachO] Add -macho to llvm-objdump commands

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 20:51:53 PDT 2019


Author: maskray
Date: Mon Apr 15 20:51:53 2019
New Revision: 358473

URL: http://llvm.org/viewvc/llvm-project?rev=358473&view=rev
Log:
[MachO] Add -macho to llvm-objdump commands

Modified:
    lld/trunk/test/mach-o/executable-exports.yaml
    lld/trunk/test/mach-o/export-trie-order.yaml
    lld/trunk/test/mach-o/got-order.yaml
    lld/trunk/test/mach-o/lazy-bind-x86_64.yaml

Modified: lld/trunk/test/mach-o/executable-exports.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/executable-exports.yaml?rev=358473&r1=358472&r2=358473&view=diff
==============================================================================
--- lld/trunk/test/mach-o/executable-exports.yaml (original)
+++ lld/trunk/test/mach-o/executable-exports.yaml Mon Apr 15 20:51:53 2019
@@ -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.

Modified: lld/trunk/test/mach-o/export-trie-order.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/export-trie-order.yaml?rev=358473&r1=358472&r2=358473&view=diff
==============================================================================
--- lld/trunk/test/mach-o/export-trie-order.yaml (original)
+++ lld/trunk/test/mach-o/export-trie-order.yaml Mon Apr 15 20:51:53 2019
@@ -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.
 #

Modified: lld/trunk/test/mach-o/got-order.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/got-order.yaml?rev=358473&r1=358472&r2=358473&view=diff
==============================================================================
--- lld/trunk/test/mach-o/got-order.yaml (original)
+++ lld/trunk/test/mach-o/got-order.yaml Mon Apr 15 20:51:53 2019
@@ -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
 #

Modified: lld/trunk/test/mach-o/lazy-bind-x86_64.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/lazy-bind-x86_64.yaml?rev=358473&r1=358472&r2=358473&view=diff
==============================================================================
--- lld/trunk/test/mach-o/lazy-bind-x86_64.yaml (original)
+++ lld/trunk/test/mach-o/lazy-bind-x86_64.yaml Mon Apr 15 20:51:53 2019
@@ -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




More information about the llvm-commits mailing list