[lld] r325390 - Replace -flavor {gnu, darwin} with ld64.lld or ld.lld.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 13:44:11 PST 2018


On Fri, Feb 16, 2018 at 1:16 PM, Rui Ueyama via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: ruiu
> Date: Fri Feb 16 13:16:57 2018
> New Revision: 325390
>
> URL: http://llvm.org/viewvc/llvm-project?rev=325390&view=rev
> Log:
> Replace -flavor {gnu,darwin} with ld64.lld or ld.lld.
>
> Modified:
>     lld/trunk/test/ELF/lto/timepasses.ll
>     lld/trunk/test/darwin/cmdline-objc_gc.objtxt
>     lld/trunk/test/darwin/cmdline-objc_gc_compaction.objtxt
>     lld/trunk/test/darwin/cmdline-objc_gc_only.objtxt
>     lld/trunk/test/darwin/native-and-mach-o.objtxt
>     lld/trunk/test/mach-o/Inputs/swift-version-1.yaml
>     lld/trunk/test/mach-o/Inputs/wrong-arch-error.yaml
>     lld/trunk/test/mach-o/PIE.yaml
>     lld/trunk/test/mach-o/align_text.yaml
>     lld/trunk/test/mach-o/arm-interworking-movw.yaml
>     lld/trunk/test/mach-o/arm-interworking.yaml
>     lld/trunk/test/mach-o/arm-shims.yaml
>     lld/trunk/test/mach-o/arm-subsections-via-symbols.yaml
>     lld/trunk/test/mach-o/arm64-reloc-negDelta32-fixup.yaml
>     lld/trunk/test/mach-o/arm64-relocs-errors-delta64-offset.yaml
>     lld/trunk/test/mach-o/arm64-section-order.yaml
>     lld/trunk/test/mach-o/bind-opcodes.yaml
>     lld/trunk/test/mach-o/cstring-sections.yaml
>     lld/trunk/test/mach-o/data-in-code-load-command.yaml
>     lld/trunk/test/mach-o/data-only-dylib.yaml
>     lld/trunk/test/mach-o/dead-strip-globals.yaml
>     lld/trunk/test/mach-o/debug-syms.yaml
>     lld/trunk/test/mach-o/demangle.yaml
>     lld/trunk/test/mach-o/dependency_info.yaml
>     lld/trunk/test/mach-o/do-not-emit-unwind-fde-arm64.yaml
>     lld/trunk/test/mach-o/dso_handle.yaml
>     lld/trunk/test/mach-o/dylib-install-names.yaml
>     lld/trunk/test/mach-o/eh-frame-relocs-arm64.yaml
>     lld/trunk/test/mach-o/error-simulator-vs-macosx.yaml
>     lld/trunk/test/mach-o/exe-offsets.yaml
>     lld/trunk/test/mach-o/exe-segment-overlap.yaml
>     lld/trunk/test/mach-o/executable-exports.yaml
>     lld/trunk/test/mach-o/export-trie-order.yaml
>     lld/trunk/test/mach-o/exported_symbols_list-dylib.yaml
>     lld/trunk/test/mach-o/exported_symbols_list-obj.yaml
>     lld/trunk/test/mach-o/exported_symbols_list-undef.yaml
>     lld/trunk/test/mach-o/fat-archive.yaml
>     lld/trunk/test/mach-o/filelist.yaml
>     lld/trunk/test/mach-o/flat_namespace_undef_error.yaml
>     lld/trunk/test/mach-o/flat_namespace_undef_suppress.yaml
>     lld/trunk/test/mach-o/force_load-dylib.yaml
>     lld/trunk/test/mach-o/force_load-x86_64.yaml
>     lld/trunk/test/mach-o/framework-user-paths.yaml
>     lld/trunk/test/mach-o/function-starts-load-command.yaml
>     lld/trunk/test/mach-o/gcc_except_tab-got-arm64.yaml
>     lld/trunk/test/mach-o/got-order.yaml
>     lld/trunk/test/mach-o/hello-world-arm64.yaml
>     lld/trunk/test/mach-o/hello-world-armv6.yaml
>     lld/trunk/test/mach-o/hello-world-armv7.yaml
>     lld/trunk/test/mach-o/hello-world-x86.yaml
>     lld/trunk/test/mach-o/hello-world-x86_64.yaml
>     lld/trunk/test/mach-o/image-base.yaml
>     lld/trunk/test/mach-o/infer-arch.yaml
>     lld/trunk/test/mach-o/interposing-section.yaml
>     lld/trunk/test/mach-o/keep_private_externs.yaml
>     lld/trunk/test/mach-o/lazy-bind-x86_64.yaml
>     lld/trunk/test/mach-o/lc_segment_filesize.yaml
>     lld/trunk/test/mach-o/lib-search-paths.yaml
>     lld/trunk/test/mach-o/library-order.yaml
>     lld/trunk/test/mach-o/library-rescan.yaml
>     lld/trunk/test/mach-o/libresolve-bizarre-root-override.yaml
>     lld/trunk/test/mach-o/libresolve-multiple-syslibroots.yaml
>     lld/trunk/test/mach-o/libresolve-one-syslibroot.yaml
>     lld/trunk/test/mach-o/libresolve-simple.yaml
>     lld/trunk/test/mach-o/libresolve-user-paths.yaml
>     lld/trunk/test/mach-o/libresolve-z.yaml
>     lld/trunk/test/mach-o/mach_header-cpusubtype.yaml
>     lld/trunk/test/mach-o/mh_bundle_header.yaml
>     lld/trunk/test/mach-o/mh_dylib_header.yaml
>     lld/trunk/test/mach-o/objc-category-list-atom.yaml
>     lld/trunk/test/mach-o/objc-image-info-host-vs-simulator.yaml
>     lld/trunk/test/mach-o/objc-image-info-invalid-size.yaml
>     lld/trunk/test/mach-o/objc-image-info-invalid-version.yaml
>     lld/trunk/test/mach-o/objc-image-info-mismatched-swift-version.yaml
>     lld/trunk/test/mach-o/objc-image-info-pass-output.yaml
>     lld/trunk/test/mach-o/objc-image-info-simulator-vs-host.yaml
>     lld/trunk/test/mach-o/objc-image-info-unsupported-gc.yaml
>     lld/trunk/test/mach-o/objc_export_list.yaml
>     lld/trunk/test/mach-o/order_file-basic.yaml
>     lld/trunk/test/mach-o/parse-aliases.yaml
>     lld/trunk/test/mach-o/parse-arm-relocs.yaml
>     lld/trunk/test/mach-o/parse-cfstring32.yaml
>     lld/trunk/test/mach-o/parse-cfstring64.yaml
>     lld/trunk/test/mach-o/parse-compact-unwind32.yaml
>     lld/trunk/test/mach-o/parse-compact-unwind64.yaml
>     lld/trunk/test/mach-o/parse-data-in-code-armv7.yaml
>     lld/trunk/test/mach-o/parse-data-in-code-x86.yaml
>     lld/trunk/test/mach-o/parse-data-relocs-arm64.yaml
>     lld/trunk/test/mach-o/parse-data-relocs-x86_64.yaml
>     lld/trunk/test/mach-o/parse-data.yaml
>     lld/trunk/test/mach-o/parse-eh-frame-relocs-x86_64.yaml
>     lld/trunk/test/mach-o/parse-eh-frame-x86-anon.yaml
>     lld/trunk/test/mach-o/parse-eh-frame-x86-labeled.yaml
>     lld/trunk/test/mach-o/parse-eh-frame.yaml
>     lld/trunk/test/mach-o/parse-function.yaml
>     lld/trunk/test/mach-o/parse-initializers32.yaml
>     lld/trunk/test/mach-o/parse-initializers64.yaml
>     lld/trunk/test/mach-o/parse-literals-error.yaml
>     lld/trunk/test/mach-o/parse-literals.yaml
>     lld/trunk/test/mach-o/parse-non-lazy-pointers.yaml
>     lld/trunk/test/mach-o/parse-relocs-x86.yaml
>     lld/trunk/test/mach-o/parse-section-no-symbol.yaml
>     lld/trunk/test/mach-o/parse-tentative-defs.yaml
>     lld/trunk/test/mach-o/parse-text-relocs-arm64.yaml
>     lld/trunk/test/mach-o/parse-text-relocs-x86_64.yaml
>     lld/trunk/test/mach-o/parse-tlv-relocs-x86-64.yaml
>     lld/trunk/test/mach-o/re-exported-dylib-ordinal.yaml
>     lld/trunk/test/mach-o/rpath.yaml
>     lld/trunk/test/mach-o/run-tlv-pass-x86-64.yaml
>     lld/trunk/test/mach-o/sdk-version-error.yaml
>     lld/trunk/test/mach-o/sectalign.yaml
>     lld/trunk/test/mach-o/sectattrs.yaml
>     lld/trunk/test/mach-o/sectcreate.yaml
>     lld/trunk/test/mach-o/seg-protection-arm64.yaml
>     lld/trunk/test/mach-o/seg-protection-x86_64.yaml
>     lld/trunk/test/mach-o/source-version.yaml
>     lld/trunk/test/mach-o/stack-size.yaml
>     lld/trunk/test/mach-o/string-table.yaml
>     lld/trunk/test/mach-o/subsections-via-symbols-default.yaml
>     lld/trunk/test/mach-o/twolevel_namespace_undef_dynamic_lookup.yaml
>     lld/trunk/test/mach-o/twolevel_namespace_undef_warning_suppress.yaml
>     lld/trunk/test/mach-o/unwind-info-simple-arm64.yaml
>     lld/trunk/test/mach-o/unwind-info-simple-x86_64.yaml
>     lld/trunk/test/mach-o/upward-dylib-load-command.yaml
>     lld/trunk/test/mach-o/upward-dylib-paths.yaml
>     lld/trunk/test/mach-o/usage.yaml
>     lld/trunk/test/mach-o/use-dylib.yaml
>     lld/trunk/test/mach-o/use-simple-dylib.yaml
>     lld/trunk/test/mach-o/version-min-load-command-object.yaml
>     lld/trunk/test/mach-o/version-min-load-command.yaml
>     lld/trunk/test/mach-o/write-final-sections.yaml
>     lld/trunk/test/mach-o/wrong-arch-error.yaml
>
> Modified: lld/trunk/test/ELF/lto/timepasses.ll
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/
> lto/timepasses.ll?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/ELF/lto/timepasses.ll (original)
> +++ lld/trunk/test/ELF/lto/timepasses.ll Fri Feb 16 13:16:57 2018
> @@ -1,8 +1,8 @@
> -; We use lld -flavor gnu because llvm-lit will append --full-shutdown to
> +; We use ld.lld because llvm-lit will append --full-shutdown to
>  ; the ld.lld invocation.


Looks like the use of -flavor gnu was deliberate in this test case.

Peter

 ; REQUIRES: x86
>  ; RUN: llvm-as %s -o %t.o
> -; RUN: lld -flavor gnu %t.o -o %t.so -shared -mllvm -time-passes 2>&1 |
> FileCheck %s
> +; RUN: ld.lld %t.o -o %t.so -shared -mllvm -time-passes 2>&1 | FileCheck
> %s
>
>  target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
>  target triple = "x86_64-unknown-linux-gnu"
>
> Modified: lld/trunk/test/darwin/cmdline-objc_gc.objtxt
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/darwin/
> cmdline-objc_gc.objtxt?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/darwin/cmdline-objc_gc.objtxt (original)
> +++ lld/trunk/test/darwin/cmdline-objc_gc.objtxt Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -objc_gc %s 2>&1 | FileCheck %s
> +# RUN: not ld64.lld -arch x86_64 -objc_gc %s 2>&1 | FileCheck %s
>  #
>  # Test that the -objc_gc is rejected.
>  #
>
> Modified: lld/trunk/test/darwin/cmdline-objc_gc_compaction.objtxt
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/darwin/
> cmdline-objc_gc_compaction.objtxt?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/darwin/cmdline-objc_gc_compaction.objtxt (original)
> +++ lld/trunk/test/darwin/cmdline-objc_gc_compaction.objtxt Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -objc_gc_compaction %s 2>&1 |
> FileCheck %s
> +# RUN: not ld64.lld -arch x86_64 -objc_gc_compaction %s 2>&1 | FileCheck
> %s
>  #
>  # Test that the -objc_gc_compaction is rejected.
>  #
>
> Modified: lld/trunk/test/darwin/cmdline-objc_gc_only.objtxt
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/darwin/
> cmdline-objc_gc_only.objtxt?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/darwin/cmdline-objc_gc_only.objtxt (original)
> +++ lld/trunk/test/darwin/cmdline-objc_gc_only.objtxt Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -objc_gc_only %s 2>&1 |
> FileCheck %s
> +# RUN: not ld64.lld -arch x86_64 -objc_gc_only %s 2>&1 | FileCheck %s
>  #
>  # Test that the -objc_gc_only is rejected.
>  #
>
> Modified: lld/trunk/test/darwin/native-and-mach-o.objtxt
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/darwin/
> native-and-mach-o.objtxt?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/darwin/native-and-mach-o.objtxt (original)
> +++ lld/trunk/test/darwin/native-and-mach-o.objtxt Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s \
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s \
>  # RUN: %p/Inputs/native-and-mach-o.objtxt  \
>  # RUN: %p/Inputs/native-and-mach-o2.objtxt -o %t  && \
>  # RUN: llvm-nm %t | FileCheck %s
>
> Modified: lld/trunk/test/mach-o/Inputs/swift-version-1.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> Inputs/swift-version-1.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/Inputs/swift-version-1.yaml (original)
> +++ lld/trunk/test/mach-o/Inputs/swift-version-1.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -r %s
> %p/Inputs/hello-world-x86_64.yaml 2>&1 | FileCheck %s
> +# RUN: not ld64.lld -arch x86_64 -r %s %p/Inputs/hello-world-x86_64.yaml
> 2>&1 | FileCheck %s
>
>  --- !mach-o
>  arch:            x86_64
>
> Modified: lld/trunk/test/mach-o/Inputs/wrong-arch-error.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> Inputs/wrong-arch-error.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/Inputs/wrong-arch-error.yaml (original)
> +++ lld/trunk/test/mach-o/Inputs/wrong-arch-error.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -r %s 2> %t.err
> +# RUN: not ld64.lld -arch x86_64 -r %s 2> %t.err
>  # RUN: FileCheck %s < %t.err
>
>  --- !mach-o
>
> Modified: lld/trunk/test/mach-o/PIE.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> PIE.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/PIE.yaml (original)
> +++ lld/trunk/test/mach-o/PIE.yaml Fri Feb 16 13:16:57 2018
> @@ -1,12 +1,12 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s \
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s \
>  # RUN: %p/Inputs/PIE.yaml -o %t  && \
>  # RUN: llvm-objdump -macho -private-headers %t | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s \
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s \
>  # RUN: %p/Inputs/PIE.yaml -pie -o %t\
>  # RUN:  &&  llvm-objdump -macho -private-headers %t | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s \
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s \
>  # RUN: %p/Inputs/PIE.yaml -no_pie -o %t\
>  # RUN:  &&  llvm-objdump -macho -private-headers %t \
>  # RUN:  | FileCheck --check-prefix=CHECK_NO_PIE %s
>
> Modified: lld/trunk/test/mach-o/align_text.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> align_text.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/align_text.yaml (original)
> +++ lld/trunk/test/mach-o/align_text.yaml Fri Feb 16 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r %s -o %t -print_atoms |
> FileCheck %s
> -# RUN: lld -flavor darwin -arch x86_64 -r %t -o %t2 -print_atoms |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r %s -o %t -print_atoms | FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r %t -o %t2 -print_atoms | FileCheck %s
>  #
>  # Test that alignment info round trips through -r
>  #
>
> Modified: lld/trunk/test/mach-o/arm-interworking-movw.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> arm-interworking-movw.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/arm-interworking-movw.yaml (original)
> +++ lld/trunk/test/mach-o/arm-interworking-movw.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,6 +1,6 @@
>  # REQUIRES: arm
> -# RUN: lld -flavor darwin -arch armv7 -r -print_atoms %s -o %t  |
> FileCheck %s
> -# RUN: lld -flavor darwin -arch armv7 -dylib -print_atoms %t -o %t2 \
> +# RUN: ld64.lld -arch armv7 -r -print_atoms %s -o %t  | FileCheck %s
> +# RUN: ld64.lld -arch armv7 -dylib -print_atoms %t -o %t2 \
>  # RUN:     %p/Inputs/armv7/libSystem.yaml -sectalign __TEXT __text
> 0x1000  | FileCheck %s
>  # RUN: llvm-objdump -d -macho -no-symbolic-operands %t2 | FileCheck
> -check-prefix=CODE %s
>  #
>
> Modified: lld/trunk/test/mach-o/arm-interworking.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> arm-interworking.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/arm-interworking.yaml (original)
> +++ lld/trunk/test/mach-o/arm-interworking.yaml Fri Feb 16 13:16:57 2018
> @@ -1,6 +1,6 @@
> -# RUN: lld -flavor darwin -arch armv7 -r -print_atoms %s \
> +# RUN: ld64.lld -arch armv7 -r -print_atoms %s \
>  # RUN: %p/Inputs/arm-interworking.yaml -o %t  | FileCheck %s \
> -# RUN: && lld -flavor darwin -arch armv7 -dylib -print_atoms \
> +# RUN: && ld64.lld -arch armv7 -dylib -print_atoms \
>  # RUN:         %p/Inputs/armv7/libSystem.yaml %t -o %t2  | FileCheck %s \
>  # RUN: && llvm-readobj -s -sd %t2 | FileCheck -check-prefix=CODE %s
>  #
>
> Modified: lld/trunk/test/mach-o/arm-shims.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> arm-shims.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/arm-shims.yaml (original)
> +++ lld/trunk/test/mach-o/arm-shims.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch armv7 %s %p/Inputs/arm-shims.yaml \
> +# RUN: ld64.lld -arch armv7 %s %p/Inputs/arm-shims.yaml \
>  # RUN: -dylib %p/Inputs/armv7/libSystem.yaml -o %t
>  # RUN: llvm-readobj -s -sd %t | FileCheck %s
>  #
>
> Modified: lld/trunk/test/mach-o/arm-subsections-via-symbols.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> arm-subsections-via-symbols.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/arm-subsections-via-symbols.yaml (original)
> +++ lld/trunk/test/mach-o/arm-subsections-via-symbols.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch armv7 %s -r -print_atoms -o %t |
> FileCheck %s
> +# RUN: ld64.lld -arch armv7 %s -r -print_atoms -o %t | FileCheck %s
>  #
>  # Test that assembly written without .subsections_via_symbols is parsed so
>  # that atoms are non-dead-strip and there is a layout-after references
>
> Modified: lld/trunk/test/mach-o/arm64-reloc-negDelta32-fixup.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> arm64-reloc-negDelta32-fixup.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/arm64-reloc-negDelta32-fixup.yaml (original)
> +++ lld/trunk/test/mach-o/arm64-reloc-negDelta32-fixup.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch arm64 -r %s -o %t
> -# RUN: lld -flavor darwin -arch arm64 -r %t -o %t2
> +# RUN: ld64.lld -arch arm64 -r %s -o %t
> +# RUN: ld64.lld -arch arm64 -r %t -o %t2
>  # RUN: llvm-objdump -s -section="__eh_frame" %t | FileCheck %s
>  # RUN: llvm-objdump -s -section="__eh_frame" %t2 | FileCheck %s
>
>
> Modified: lld/trunk/test/mach-o/arm64-relocs-errors-delta64-offset.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> arm64-relocs-errors-delta64-offset.yaml?rev=325390&r1=
> 325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/arm64-relocs-errors-delta64-offset.yaml
> (original)
> +++ lld/trunk/test/mach-o/arm64-relocs-errors-delta64-offset.yaml Fri Feb
> 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch arm64 %s -r \
> +# RUN: not ld64.lld -arch arm64 %s -r \
>  # RUN: 2> %t.err
>  # RUN: FileCheck %s < %t.err
>
>
> Modified: lld/trunk/test/mach-o/arm64-section-order.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> arm64-section-order.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/arm64-section-order.yaml (original)
> +++ lld/trunk/test/mach-o/arm64-section-order.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch arm64 -r -print_atoms %s -o %t
> -# RUN: lld -flavor darwin -arch arm64 -r -print_atoms %t -o %t2
> +# RUN: ld64.lld -arch arm64 -r -print_atoms %s -o %t
> +# RUN: ld64.lld -arch arm64 -r -print_atoms %t -o %t2
>  # RUN: llvm-objdump -section-headers %t | FileCheck %s
>  # RUN: llvm-objdump -section-headers %t2 | FileCheck %s
>
>
> Modified: lld/trunk/test/mach-o/bind-opcodes.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> bind-opcodes.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/bind-opcodes.yaml (original)
> +++ lld/trunk/test/mach-o/bind-opcodes.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch arm64 %s %p/Inputs/hello-world-arm64.yaml
> -o %t
> +# RUN: ld64.lld -arch arm64 %s %p/Inputs/hello-world-arm64.yaml -o %t
>  # RUN: obj2yaml %t | FileCheck %s
>  #
>
>
> Modified: lld/trunk/test/mach-o/cstring-sections.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> cstring-sections.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/cstring-sections.yaml (original)
> +++ lld/trunk/test/mach-o/cstring-sections.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r  %s -o %t -print_atoms |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r  %s -o %t -print_atoms | FileCheck %s
>  #
>  # Test -keep_private_externs in -r mode.
>  #
>
> Modified: lld/trunk/test/mach-o/data-in-code-load-command.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> data-in-code-load-command.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/data-in-code-load-command.yaml (original)
> +++ lld/trunk/test/mach-o/data-in-code-load-command.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,11 +1,11 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml && llvm-objdump -private-headers
> %t | FileCheck %s
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -static -data_in_code_info &&
> llvm-objdump -private-headers %t | FileCheck %s
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -no_data_in_code_info &&
> llvm-objdump -private-headers %t | FileCheck %s --check-prefix=NO_DATA_IN_
> CODE_INFO
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -static -data_in_code_info
> -no_data_in_code_info && llvm-objdump -private-headers %t | FileCheck %s
> --check-prefix=NO_DATA_IN_CODE_INFO
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -static && llvm-objdump
> -private-headers %t | FileCheck %s --check-prefix=NO_DATA_IN_CODE_INFO
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -r && llvm-objdump
> -private-headers %t | FileCheck %s
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -r -data_in_code_info &&
> llvm-objdump -private-headers %t | FileCheck %s
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -r -no_data_in_code_info &&
> llvm-objdump -private-headers %t | FileCheck %s --check-prefix=NO_DATA_IN_
> CODE_INFO
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml && llvm-objdump -private-headers %t |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -static -data_in_code_info &&
> llvm-objdump -private-headers %t | FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -no_data_in_code_info && llvm-objdump
> -private-headers %t | FileCheck %s --check-prefix=NO_DATA_IN_CODE_INFO
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -static -data_in_code_info
> -no_data_in_code_info && llvm-objdump -private-headers %t | FileCheck %s
> --check-prefix=NO_DATA_IN_CODE_INFO
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -static && llvm-objdump -private-headers
> %t | FileCheck %s --check-prefix=NO_DATA_IN_CODE_INFO
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -r && llvm-objdump -private-headers %t |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -r -data_in_code_info && llvm-objdump
> -private-headers %t | FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -r -no_data_in_code_info && llvm-objdump
> -private-headers %t | FileCheck %s --check-prefix=NO_DATA_IN_CODE_INFO
>
>  --- !mach-o
>  arch:            x86_64
>
> Modified: lld/trunk/test/mach-o/data-only-dylib.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> data-only-dylib.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/data-only-dylib.yaml (original)
> +++ lld/trunk/test/mach-o/data-only-dylib.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -dylib %s -o %t
> %p/Inputs/x86_64/libSystem.yaml
> +# RUN: ld64.lld -arch x86_64 -dylib %s -o %t %p/Inputs/x86_64/libSystem.
> yaml
>  # RUN: llvm-nm %t | FileCheck %s
>  #
>  # Test that a data-only dylib can be built.
>
> Modified: lld/trunk/test/mach-o/dead-strip-globals.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> dead-strip-globals.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/dead-strip-globals.yaml (original)
> +++ lld/trunk/test/mach-o/dead-strip-globals.yaml Fri Feb 16 13:16:57 2018
> @@ -1,8 +1,8 @@
> -# RUN: lld -flavor darwin -arch x86_64 -dead_strip -export_dynamic %s
> -dylib %p/Inputs/x86_64/libSystem.yaml -o %t.dylib -print_atoms |
> FileCheck -check-prefix=CHECK1 %s
> -# RUN: lld -flavor darwin -arch x86_64 -export_dynamic -dead_strip %s
> -dylib %p/Inputs/x86_64/libSystem.yaml -o %t.dylib -print_atoms |
> FileCheck -check-prefix=CHECK1 %s
> -# RUN: lld -flavor darwin -arch x86_64 -dead_strip %s -dylib
> %p/Inputs/x86_64/libSystem.yaml -o %t2.dylib -print_atoms | FileCheck
> -check-prefix=CHECK2 %s
> +# RUN: ld64.lld -arch x86_64 -dead_strip -export_dynamic %s -dylib
> %p/Inputs/x86_64/libSystem.yaml -o %t.dylib -print_atoms | FileCheck
> -check-prefix=CHECK1 %s
> +# RUN: ld64.lld -arch x86_64 -export_dynamic -dead_strip %s -dylib
> %p/Inputs/x86_64/libSystem.yaml -o %t.dylib -print_atoms | FileCheck
> -check-prefix=CHECK1 %s
> +# RUN: ld64.lld -arch x86_64 -dead_strip %s -dylib
> %p/Inputs/x86_64/libSystem.yaml -o %t2.dylib -print_atoms | FileCheck
> -check-prefix=CHECK2 %s
>
> -# RUN: lld -flavor darwin -arch x86_64 -r %s -dylib
> %p/Inputs/x86_64/libSystem.yaml -o %t3.o
> +# RUN: ld64.lld -arch x86_64 -r %s -dylib %p/Inputs/x86_64/libSystem.yaml
> -o %t3.o
>  # RUN: llvm-nm -m %t3.o | FileCheck -check-prefix=RELOCATABLE_SYMBOLS %s
>
>  #
>
> Modified: lld/trunk/test/mach-o/debug-syms.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> debug-syms.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/debug-syms.yaml (original)
> +++ lld/trunk/test/mach-o/debug-syms.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -o %t %s -dylib
> %p/Inputs/x86_64/libSystem.yaml && \
> +# RUN: ld64.lld -arch x86_64 -o %t %s -dylib %p/Inputs/x86_64/libSystem.yaml
> && \
>  # RUN:   llvm-nm -no-sort -debug-syms %t | FileCheck %s
>
>  # CHECK:      0000000000000000 - 00 0000    SO /Users/lhames/Projects/lld/
> lld-svn-tot/scratch/
>
> Modified: lld/trunk/test/mach-o/demangle.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> demangle.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/demangle.yaml (original)
> +++ lld/trunk/test/mach-o/demangle.yaml Fri Feb 16 13:16:57 2018
> @@ -1,10 +1,10 @@
>  # REQUIRES: system-linker-mach-o
>  #
> -# RUN: not lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s  \
> +# RUN: not ld64.lld -arch x86_64 -macosx_version_min 10.8 %s  \
>  # RUN:     -dylib -o %t %p/Inputs/x86_64/libSystem.yaml  2> %t.err
>  # RUN: FileCheck %s < %t.err
>  #
> -# RUN: not lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s \
> +# RUN: not ld64.lld -arch x86_64 -macosx_version_min 10.8 %s \
>  # RUN:     -dylib -o %t %p/Inputs/x86_64/libSystem.yaml -demangle 2>
> %t.err2
>  # RUN: FileCheck %s --check-prefix=DCHECK < %t.err2
>  #
>
> Modified: lld/trunk/test/mach-o/dependency_info.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> dependency_info.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/dependency_info.yaml (original)
> +++ lld/trunk/test/mach-o/dependency_info.yaml Fri Feb 16 13:16:57 2018
> @@ -1,6 +1,6 @@
>  # Test -dependency_info option
>  #
> -# RUN: lld -flavor darwin -arch x86_64 -test_file_usage  \
> +# RUN: ld64.lld -arch x86_64 -test_file_usage  \
>  # RUN:        -dependency_info %t.info \
>  # RUN:        -path_exists /System/Library/Frameworks \
>  # RUN:        -path_exists /System/Library/Frameworks/Foo.framework/Foo \
>
> Modified: lld/trunk/test/mach-o/do-not-emit-unwind-fde-arm64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> do-not-emit-unwind-fde-arm64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/do-not-emit-unwind-fde-arm64.yaml (original)
> +++ lld/trunk/test/mach-o/do-not-emit-unwind-fde-arm64.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch arm64 -r -print_atoms %s -o %t |
> FileCheck %s
> -# RUN: lld -flavor darwin -arch arm64 -r -print_atoms %t -o %t2 |
> FileCheck %s
> +# RUN: ld64.lld -arch arm64 -r -print_atoms %s -o %t | FileCheck %s
> +# RUN: ld64.lld -arch arm64 -r -print_atoms %t -o %t2 | FileCheck %s
>  # RUN: llvm-objdump -r -s -section="__eh_frame" -macho %t | FileCheck
> -check-prefix=CODE %s
>  # RUN: llvm-objdump -r -s -section="__eh_frame" -macho %t2 | FileCheck
> -check-prefix=CODE %s
>
>
> Modified: lld/trunk/test/mach-o/dso_handle.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> dso_handle.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/dso_handle.yaml (original)
> +++ lld/trunk/test/mach-o/dso_handle.yaml Fri Feb 16 13:16:57 2018
> @@ -1,13 +1,13 @@
> -# RUN: lld -flavor darwin -arch x86_64  %s  %p/Inputs/x86_64/libSystem.yaml
> -o %t1
> +# RUN: ld64.lld -arch x86_64  %s  %p/Inputs/x86_64/libSystem.yaml -o %t1
>  # RUN: llvm-nm -m -n %t1 | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -arch x86_64  %s %p/Inputs/x86_64/libSystem.yaml
> -dead_strip -o %t2
> +# RUN: ld64.lld -arch x86_64  %s %p/Inputs/x86_64/libSystem.yaml
> -dead_strip -o %t2
>  # RUN: llvm-nm -m -n %t2 | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -arch x86_64  %s %p/Inputs/x86_64/libSystem.yaml
> -dylib -o %t3
> +# RUN: ld64.lld -arch x86_64  %s %p/Inputs/x86_64/libSystem.yaml -dylib
> -o %t3
>  # RUN: llvm-nm -m -n %t3 | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -arch x86_64  %s %p/Inputs/x86_64/libSystem.yaml
> -bundle -o %t4
> +# RUN: ld64.lld -arch x86_64  %s %p/Inputs/x86_64/libSystem.yaml -bundle
> -o %t4
>  # RUN: llvm-nm -m -n %t4 | FileCheck %s
>  #
>  # Test that ___dso_handle symbol is available for executables, bundles,
> and dylibs
>
> Modified: lld/trunk/test/mach-o/dylib-install-names.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> dylib-install-names.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/dylib-install-names.yaml (original)
> +++ lld/trunk/test/mach-o/dylib-install-names.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,23 +1,23 @@
>  # Check we accept -install_name correctly:
> -# RUN: lld -flavor darwin -arch x86_64 -install_name libwibble.dylib
> -dylib \
> +# RUN: ld64.lld -arch x86_64 -install_name libwibble.dylib -dylib \
>  # RUN:     -compatibility_version 2.0 -current_version 5.3 \
>  # RUN:     %p/Inputs/x86_64/libSystem.yaml %s -o %t.dylib
>  # RUN: llvm-objdump -private-headers %t.dylib | FileCheck %s
> --check-prefix=CHECK-BINARY-WRITE
>
>  # Check we read LC_ID_DYLIB correctly:
> -# RUN: lld -flavor darwin -arch x86_64 %p/Inputs/use-dylib-install-names.yaml
> \
> +# RUN: ld64.lld -arch x86_64 %p/Inputs/use-dylib-install-names.yaml \
>  # RUN:      %p/Inputs/x86_64/libSystem.yaml %t.dylib -dylib -o %t2.dylib
>  # RUN: llvm-objdump -private-headers %t2.dylib | FileCheck %s
> --check-prefix=CHECK-BINARY-READ
>
>  # Check we default the install-name to the output file:
> -# RUN: lld -flavor darwin -arch x86_64 -dylib %s -o libwibble.dylib \
> +# RUN: ld64.lld -arch x86_64 -dylib %s -o libwibble.dylib \
>  # RUN:     -compatibility_version 2.0 -current_version 5.3 \
>  # RUN:     %p/Inputs/x86_64/libSystem.yaml
>  # RUN: llvm-objdump -private-headers libwibble.dylib | FileCheck %s
> --check-prefix=CHECK-BINARY-WRITE
>  # RUN: rm -f libwibble.dylib
>
>  # Check -single_module does nothing
> -# RUN: lld -flavor darwin -arch x86_64 -dylib %s -install_name
> libwibble.dylib \
> +# RUN: ld64.lld -arch x86_64 -dylib %s -install_name libwibble.dylib \
>  # RUN:     -compatibility_version 2.0 -current_version 5.3 \
>  # RUN:     -single_module -o %t2.dylib %p/Inputs/x86_64/libSystem.yaml
>  # RUN: llvm-objdump -private-headers %t2.dylib | FileCheck %s
> --check-prefix=CHECK-BINARY-WRITE
>
> Modified: lld/trunk/test/mach-o/eh-frame-relocs-arm64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> eh-frame-relocs-arm64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/eh-frame-relocs-arm64.yaml (original)
> +++ lld/trunk/test/mach-o/eh-frame-relocs-arm64.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch arm64 -r -print_atoms %s -o %t |
> FileCheck %s
> -# RUN: lld -flavor darwin -arch arm64 -r -print_atoms %t -o %t2 |
> FileCheck %s
> +# RUN: ld64.lld -arch arm64 -r -print_atoms %s -o %t | FileCheck %s
> +# RUN: ld64.lld -arch arm64 -r -print_atoms %t -o %t2 | FileCheck %s
>  # RUN: llvm-objdump -r -s -section="__eh_frame" -macho %t | FileCheck
> -check-prefix=CODE %s
>  # RUN: llvm-objdump -r -s -section="__eh_frame" -macho %t2 | FileCheck
> -check-prefix=CODE %s
>
>
> Modified: lld/trunk/test/mach-o/error-simulator-vs-macosx.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> error-simulator-vs-macosx.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/error-simulator-vs-macosx.yaml (original)
> +++ lld/trunk/test/mach-o/error-simulator-vs-macosx.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch i386 -macosx_version_min 10.8 %s
> %p/Inputs/hello-world-x86.yaml -o %t && llvm-nm -m %t | FileCheck %s
> -# RUN: not lld -flavor darwin -arch i386 -ios_simulator_version_min 5.0
> %s %p/Inputs/hello-world-x86.yaml -o %t 2>&1 | FileCheck %s
> --check-prefix=ERROR
> +# RUN: ld64.lld -arch i386 -macosx_version_min 10.8 %s
> %p/Inputs/hello-world-x86.yaml -o %t && llvm-nm -m %t | FileCheck %s
> +# RUN: not ld64.lld -arch i386 -ios_simulator_version_min 5.0 %s
> %p/Inputs/hello-world-x86.yaml -o %t 2>&1 | FileCheck %s
> --check-prefix=ERROR
>  #
>  # Test that i386 can link with a macos version but gives an error with a
> simululator version.
>  #
>
> Modified: lld/trunk/test/mach-o/exe-offsets.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> exe-offsets.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/exe-offsets.yaml (original)
> +++ lld/trunk/test/mach-o/exe-offsets.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 %s -o %t -e start
> %p/Inputs/x86_64/libSystem.yaml
> +# RUN: ld64.lld -arch x86_64 %s -o %t -e start %p/Inputs/x86_64/libSystem.
> yaml
>  # RUN: llvm-readobj -sections %t | FileCheck %s
>
>  # Make sure data gets put at offset
>
> Modified: lld/trunk/test/mach-o/exe-segment-overlap.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> exe-segment-overlap.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/exe-segment-overlap.yaml (original)
> +++ lld/trunk/test/mach-o/exe-segment-overlap.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 %s -o %t
> %p/Inputs/x86_64/libSystem.yaml
> +# RUN: ld64.lld -arch x86_64 %s -o %t %p/Inputs/x86_64/libSystem.yaml
>  # RUN: llvm-readobj -sections -section-data %t | FileCheck %s
>
>  --- !native
>
> 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=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/executable-exports.yaml (original)
> +++ lld/trunk/test/mach-o/executable-exports.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 \
> +# 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
>  #
>
> 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=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/export-trie-order.yaml (original)
> +++ lld/trunk/test/mach-o/export-trie-order.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch i386 %s %p/Inputs/hello-world-x86.yaml -o
> %t
> +# RUN: ld64.lld -arch i386 %s %p/Inputs/hello-world-x86.yaml -o %t
>  # RUN: llvm-objdump -exports-trie %t | FileCheck %s
>  #
>  # Test that the export trie is emitted in order.
>
> Modified: lld/trunk/test/mach-o/exported_symbols_list-dylib.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> exported_symbols_list-dylib.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/exported_symbols_list-dylib.yaml (original)
> +++ lld/trunk/test/mach-o/exported_symbols_list-dylib.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,19 +1,19 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 -dylib \
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 -dylib \
>  # RUN:      %s %p/Inputs/x86_64/libSystem.yaml -o %t \
>  # RUN:      -exported_symbols_list %p/Inputs/exported_symbols_list.exp
> && \
>  # RUN: llvm-nm -m %t | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 -dylib \
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 -dylib \
>  # RUN:      %s %p/Inputs/x86_64/libSystem.yaml -o %t2 \
>  # RUN:      -exported_symbol _foo -exported_symbol _b  && \
>  # RUN: llvm-nm -m %t2 | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 -dylib \
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 -dylib \
>  # RUN:      %s %p/Inputs/x86_64/libSystem.yaml -o %t3 \
>  # RUN:      -unexported_symbol _bar -unexported_symbol _a  && \
>  # RUN: llvm-nm -m %t3 | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 -dylib \
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 -dylib \
>  # RUN:      %s %p/Inputs/x86_64/libSystem.yaml -dead_strip -o %t \
>  # RUN:      -exported_symbols_list %p/Inputs/exported_symbols_list.exp
> && \
>  # RUN: llvm-nm -m %t | FileCheck -check-prefix=CHECK_DEAD %s
>
> Modified: lld/trunk/test/mach-o/exported_symbols_list-obj.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> exported_symbols_list-obj.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/exported_symbols_list-obj.yaml (original)
> +++ lld/trunk/test/mach-o/exported_symbols_list-obj.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,11 +1,11 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r  %s -o %t -exported_symbol _bar
> \
> +# RUN: ld64.lld -arch x86_64 -r  %s -o %t -exported_symbol _bar \
>  # RUN:    && llvm-nm -m %t | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -arch x86_64 -r  %s -o %t2
> -keep_private_externs \
> +# RUN: ld64.lld -arch x86_64 -r  %s -o %t2 -keep_private_externs \
>  # RUN:      -exported_symbol _bar && \
>  # RUN: llvm-nm -m %t2 | FileCheck -check-prefix=CHECK_KPE %s
>  #
> -# RUN: not lld -flavor darwin -arch x86_64 -r  %s -o %t3  \
> +# RUN: not ld64.lld -arch x86_64 -r  %s -o %t3  \
>  # RUN:      -exported_symbol _foo 2> %t4
>
>  # Test -exported_symbols_list properly changes visibility in -r mode.
>
> Modified: lld/trunk/test/mach-o/exported_symbols_list-undef.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> exported_symbols_list-undef.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/exported_symbols_list-undef.yaml (original)
> +++ lld/trunk/test/mach-o/exported_symbols_list-undef.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -macosx_version_min 10.8
> -dylib \
> +# RUN: not ld64.lld -arch x86_64 -macosx_version_min 10.8 -dylib \
>  # RUN:      %s %p/Inputs/x86_64/libSystem.yaml -o %t -exported_symbol
> _foobar 2> %t2
>  #
>  # Test -exported_symbol fails if exported symbol not found.
>
> Modified: lld/trunk/test/mach-o/fat-archive.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> fat-archive.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/fat-archive.yaml (original)
> +++ lld/trunk/test/mach-o/fat-archive.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t \
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t \
>  # RUN:    -L %p/Inputs -lfoo %p/Inputs/x86_64/libSystem.yaml
>  # RUN: llvm-nm -m -n %t | FileCheck %s
>  #
>
> Modified: lld/trunk/test/mach-o/filelist.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> filelist.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/filelist.yaml (original)
> +++ lld/trunk/test/mach-o/filelist.yaml Fri Feb 16 13:16:57 2018
> @@ -1,11 +1,11 @@
> -# RUN: lld -flavor darwin -test_file_usage  \
> +# RUN: ld64.lld -test_file_usage  \
>  # RUN:    -filelist %p/Inputs/full.filelist \
>  # RUN:        -path_exists /foo/bar/a.o \
>  # RUN:        -path_exists /foo/bar/b.o \
>  # RUN:        -path_exists /foo/x.a \
>  # RUN: 2>&1 | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -test_file_usage -t \
> +# RUN: ld64.lld -test_file_usage -t \
>  # RUN:    -filelist %p/Inputs/partial.filelist,/foo \
>  # RUN:        -path_exists /foo/bar/a.o \
>  # RUN:        -path_exists /foo/bar/b.o \
>
> Modified: lld/trunk/test/mach-o/flat_namespace_undef_error.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> flat_namespace_undef_error.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/flat_namespace_undef_error.yaml (original)
> +++ lld/trunk/test/mach-o/flat_namespace_undef_error.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -macosx_version_min 10.9
> -flat_namespace -undefined error %s -o %t %p/Inputs/x86_64/libSystem.yaml
> 2>&1 | FileCheck %s
> +# RUN: not ld64.lld -arch x86_64 -macosx_version_min 10.9 -flat_namespace
> -undefined error %s -o %t %p/Inputs/x86_64/libSystem.yaml 2>&1 |
> FileCheck %s
>
>  --- !native
>  defined-atoms:
>
> Modified: lld/trunk/test/mach-o/flat_namespace_undef_suppress.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> flat_namespace_undef_suppress.yaml?rev=325390&r1=325389&r2=
> 325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/flat_namespace_undef_suppress.yaml (original)
> +++ lld/trunk/test/mach-o/flat_namespace_undef_suppress.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.9
> -flat_namespace -undefined suppress %s -o %t %p/Inputs/x86_64/libSystem.
> yaml
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.9 -flat_namespace
> -undefined suppress %s -o %t %p/Inputs/x86_64/libSystem.yaml
>  #
>  # Sanity check '-flat_namespace -undefined suppress'.
>  # This should pass without error, even though '_bar' is undefined.
>
> Modified: lld/trunk/test/mach-o/force_load-dylib.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> force_load-dylib.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/force_load-dylib.yaml (original)
> +++ lld/trunk/test/mach-o/force_load-dylib.yaml Fri Feb 16 13:16:57 2018
> @@ -1,6 +1,6 @@
> -# RUN: lld -flavor darwin -arch x86_64 -dylib %p/Inputs/bar.yaml \
> +# RUN: ld64.lld -arch x86_64 -dylib %p/Inputs/bar.yaml \
>  # RUN:     -install_name /usr/lib/libbar.dylib %p/Inputs/x86_64/libSystem.yaml
> -o %t1.dylib
> -# RUN: lld -flavor darwin -arch x86_64 -dylib %s -all_load %t1.dylib \
> +# RUN: ld64.lld -arch x86_64 -dylib %s -all_load %t1.dylib \
>  # RUN:      -install_name /usr/lib/libfoo.dylib
> %p/Inputs/x86_64/libSystem.yaml -o %t
>  # RUN: llvm-nm -m %t | FileCheck %s
>  #
>
> Modified: lld/trunk/test/mach-o/force_load-x86_64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> force_load-x86_64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/force_load-x86_64.yaml (original)
> +++ lld/trunk/test/mach-o/force_load-x86_64.yaml Fri Feb 16 13:16:57 2018
> @@ -1,8 +1,8 @@
> -# RUN: lld -flavor darwin -arch x86_64  %s %p/Inputs/x86_64/libSystem.yaml
> \
> +# RUN: ld64.lld -arch x86_64  %s %p/Inputs/x86_64/libSystem.yaml \
>  # RUN:      %p/Inputs/libfoo.a %p/Inputs/libbar.a -o %t1
>  # RUN: llvm-nm -m -n %t1 | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -arch x86_64  %s %p/Inputs/x86_64/libSystem.yaml
> \
> +# RUN: ld64.lld -arch x86_64  %s %p/Inputs/x86_64/libSystem.yaml \
>  # RUN:      -force_load %p/Inputs/libfoo.a %p/Inputs/libbar.a -o %t2
>  # RUN: llvm-nm -m -n %t2 | FileCheck --check-prefix=CHECKF %s
>  #
>
> Modified: lld/trunk/test/mach-o/framework-user-paths.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> framework-user-paths.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/framework-user-paths.yaml (original)
> +++ lld/trunk/test/mach-o/framework-user-paths.yaml Fri Feb 16 13:16:57
> 2018
> @@ -5,7 +5,7 @@
>  #   /opt/Frameworks should not be found in SDK
>  #   /System/Library/Frameworks is implicit and should be in SDK
>  #
> -# RUN: lld -flavor darwin -arch x86_64 -r -test_file_usage -v \
> +# RUN: ld64.lld -arch x86_64 -r -test_file_usage -v \
>  # RUN:        -path_exists myFrameworks \
>  # RUN:        -path_exists myFrameworks/my.framework/my \
>  # RUN:        -path_exists /opt/Frameworks \
>
> Modified: lld/trunk/test/mach-o/function-starts-load-command.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> function-starts-load-command.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/function-starts-load-command.yaml (original)
> +++ lld/trunk/test/mach-o/function-starts-load-command.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,8 +1,8 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml && llvm-objdump -private-headers
> %t | FileCheck %s
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -static -function_starts &&
> llvm-objdump -private-headers %t | FileCheck %s
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -no_function_starts &&
> llvm-objdump -private-headers %t | FileCheck %s --check-prefix=NO_FUNCTION_
> STARTS
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -static -function_starts
> -no_function_starts && llvm-objdump -private-headers %t | FileCheck %s
> --check-prefix=NO_FUNCTION_STARTS
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -static && llvm-objdump
> -private-headers %t | FileCheck %s --check-prefix=NO_FUNCTION_STARTS
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml && llvm-objdump -private-headers %t |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -static -function_starts && llvm-objdump
> -private-headers %t | FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -no_function_starts && llvm-objdump
> -private-headers %t | FileCheck %s --check-prefix=NO_FUNCTION_STARTS
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -static -function_starts
> -no_function_starts && llvm-objdump -private-headers %t | FileCheck %s
> --check-prefix=NO_FUNCTION_STARTS
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -static && llvm-objdump -private-headers
> %t | FileCheck %s --check-prefix=NO_FUNCTION_STARTS
>
>  --- !mach-o
>  arch:            x86_64
>
> Modified: lld/trunk/test/mach-o/gcc_except_tab-got-arm64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> gcc_except_tab-got-arm64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/gcc_except_tab-got-arm64.yaml (original)
> +++ lld/trunk/test/mach-o/gcc_except_tab-got-arm64.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch arm64 %s \
> +# RUN: ld64.lld -arch arm64 %s \
>  # RUN: -dylib %p/Inputs/arm64/libSystem.yaml -o %t
>  # RUN: llvm-objdump -section-headers %t | FileCheck %s
>
>
> 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=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/got-order.yaml (original)
> +++ lld/trunk/test/mach-o/got-order.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64  %s %p/Inputs/got-order.yaml \
> +# 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
>  #
>
> Modified: lld/trunk/test/mach-o/hello-world-arm64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> hello-world-arm64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/hello-world-arm64.yaml (original)
> +++ lld/trunk/test/mach-o/hello-world-arm64.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch arm64 %s %p/Inputs/hello-world-arm64.yaml
> -o %t
> +# RUN: ld64.lld -arch arm64 %s %p/Inputs/hello-world-arm64.yaml -o %t
>  # RUN: llvm-nm -m -n %t | FileCheck %s
>  # RUN: llvm-objdump -private-headers %t | FileCheck %s
> --check-prefix=CHECK-PRIVATE-HEADER
>  #
>
> Modified: lld/trunk/test/mach-o/hello-world-armv6.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> hello-world-armv6.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/hello-world-armv6.yaml (original)
> +++ lld/trunk/test/mach-o/hello-world-armv6.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch armv6 %s %p/Inputs/hello-world-armv6.yaml
> -o %t
> +# RUN: ld64.lld -arch armv6 %s %p/Inputs/hello-world-armv6.yaml -o %t
>  # RUN: llvm-nm -m %t | FileCheck %s
>  #
>  # Test that armv6 (arm) hello-world can be linked into a mach-o executable
>
> Modified: lld/trunk/test/mach-o/hello-world-armv7.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> hello-world-armv7.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/hello-world-armv7.yaml (original)
> +++ lld/trunk/test/mach-o/hello-world-armv7.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch armv7 %s %p/Inputs/hello-world-armv7.yaml
> -o %t
> +# RUN: ld64.lld -arch armv7 %s %p/Inputs/hello-world-armv7.yaml -o %t
>  # RUN: llvm-nm -m -n %t | FileCheck %s
>  #
>  # Test that armv7 (thumb) hello-world can be linked into a mach-o
> executable
>
> Modified: lld/trunk/test/mach-o/hello-world-x86.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> hello-world-x86.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/hello-world-x86.yaml (original)
> +++ lld/trunk/test/mach-o/hello-world-x86.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch i386 %s %p/Inputs/hello-world-x86.yaml -o
> %t
> +# RUN: ld64.lld -arch i386 %s %p/Inputs/hello-world-x86.yaml -o %t
>  # RUN: llvm-nm -m %t | FileCheck %s
>  #
>  # Test that i386 hello-world can be linked into a mach-o executable
>
> Modified: lld/trunk/test/mach-o/hello-world-x86_64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> hello-world-x86_64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/hello-world-x86_64.yaml (original)
> +++ lld/trunk/test/mach-o/hello-world-x86_64.yaml Fri Feb 16 13:16:57 2018
> @@ -1,8 +1,8 @@
> -# RUN: lld -flavor darwin -arch x86_64  %s %p/Inputs/hello-world-x86_64.yaml
> \
> +# RUN: ld64.lld -arch x86_64  %s %p/Inputs/hello-world-x86_64.yaml \
>  # RUN: -o %t
>  # RUN: llvm-nm -m -n %t | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -arch x86_64  %s %p/Inputs/hello-world-x86_64.yaml
> \
> +# RUN: ld64.lld -arch x86_64  %s %p/Inputs/hello-world-x86_64.yaml \
>  # RUN: -dead_strip -o %t2
>  # RUN: llvm-nm -m -n %t2 | FileCheck %s
>  #
>
> Modified: lld/trunk/test/mach-o/image-base.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> image-base.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/image-base.yaml (original)
> +++ lld/trunk/test/mach-o/image-base.yaml Fri Feb 16 13:16:57 2018
> @@ -1,10 +1,10 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.9 %s -o %t
> -image_base 31415926000 %p/Inputs/x86_64/libSystem.yaml
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.9 %s -o %t
> -image_base 31415926000 %p/Inputs/x86_64/libSystem.yaml
>  # RUN: llvm-readobj -macho-segment %t | FileCheck %s
> -# RUN: not lld -flavor darwin -arch x86_64 -image_base 0x31415926530 %s
> >/dev/null 2> %t
> +# RUN: not ld64.lld -arch x86_64 -image_base 0x31415926530 %s >/dev/null
> 2> %t
>  # RUN: FileCheck < %t %s --check-prefix=CHECK-ERROR-MISPAGED
> -# RUN: not lld -flavor darwin -arch x86_64 -image_base 1000 %s >/dev/null
> 2> %t
> +# RUN: not ld64.lld -arch x86_64 -image_base 1000 %s >/dev/null 2> %t
>  # RUN: FileCheck < %t %s --check-prefix=CHECK-ERROR-OVERLAP
> -# RUN: not lld -flavor darwin -arch x86_64 -image_base hithere %s
> >/dev/null 2> %t
> +# RUN: not ld64.lld -arch x86_64 -image_base hithere %s >/dev/null 2> %t
>  # RUN: FileCheck < %t %s --check-prefix=CHECK-ERROR-NOTHEX
>
>  --- !native
>
> Modified: lld/trunk/test/mach-o/infer-arch.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> infer-arch.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/infer-arch.yaml (original)
> +++ lld/trunk/test/mach-o/infer-arch.yaml Fri Feb 16 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch i386 -macosx_version_min 10.8 %s -r -o %t
> \
> -# RUN: && lld -flavor darwin -r %t -o %t2 -print_atoms | FileCheck %s
> +# RUN: ld64.lld -arch i386 -macosx_version_min 10.8 %s -r -o %t \
> +# RUN: && ld64.lld -r %t -o %t2 -print_atoms | FileCheck %s
>  #
>  # Test linker can detect architecture without -arch option.
>  #
>
> Modified: lld/trunk/test/mach-o/interposing-section.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> interposing-section.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/interposing-section.yaml (original)
> +++ lld/trunk/test/mach-o/interposing-section.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,8 +1,8 @@
> -# RUN: lld -flavor darwin -arch x86_64  %s %p/Inputs/interposing-section.yaml
> \
> +# RUN: ld64.lld -arch x86_64  %s %p/Inputs/interposing-section.yaml \
>  # RUN: -dylib -o %t %p/Inputs/x86_64/libSystem.yaml
>  # RUN: llvm-objdump -private-headers %t | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -arch x86_64  %s -r -o %t1
> +# RUN: ld64.lld -arch x86_64  %s -r -o %t1
>  # RUN: llvm-objdump -private-headers %t1 | FileCheck %s
>  #
>  # Test that interposing section is preserved by linker.
>
> Modified: lld/trunk/test/mach-o/keep_private_externs.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> keep_private_externs.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/keep_private_externs.yaml (original)
> +++ lld/trunk/test/mach-o/keep_private_externs.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,7 +1,7 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r  %s -o %t \
> +# RUN: ld64.lld -arch x86_64 -r  %s -o %t \
>  # RUN:    && llvm-nm -m %t | FileCheck %s
>  #
> -# RUN: lld -flavor darwin -arch x86_64 -r  %s -o %t2
> -keep_private_externs \
> +# RUN: ld64.lld -arch x86_64 -r  %s -o %t2 -keep_private_externs \
>  # RUN:    && llvm-nm -m %t2 | FileCheck -check-prefix=CHECK_KPE %s
>  #
>  # Test -keep_private_externs in -r mode.
>
> 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=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/lazy-bind-x86_64.yaml (original)
> +++ lld/trunk/test/mach-o/lazy-bind-x86_64.yaml Fri Feb 16 13:16:57 2018
> @@ -1,6 +1,6 @@
>  # REQUIRES: x86
>
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s \
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s \
>  # 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
>
> Modified: lld/trunk/test/mach-o/lc_segment_filesize.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> lc_segment_filesize.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/lc_segment_filesize.yaml (original)
> +++ lld/trunk/test/mach-o/lc_segment_filesize.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -o %t %s && llvm-objdump
> -private-headers %t | FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -o %t %s && llvm-objdump -private-headers
> %t | FileCheck %s
>
>  # CHECK: filesize 19
>
>
> Modified: lld/trunk/test/mach-o/lib-search-paths.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> lib-search-paths.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/lib-search-paths.yaml (original)
> +++ lld/trunk/test/mach-o/lib-search-paths.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 %s -syslibroot
> %p/Inputs/lib-search-paths -lmyshared -lmystatic -lfile.o -r -print_atoms
> 2>&1  | FileCheck %s
> +# RUN: ld64.lld -arch x86_64 %s -syslibroot %p/Inputs/lib-search-paths
> -lmyshared -lmystatic -lfile.o -r -print_atoms 2>&1  | FileCheck %s
>
>  --- !native
>  undefined-atoms:
>
> Modified: lld/trunk/test/mach-o/library-order.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> library-order.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/library-order.yaml (original)
> +++ lld/trunk/test/mach-o/library-order.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 %p/Inputs/libfoo.a %s -o %t \
> +# RUN: ld64.lld -arch x86_64 %p/Inputs/libfoo.a %s -o %t \
>  # RUN:    %p/Inputs/x86_64/libSystem.yaml
>  # RUN: llvm-nm -m -n %t | FileCheck %s
>  #
>
> Modified: lld/trunk/test/mach-o/library-rescan.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> library-rescan.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/library-rescan.yaml (original)
> +++ lld/trunk/test/mach-o/library-rescan.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 %p/Inputs/libfoo.a
> %p/Inputs/libbar.a \
> +# RUN: ld64.lld -arch x86_64 %p/Inputs/libfoo.a %p/Inputs/libbar.a \
>  # RUN:    %s -o %t  %p/Inputs/x86_64/libSystem.yaml
>  # RUN: llvm-nm -m -n %t | FileCheck %s
>  #
>
> Modified: lld/trunk/test/mach-o/libresolve-bizarre-root-override.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> libresolve-bizarre-root-override.yaml?rev=325390&r1=
> 325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/libresolve-bizarre-root-override.yaml (original)
> +++ lld/trunk/test/mach-o/libresolve-bizarre-root-override.yaml Fri Feb
> 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -test_file_usage -v \
> +# RUN: not ld64.lld -test_file_usage -v \
>  # RUN:        -path_exists /usr/lib \
>  # RUN:        -path_exists /Applications/MySDK/usr/local/lib \
>  # RUN:        -path_exists /Applications/MySDK/usr/lib \
>
> Modified: lld/trunk/test/mach-o/libresolve-multiple-syslibroots.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> libresolve-multiple-syslibroots.yaml?rev=325390&
> r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/libresolve-multiple-syslibroots.yaml (original)
> +++ lld/trunk/test/mach-o/libresolve-multiple-syslibroots.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -test_file_usage -v \
> +# RUN: ld64.lld -test_file_usage -v \
>  # RUN:        -path_exists /usr/lib \
>  # RUN:        -path_exists /Applications/MyFirstSDK/usr/local/lib \
>  # RUN:        -path_exists /Applications/MySecondSDK/usr/local/lib \
>
> Modified: lld/trunk/test/mach-o/libresolve-one-syslibroot.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> libresolve-one-syslibroot.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/libresolve-one-syslibroot.yaml (original)
> +++ lld/trunk/test/mach-o/libresolve-one-syslibroot.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -test_file_usage -v \
> +# RUN: ld64.lld -test_file_usage -v \
>  # RUN:        -path_exists /usr/lib \
>  # RUN:        -path_exists /Applications/MySDK/usr/local/lib \
>  # RUN:        -path_exists /Applications/MySDK/usr/local/lib/libSystem.a
> \
>
> Modified: lld/trunk/test/mach-o/libresolve-simple.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> libresolve-simple.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/libresolve-simple.yaml (original)
> +++ lld/trunk/test/mach-o/libresolve-simple.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -test_file_usage -v \
> +# RUN: ld64.lld -arch x86_64 -r -test_file_usage -v \
>  # RUN:        -path_exists /usr/lib \
>  # RUN:        -path_exists /usr/local/lib \
>  # RUN:        -path_exists /usr/lib/libSystem.dylib \
>
> Modified: lld/trunk/test/mach-o/libresolve-user-paths.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> libresolve-user-paths.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/libresolve-user-paths.yaml (original)
> +++ lld/trunk/test/mach-o/libresolve-user-paths.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -test_file_usage -v \
> +# RUN: ld64.lld -arch x86_64 -r -test_file_usage -v \
>  # RUN:        -path_exists hasFoo \
>  # RUN:        -path_exists hasFoo/libFoo.dylib \
>  # RUN:        -path_exists /hasBar \
>
> Modified: lld/trunk/test/mach-o/libresolve-z.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> libresolve-z.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/libresolve-z.yaml (original)
> +++ lld/trunk/test/mach-o/libresolve-z.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -test_file_usage -v \
> +# RUN: ld64.lld -arch x86_64 -r -test_file_usage -v \
>  # RUN:        -path_exists /usr/lib \
>  # RUN:        -path_exists /usr/local/lib \
>  # RUN:        -path_exists /usr/lib/libSystem.dylib \
>
> Modified: lld/trunk/test/mach-o/mach_header-cpusubtype.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> mach_header-cpusubtype.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/mach_header-cpusubtype.yaml (original)
> +++ lld/trunk/test/mach-o/mach_header-cpusubtype.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,6 +1,6 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.4 %s
> %p/Inputs/hello-world-x86_64.yaml -o %t && llvm-objdump -private-headers
> %t | FileCheck %s --check-prefix=NO_LIB64
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.5 %s
> %p/Inputs/hello-world-x86_64.yaml -o %t && llvm-objdump -private-headers
> %t | FileCheck %s --check-prefix=LIB64
> -# RUN: lld -flavor darwin -arch x86_64 -dylib -macosx_version_min 10.5 %s
> %p/Inputs/hello-world-x86_64.yaml -o %t && llvm-objdump -private-headers
> %t | FileCheck %s --check-prefix=DYLIB
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.4 %s
> %p/Inputs/hello-world-x86_64.yaml -o %t && llvm-objdump -private-headers
> %t | FileCheck %s --check-prefix=NO_LIB64
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.5 %s
> %p/Inputs/hello-world-x86_64.yaml -o %t && llvm-objdump -private-headers
> %t | FileCheck %s --check-prefix=LIB64
> +# RUN: ld64.lld -arch x86_64 -dylib -macosx_version_min 10.5 %s
> %p/Inputs/hello-world-x86_64.yaml -o %t && llvm-objdump -private-headers
> %t | FileCheck %s --check-prefix=DYLIB
>
>  --- !mach-o
>  arch:            x86_64
>
> Modified: lld/trunk/test/mach-o/mh_bundle_header.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> mh_bundle_header.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/mh_bundle_header.yaml (original)
> +++ lld/trunk/test/mach-o/mh_bundle_header.yaml Fri Feb 16 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch x86_64  %s -bundle -o %t
> %p/Inputs/x86_64/libSystem.yaml && llvm-nm -m -n %t | FileCheck %s
> -# RUN: lld -flavor darwin -arch x86_64  %s -bundle -dead_strip -o %t
> %p/Inputs/x86_64/libSystem.yaml && llvm-nm -m -n %t | FileCheck %s
> +# RUN: ld64.lld -arch x86_64  %s -bundle -o %t %p/Inputs/x86_64/libSystem.yaml
> && llvm-nm -m -n %t | FileCheck %s
> +# RUN: ld64.lld -arch x86_64  %s -bundle -dead_strip -o %t
> %p/Inputs/x86_64/libSystem.yaml && llvm-nm -m -n %t | FileCheck %s
>  #
>  # Test that __mh_bundle_header symbol is available for bundles
>  #
>
> Modified: lld/trunk/test/mach-o/mh_dylib_header.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> mh_dylib_header.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/mh_dylib_header.yaml (original)
> +++ lld/trunk/test/mach-o/mh_dylib_header.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64  %s -dylib -o %t
> %p/Inputs/x86_64/libSystem.yaml
> +# RUN: ld64.lld -arch x86_64  %s -dylib -o %t %p/Inputs/x86_64/libSystem.
> yaml
>  # RUN: llvm-nm -m -n %t | FileCheck %s
>  #
>  # Test that __mh_dylib_header symbol is available for dylibs
>
> Modified: lld/trunk/test/mach-o/objc-category-list-atom.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> objc-category-list-atom.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/objc-category-list-atom.yaml (original)
> +++ lld/trunk/test/mach-o/objc-category-list-atom.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -print_atoms %s -o %t |
> FileCheck %s
> -# RUN: lld -flavor darwin -arch x86_64 -r -print_atoms %t -o %t2 |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -print_atoms %s -o %t | FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -print_atoms %t -o %t2 | FileCheck %s
>
>
>  --- !mach-o
>
> Modified: lld/trunk/test/mach-o/objc-image-info-host-vs-simulator.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> objc-image-info-host-vs-simulator.yaml?rev=325390&r1=
> 325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/objc-image-info-host-vs-simulator.yaml
> (original)
> +++ lld/trunk/test/mach-o/objc-image-info-host-vs-simulator.yaml Fri Feb
> 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -r %s 2>&1 | FileCheck %s
> +# RUN: not ld64.lld -arch x86_64 -r %s 2>&1 | FileCheck %s
>
>  # The file is built for the host, but the objc image info flags are for
>  # the simulator.
>
> Modified: lld/trunk/test/mach-o/objc-image-info-invalid-size.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> objc-image-info-invalid-size.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/objc-image-info-invalid-size.yaml (original)
> +++ lld/trunk/test/mach-o/objc-image-info-invalid-size.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -r %s 2>&1 | FileCheck %s
> +# RUN: not ld64.lld -arch x86_64 -r %s 2>&1 | FileCheck %s
>
>  --- !mach-o
>  arch:            x86_64
>
> Modified: lld/trunk/test/mach-o/objc-image-info-invalid-version.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> objc-image-info-invalid-version.yaml?rev=325390&r1=
> 325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/objc-image-info-invalid-version.yaml (original)
> +++ lld/trunk/test/mach-o/objc-image-info-invalid-version.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -r %s 2>&1 | FileCheck %s
> +# RUN: not ld64.lld -arch x86_64 -r %s 2>&1 | FileCheck %s
>
>  --- !mach-o
>  arch:            x86_64
>
> Modified: lld/trunk/test/mach-o/objc-image-info-mismatched-swift-
> version.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> objc-image-info-mismatched-swift-version.yaml?rev=325390&
> r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/objc-image-info-mismatched-swift-version.yaml
> (original)
> +++ lld/trunk/test/mach-o/objc-image-info-mismatched-swift-version.yaml
> Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -r %s
> %p/Inputs/swift-version-1.yaml 2>&1 | FileCheck %s
> +# RUN: not ld64.lld -arch x86_64 -r %s %p/Inputs/swift-version-1.yaml
> 2>&1 | FileCheck %s
>
>  --- !mach-o
>  arch:            x86_64
>
> Modified: lld/trunk/test/mach-o/objc-image-info-pass-output.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> objc-image-info-pass-output.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/objc-image-info-pass-output.yaml (original)
> +++ lld/trunk/test/mach-o/objc-image-info-pass-output.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -ios_simulator_version_min 5.0 -arch x86_64 -r
> %s -o %t -print_atoms | FileCheck %s
> +# RUN: ld64.lld -ios_simulator_version_min 5.0 -arch x86_64 -r %s -o %t
> -print_atoms | FileCheck %s
>
>  # Make sure that we have an objc image info in the output.  It should have
>  # been generated by the objc pass.
>
> Modified: lld/trunk/test/mach-o/objc-image-info-simulator-vs-host.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> objc-image-info-simulator-vs-host.yaml?rev=325390&r1=
> 325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/objc-image-info-simulator-vs-host.yaml
> (original)
> +++ lld/trunk/test/mach-o/objc-image-info-simulator-vs-host.yaml Fri Feb
> 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -ios_simulator_version_min 5.0 -arch x86_64
> -r %s 2>&1 | FileCheck %s
> +# RUN: not ld64.lld -ios_simulator_version_min 5.0 -arch x86_64 -r %s
> 2>&1 | FileCheck %s
>
>  # The file is built for the simulator, but the objc image info flags are
> for
>  # the host.
>
> Modified: lld/trunk/test/mach-o/objc-image-info-unsupported-gc.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> objc-image-info-unsupported-gc.yaml?rev=325390&r1=325389&
> r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/objc-image-info-unsupported-gc.yaml (original)
> +++ lld/trunk/test/mach-o/objc-image-info-unsupported-gc.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -r %s 2>&1 | FileCheck %s
> +# RUN: not ld64.lld -arch x86_64 -r %s 2>&1 | FileCheck %s
>
>  --- !mach-o
>  arch:            x86_64
>
> Modified: lld/trunk/test/mach-o/objc_export_list.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> objc_export_list.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/objc_export_list.yaml (original)
> +++ lld/trunk/test/mach-o/objc_export_list.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -dylib %s -o %t \
> +# RUN: ld64.lld -arch x86_64 -dylib %s -o %t \
>  # RUN:     -exported_symbol .objc_class_name_Foo
> %p/Inputs/x86_64/libSystem.yaml
>  # RUN: llvm-nm -m %t | FileCheck %s
>  #
>
> Modified: lld/trunk/test/mach-o/order_file-basic.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> order_file-basic.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/order_file-basic.yaml (original)
> +++ lld/trunk/test/mach-o/order_file-basic.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 %s %p/Inputs/x86_64/libSystem.yaml
> \
> +# RUN: ld64.lld -arch x86_64 %s %p/Inputs/x86_64/libSystem.yaml \
>  # RUN:     -order_file %p/Inputs/order_file-basic.order \
>  # RUN:     -force_load %p/Inputs/libfoo.a -o %t
>  # RUN: llvm-nm -m -n %t | FileCheck %s
>
> Modified: lld/trunk/test/mach-o/parse-aliases.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-aliases.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-aliases.yaml (original)
> +++ lld/trunk/test/mach-o/parse-aliases.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test multiple labels to same address parse into aliases.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-arm-relocs.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-arm-relocs.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-arm-relocs.yaml (original)
> +++ lld/trunk/test/mach-o/parse-arm-relocs.yaml Fri Feb 16 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch armv7 -r -print_atoms %s -o %t   |
> FileCheck %s
> -# RUN: lld -flavor darwin -arch armv7 -r -print_atoms %t -o %t2  |
> FileCheck %s
> +# RUN: ld64.lld -arch armv7 -r -print_atoms %s -o %t   | FileCheck %s
> +# RUN: ld64.lld -arch armv7 -r -print_atoms %t -o %t2  | FileCheck %s
>  #
>  # Test parsing of armv7 relocations.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-cfstring32.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-cfstring32.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-cfstring32.yaml (original)
> +++ lld/trunk/test/mach-o/parse-cfstring32.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch i386 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch i386 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test parsing of mach-o functions.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-cfstring64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-cfstring64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-cfstring64.yaml (original)
> +++ lld/trunk/test/mach-o/parse-cfstring64.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test parsing of CFString constants.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-compact-unwind32.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-compact-unwind32.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-compact-unwind32.yaml (original)
> +++ lld/trunk/test/mach-o/parse-compact-unwind32.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch i386 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch i386 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test parsing of __LD/__compact_unwind (compact unwind) section.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-compact-unwind64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-compact-unwind64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-compact-unwind64.yaml (original)
> +++ lld/trunk/test/mach-o/parse-compact-unwind64.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test parsing of __LD/__compact_unwind (compact unwind) section.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-data-in-code-armv7.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-data-in-code-armv7.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-data-in-code-armv7.yaml (original)
> +++ lld/trunk/test/mach-o/parse-data-in-code-armv7.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,6 +1,6 @@
> -# RUN: lld -flavor darwin -arch armv7 -r -print_atoms %s -o %t  |
> FileCheck %s
> -# RUN: lld -flavor darwin -arch armv7 -r -print_atoms %t -o %t2  |
> FileCheck %s
> -# RUN: lld -flavor darwin -arch armv7 -dylib %s -o %t3.dylib
> %p/Inputs/armv7/libSystem.yaml \
> +# RUN: ld64.lld -arch armv7 -r -print_atoms %s -o %t  | FileCheck %s
> +# RUN: ld64.lld -arch armv7 -r -print_atoms %t -o %t2  | FileCheck %s
> +# RUN: ld64.lld -arch armv7 -dylib %s -o %t3.dylib
> %p/Inputs/armv7/libSystem.yaml \
>  # RUN:   && llvm-objdump -macho -private-headers %t3.dylib | FileCheck
> --check-prefix=CHECK2 %s
>  #
>  # Test parsing LC_DATA_IN_CODE
>
> Modified: lld/trunk/test/mach-o/parse-data-in-code-x86.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-data-in-code-x86.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-data-in-code-x86.yaml (original)
> +++ lld/trunk/test/mach-o/parse-data-in-code-x86.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch i386 -r -print_atoms %s -o %t  |
> FileCheck %s \
> -# RUN: && lld -flavor darwin -arch i386 -r -print_atoms %t -o %t2  |
> FileCheck %s
> +# RUN: ld64.lld -arch i386 -r -print_atoms %s -o %t  | FileCheck %s \
> +# RUN: && ld64.lld -arch i386 -r -print_atoms %t -o %t2  | FileCheck %s
>  #
>  # Test parsing LC_DATA_IN_CODE
>  #
>
> Modified: lld/trunk/test/mach-o/parse-data-relocs-arm64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-data-relocs-arm64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-data-relocs-arm64.yaml (original)
> +++ lld/trunk/test/mach-o/parse-data-relocs-arm64.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch arm64 -r -print_atoms %s -o %t |
> FileCheck %s
> -# RUN: lld -flavor darwin -arch arm64 -r -print_atoms %t -o %t2 |
> FileCheck %s
> +# RUN: ld64.lld -arch arm64 -r -print_atoms %s -o %t | FileCheck %s
> +# RUN: ld64.lld -arch arm64 -r -print_atoms %t -o %t2 | FileCheck %s
>  #
>  # Test parsing and writing of arm64 data relocations.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-data-relocs-x86_64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-data-relocs-x86_64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-data-relocs-x86_64.yaml (original)
> +++ lld/trunk/test/mach-o/parse-data-relocs-x86_64.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,6 +1,6 @@
>
> -# RUN: lld -flavor darwin -arch x86_64 -r %s -o %t -print_atoms |
> FileCheck %s \
> -# RUN: && lld -flavor darwin -arch x86_64 %t -r -print_atoms -o %t2  |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r %s -o %t -print_atoms | FileCheck %s \
> +# RUN: && ld64.lld -arch x86_64 %t -r -print_atoms -o %t2  | FileCheck %s
>  #
>  # Test parsing and writing of x86_64 data relocations.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-data.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-data.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-data.yaml (original)
> +++ lld/trunk/test/mach-o/parse-data.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test parsing of mach-o data symbols.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-eh-frame-relocs-x86_64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-eh-frame-relocs-x86_64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-eh-frame-relocs-x86_64.yaml (original)
> +++ lld/trunk/test/mach-o/parse-eh-frame-relocs-x86_64.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -print_atoms %s -o %t |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -print_atoms %s -o %t | FileCheck %s
>  #
>  # Test parsing of x86_64 __eh_frame (dwarf unwind) relocations.
>
>
> Modified: lld/trunk/test/mach-o/parse-eh-frame-x86-anon.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-eh-frame-x86-anon.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-eh-frame-x86-anon.yaml (original)
> +++ lld/trunk/test/mach-o/parse-eh-frame-x86-anon.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch i386 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch i386 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test parsing of new __eh_frame (dwarf unwind) section that has no .eh
> labels
>  # and no relocations.
>
> Modified: lld/trunk/test/mach-o/parse-eh-frame-x86-labeled.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-eh-frame-x86-labeled.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-eh-frame-x86-labeled.yaml (original)
> +++ lld/trunk/test/mach-o/parse-eh-frame-x86-labeled.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch i386 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch i386 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test parsing of old __eh_frame (dwarf unwind) section that has .eh
> labels
>  # and relocations.
>
> Modified: lld/trunk/test/mach-o/parse-eh-frame.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-eh-frame.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-eh-frame.yaml (original)
> +++ lld/trunk/test/mach-o/parse-eh-frame.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test parsing of __eh_frame (dwarf unwind) section.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-function.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-function.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-function.yaml (original)
> +++ lld/trunk/test/mach-o/parse-function.yaml Fri Feb 16 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r %s -o %t
> -# RUN: lld -flavor darwin -arch x86_64 -r %t -print_atoms -o %t2 |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r %s -o %t
> +# RUN: ld64.lld -arch x86_64 -r %t -print_atoms -o %t2 | FileCheck %s
>  #
>  # Test parsing of mach-o functions.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-initializers32.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-initializers32.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-initializers32.yaml (original)
> +++ lld/trunk/test/mach-o/parse-initializers32.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch i386 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch i386 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test parsing of literal sections.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-initializers64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-initializers64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-initializers64.yaml (original)
> +++ lld/trunk/test/mach-o/parse-initializers64.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test parsing of literal sections.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-literals-error.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-literals-error.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-literals-error.yaml (original)
> +++ lld/trunk/test/mach-o/parse-literals-error.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -r -print_atoms %s -o %t 2>
> %t.err
> +# RUN: not ld64.lld -arch x86_64 -r -print_atoms %s -o %t 2> %t.err
>  # RUN: FileCheck %s < %t.err
>  #
>  # Test for error if literal section is not correct size mulitple.
>
> Modified: lld/trunk/test/mach-o/parse-literals.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-literals.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-literals.yaml (original)
> +++ lld/trunk/test/mach-o/parse-literals.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test parsing of literal sections.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-non-lazy-pointers.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-non-lazy-pointers.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-non-lazy-pointers.yaml (original)
> +++ lld/trunk/test/mach-o/parse-non-lazy-pointers.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch i386 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch i386 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test parsing of non-lazy-pointer sections.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-relocs-x86.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-relocs-x86.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-relocs-x86.yaml (original)
> +++ lld/trunk/test/mach-o/parse-relocs-x86.yaml Fri Feb 16 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch i386 -r -print_atoms %s -o %t  |
> FileCheck %s \
> -# RUN: && lld -flavor darwin -arch i386 -r -print_atoms %t -o %t2  |
> FileCheck %s
> +# RUN: ld64.lld -arch i386 -r -print_atoms %s -o %t  | FileCheck %s \
> +# RUN: && ld64.lld -arch i386 -r -print_atoms %t -o %t2  | FileCheck %s
>  #
>  # Test parsing and writing of x86 relocations.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-section-no-symbol.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-section-no-symbol.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-section-no-symbol.yaml (original)
> +++ lld/trunk/test/mach-o/parse-section-no-symbol.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r %s -print_atoms -o %t2 |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r %s -print_atoms -o %t2 | FileCheck %s
>  #
>  # Test parsing of mach-o functions with no symbols at all.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-tentative-defs.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-tentative-defs.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-tentative-defs.yaml (original)
> +++ lld/trunk/test/mach-o/parse-tentative-defs.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -print_atoms %s -o %t  |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -print_atoms %s -o %t  | FileCheck %s
>  #
>  # Test parsing of tentative definitions, including size, scope, and
> alignment.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-text-relocs-arm64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-text-relocs-arm64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-text-relocs-arm64.yaml (original)
> +++ lld/trunk/test/mach-o/parse-text-relocs-arm64.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch arm64 -r -print_atoms %s -o %t |
> FileCheck %s \
> -# RUN:  && lld -flavor darwin -arch arm64 -r -print_atoms %t -o %t2 |
> FileCheck %s
> +# RUN: ld64.lld -arch arm64 -r -print_atoms %s -o %t | FileCheck %s \
> +# RUN:  && ld64.lld -arch arm64 -r -print_atoms %t -o %t2 | FileCheck %s
>  #
>  # Test parsing and writing of arm64 text relocations.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-text-relocs-x86_64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-text-relocs-x86_64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-text-relocs-x86_64.yaml (original)
> +++ lld/trunk/test/mach-o/parse-text-relocs-x86_64.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -print_atoms %s -o %t |
> FileCheck %s \
> -# RUN:  && lld -flavor darwin -arch x86_64 -r -print_atoms %t -o %t2 |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -print_atoms %s -o %t | FileCheck %s \
> +# RUN:  && ld64.lld -arch x86_64 -r -print_atoms %t -o %t2 | FileCheck %s
>  #
>  # Test parsing and writing of x86_64 text relocations.
>  #
>
> Modified: lld/trunk/test/mach-o/parse-tlv-relocs-x86-64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> parse-tlv-relocs-x86-64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/parse-tlv-relocs-x86-64.yaml (original)
> +++ lld/trunk/test/mach-o/parse-tlv-relocs-x86-64.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -arch x86_64 -r -print_atoms %s -o %t |
> FileCheck %s \
> -# RUN:  && lld -flavor darwin -arch x86_64 -r -print_atoms %t -o %t2 |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -r -print_atoms %s -o %t | FileCheck %s \
> +# RUN:  && ld64.lld -arch x86_64 -r -print_atoms %t -o %t2 | FileCheck %s
>  #
>  # Test parsing of x86_64 tlv relocations.
>
>
> Modified: lld/trunk/test/mach-o/re-exported-dylib-ordinal.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> re-exported-dylib-ordinal.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/re-exported-dylib-ordinal.yaml (original)
> +++ lld/trunk/test/mach-o/re-exported-dylib-ordinal.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s \
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s \
>  # RUN: %p/Inputs/re-exported-dylib-ordinal.yaml \
>  # RUN: %p/Inputs/re-exported-dylib-ordinal2.yaml \
>  # RUN: %p/Inputs/re-exported-dylib-ordinal3.yaml -dylib -o %t \
>
> Modified: lld/trunk/test/mach-o/rpath.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> rpath.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/rpath.yaml (original)
> +++ lld/trunk/test/mach-o/rpath.yaml Fri Feb 16 13:16:57 2018
> @@ -1,5 +1,5 @@
>  # Check we handle -rpath correctly:
> -# RUN: lld -flavor darwin -arch x86_64 -rpath @loader_path/../Frameworks \
> +# RUN: ld64.lld -arch x86_64 -rpath @loader_path/../Frameworks \
>  # RUN:     %p/Inputs/x86_64/libSystem.yaml %s -o %t
>  # RUN: llvm-objdump -private-headers %t | FileCheck %s
> --check-prefix=CHECK-BINARY-WRITE
>
>
> Modified: lld/trunk/test/mach-o/run-tlv-pass-x86-64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> run-tlv-pass-x86-64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/run-tlv-pass-x86-64.yaml (original)
> +++ lld/trunk/test/mach-o/run-tlv-pass-x86-64.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,5 +1,5 @@
> -# RUN: lld -flavor darwin -macosx_version_min 10.7 -arch x86_64
> -print_atoms %s -o %t | FileCheck %s
> -# RUN: not lld -flavor darwin -macosx_version_min 10.6 -arch x86_64 -o %t
> %s 2> %t2
> +# RUN: ld64.lld -macosx_version_min 10.7 -arch x86_64 -print_atoms %s -o
> %t | FileCheck %s
> +# RUN: not ld64.lld -macosx_version_min 10.6 -arch x86_64 -o %t %s 2> %t2
>  # RUN: FileCheck < %t2 %s --check-prefix=CHECK-ERROR
>  # RUN: llvm-objdump -macho -private-headers %t | FileCheck %s
> --check-prefix=CHECK-LOADCMDS
>  #
>
> Modified: lld/trunk/test/mach-o/sdk-version-error.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> sdk-version-error.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/sdk-version-error.yaml (original)
> +++ lld/trunk/test/mach-o/sdk-version-error.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -sdk_version 10.blah %s -o %t
> 2>&1 | FileCheck %s --check-prefix=ERROR
> +# RUN: not ld64.lld -arch x86_64 -sdk_version 10.blah %s -o %t 2>&1 |
> FileCheck %s --check-prefix=ERROR
>
>  --- !mach-o
>  arch:            x86_64
>
> Modified: lld/trunk/test/mach-o/sectalign.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> sectalign.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/sectalign.yaml (original)
> +++ lld/trunk/test/mach-o/sectalign.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -dylib
> \
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -dylib \
>  # RUN:    -sectalign __DATA __custom 0x800 -sectalign __TEXT __text 0x400
> \
>  # RUN:    %p/Inputs/x86_64/libSystem.yaml -o %t \
>  # RUN: && llvm-readobj -sections %t | FileCheck %s
>
> Modified: lld/trunk/test/mach-o/sectattrs.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> sectattrs.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/sectattrs.yaml (original)
> +++ lld/trunk/test/mach-o/sectattrs.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -dylib
> \
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -dylib \
>  # RUN:    %p/Inputs/x86_64/libSystem.yaml -o %t \
>  # RUN: && llvm-objdump -private-headers %t | FileCheck %s
>  #
>
> Modified: lld/trunk/test/mach-o/sectcreate.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> sectcreate.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/sectcreate.yaml (original)
> +++ lld/trunk/test/mach-o/sectcreate.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -r -arch x86_64 -o %t -sectcreate __DATA __data
> \
> +# RUN: ld64.lld -r -arch x86_64 -o %t -sectcreate __DATA __data \
>  # RUN:   %p/Inputs/hw.raw_bytes -print_atoms | FileCheck %s
>
>  # CHECK: --- !native
>
> Modified: lld/trunk/test/mach-o/seg-protection-arm64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> seg-protection-arm64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/seg-protection-arm64.yaml (original)
> +++ lld/trunk/test/mach-o/seg-protection-arm64.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch arm64 %s %p/Inputs/hello-world-arm64.yaml
> -o %t && llvm-objdump -private-headers %t | FileCheck %s
> +# RUN: ld64.lld -arch arm64 %s %p/Inputs/hello-world-arm64.yaml -o %t &&
> llvm-objdump -private-headers %t | FileCheck %s
>
>  --- !mach-o
>  arch:            arm64
>
> Modified: lld/trunk/test/mach-o/seg-protection-x86_64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> seg-protection-x86_64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/seg-protection-x86_64.yaml (original)
> +++ lld/trunk/test/mach-o/seg-protection-x86_64.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 %s %p/Inputs/hello-world-x86_64.yaml
> -o %t && llvm-objdump -private-headers %t | FileCheck %s
> +# RUN: ld64.lld -arch x86_64 %s %p/Inputs/hello-world-x86_64.yaml -o %t
> && llvm-objdump -private-headers %t | FileCheck %s
>
>  --- !mach-o
>  arch:            x86_64
>
> Modified: lld/trunk/test/mach-o/source-version.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> source-version.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/source-version.yaml (original)
> +++ lld/trunk/test/mach-o/source-version.yaml Fri Feb 16 13:16:57 2018
> @@ -1,5 +1,5 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -source_version 10.blah %s -o
> %t 2>&1 | FileCheck %s --check-prefix=ERROR
> -# RUN: lld -flavor darwin -arch x86_64 -source_version 10.1.2.3.4 %s -o
> %t -dylib %p/Inputs/x86_64/libSystem.yaml && llvm-objdump
> -private-headers %t | FileCheck %s
> +# RUN: not ld64.lld -arch x86_64 -source_version 10.blah %s -o %t 2>&1 |
> FileCheck %s --check-prefix=ERROR
> +# RUN: ld64.lld -arch x86_64 -source_version 10.1.2.3.4 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml && llvm-objdump -private-headers %t |
> FileCheck %s
>
>  --- !mach-o
>  arch:            x86_64
>
> Modified: lld/trunk/test/mach-o/stack-size.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> stack-size.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/stack-size.yaml (original)
> +++ lld/trunk/test/mach-o/stack-size.yaml Fri Feb 16 13:16:57 2018
> @@ -1,10 +1,10 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.9 %s -o %t
> %p/Inputs/x86_64/libSystem.yaml
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.9 %s -o %t
> %p/Inputs/x86_64/libSystem.yaml
>  # RUN: llvm-objdump -private-headers %t | FileCheck
> --check-prefix=CHECK-DEFAULT %s
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.9 %s -o %t
> -stack_size 31415926000 %p/Inputs/x86_64/libSystem.yaml
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.9 %s -o %t
> -stack_size 31415926000 %p/Inputs/x86_64/libSystem.yaml
>  # RUN: llvm-objdump -private-headers %t | FileCheck
> --check-prefix=CHECK-EXPLICIT %s
> -# RUN: not lld -flavor darwin -arch x86_64 -stack_size 0x31415926530 %s
> >/dev/null 2> %t
> +# RUN: not ld64.lld -arch x86_64 -stack_size 0x31415926530 %s >/dev/null
> 2> %t
>  # RUN: FileCheck < %t %s --check-prefix=CHECK-ERROR-MISPAGED
> -# RUN: not lld -flavor darwin -arch x86_64 -stack_size hithere %s
> >/dev/null 2> %t
> +# RUN: not ld64.lld -arch x86_64 -stack_size hithere %s >/dev/null 2> %t
>  # RUN: FileCheck < %t %s --check-prefix=CHECK-ERROR-NOTHEX
>
>  --- !native
>
> Modified: lld/trunk/test/mach-o/string-table.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> string-table.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/string-table.yaml (original)
> +++ lld/trunk/test/mach-o/string-table.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch i386 %s %p/Inputs/hello-world-x86.yaml -o
> %t
> +# RUN: ld64.lld -arch i386 %s %p/Inputs/hello-world-x86.yaml -o %t
>  # RUN: obj2yaml %t | FileCheck %s
>  #
>  # Test that the string table contains a ' ' as its first symbol
>
> Modified: lld/trunk/test/mach-o/subsections-via-symbols-default.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> subsections-via-symbols-default.yaml?rev=325390&r1=
> 325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/subsections-via-symbols-default.yaml (original)
> +++ lld/trunk/test/mach-o/subsections-via-symbols-default.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -ios_simulator_version_min 5.0 -arch x86_64 -r
> %s -o %t
> +# RUN: ld64.lld -ios_simulator_version_min 5.0 -arch x86_64 -r %s -o %t
>  # RUN: llvm-readobj -file-headers %t | FileCheck %s
>
>  # Make sure that we have an objc image info in the output.  It should have
>
> Modified: lld/trunk/test/mach-o/twolevel_namespace_undef_
> dynamic_lookup.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> twolevel_namespace_undef_dynamic_lookup.yaml?rev=
> 325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/twolevel_namespace_undef_dynamic_lookup.yaml
> (original)
> +++ lld/trunk/test/mach-o/twolevel_namespace_undef_dynamic_lookup.yaml
> Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.9
> -twolevel_namespace -undefined dynamic_lookup %s -o %t
> %p/Inputs/x86_64/libSystem.yaml
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.9 -twolevel_namespace
> -undefined dynamic_lookup %s -o %t %p/Inputs/x86_64/libSystem.yaml
>  #
>  # Sanity check '-twolevel_namespace -undefined dynamic_lookup'.
>  # This should pass without error, even though '_bar' is undefined.
>
> Modified: lld/trunk/test/mach-o/twolevel_namespace_undef_
> warning_suppress.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> twolevel_namespace_undef_warning_suppress.yaml?rev=
> 325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/twolevel_namespace_undef_warning_suppress.yaml
> (original)
> +++ lld/trunk/test/mach-o/twolevel_namespace_undef_warning_suppress.yaml
> Fri Feb 16 13:16:57 2018
> @@ -1,6 +1,6 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -macosx_version_min 10.9
> -twolevel_namespace -undefined warning %s -o %t %p/Inputs/x86_64/libSystem.yaml
> 2>&1 | \
> +# RUN: not ld64.lld -arch x86_64 -macosx_version_min 10.9
> -twolevel_namespace -undefined warning %s -o %t %p/Inputs/x86_64/libSystem.yaml
> 2>&1 | \
>  # RUN:   FileCheck --check-prefix=CHECK-WARNING %s
> -# RUN: not lld -flavor darwin -arch x86_64 -macosx_version_min 10.9
> -twolevel_namespace -undefined suppress %s -o %t %p/Inputs/x86_64/libSystem.yaml
> 2>&1 | \
> +# RUN: not ld64.lld -arch x86_64 -macosx_version_min 10.9
> -twolevel_namespace -undefined suppress %s -o %t %p/Inputs/x86_64/libSystem.yaml
> 2>&1 | \
>  # RUN:   FileCheck --check-prefix=CHECK-SUPPRESS %s
>
>  --- !native
>
> Modified: lld/trunk/test/mach-o/unwind-info-simple-arm64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> unwind-info-simple-arm64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/unwind-info-simple-arm64.yaml (original)
> +++ lld/trunk/test/mach-o/unwind-info-simple-arm64.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch arm64 -o %t %s \
> +# RUN: ld64.lld -arch arm64 -o %t %s \
>  # RUN: %p/Inputs/unwind-info-simple-arm64.yaml -e _main
> %p/Inputs/arm64/libSystem.yaml
>  # RUN: llvm-objdump -unwind-info %t | FileCheck %s
>
>
> Modified: lld/trunk/test/mach-o/unwind-info-simple-x86_64.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> unwind-info-simple-x86_64.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/unwind-info-simple-x86_64.yaml (original)
> +++ lld/trunk/test/mach-o/unwind-info-simple-x86_64.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 %s -o %t -e _main
> %p/Inputs/x86_64/libSystem.yaml
> +# RUN: ld64.lld -arch x86_64 %s -o %t -e _main %p/Inputs/x86_64/libSystem.
> yaml
>  # RUN: llvm-objdump -unwind-info %t | FileCheck %s
>
>  # CHECK: Contents of __unwind_info section:
>
> Modified: lld/trunk/test/mach-o/upward-dylib-load-command.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> upward-dylib-load-command.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/upward-dylib-load-command.yaml (original)
> +++ lld/trunk/test/mach-o/upward-dylib-load-command.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,6 +1,6 @@
> -# RUN: lld -flavor darwin -arch x86_64 -dylib %p/Inputs/bar.yaml \
> +# RUN: ld64.lld -arch x86_64 -dylib %p/Inputs/bar.yaml \
>  # RUN:     -install_name /usr/lib/libbar.dylib %p/Inputs/x86_64/libSystem.yaml
> -o %t1.dylib
> -# RUN: lld -flavor darwin -arch x86_64 -dylib %s -upward_library
> %t1.dylib \
> +# RUN: ld64.lld -arch x86_64 -dylib %s -upward_library  %t1.dylib \
>  # RUN:      -install_name /usr/lib/libfoo.dylib
> %p/Inputs/x86_64/libSystem.yaml -o %t
>  # RUN: llvm-objdump -private-headers %t | FileCheck %s
>  #
>
> Modified: lld/trunk/test/mach-o/upward-dylib-paths.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> upward-dylib-paths.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/upward-dylib-paths.yaml (original)
> +++ lld/trunk/test/mach-o/upward-dylib-paths.yaml Fri Feb 16 13:16:57 2018
> @@ -1,6 +1,6 @@
>  #
>  #
> -# RUN: lld -flavor darwin -arch x86_64 -r -test_file_usage -v \
> +# RUN: ld64.lld -arch x86_64 -r -test_file_usage -v \
>  # RUN:        -path_exists /Custom/Frameworks \
>  # RUN:        -path_exists /Custom/Frameworks/Bar.framework/Bar \
>  # RUN:        -path_exists /usr/lib \
>
> Modified: lld/trunk/test/mach-o/usage.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> usage.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/usage.yaml (original)
> +++ lld/trunk/test/mach-o/usage.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin | FileCheck %s
> +# RUN: not ld64.lld | FileCheck %s
>  #
>  # Test that running darwin linker with no option prints out usage message.
>  #
>
> Modified: lld/trunk/test/mach-o/use-dylib.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> use-dylib.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/use-dylib.yaml (original)
> +++ lld/trunk/test/mach-o/use-dylib.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 %s \
> +# RUN: ld64.lld -arch x86_64 %s \
>  # RUN: %p/Inputs/use-simple-dylib.yaml %p/Inputs/x86_64/libSystem.yaml
> -dylib -o %t.dylib
>  # RUN: llvm-objdump -private-headers %t.dylib | FileCheck %s
>
>
> Modified: lld/trunk/test/mach-o/use-simple-dylib.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> use-simple-dylib.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/use-simple-dylib.yaml (original)
> +++ lld/trunk/test/mach-o/use-simple-dylib.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -print_atoms -r %s \
> +# RUN: ld64.lld -arch x86_64 -print_atoms -r %s \
>  # RUN: %p/Inputs/use-simple-dylib.yaml -o %t | FileCheck %s
>
>
>
> Modified: lld/trunk/test/mach-o/version-min-load-command-object.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> version-min-load-command-object.yaml?rev=325390&r1=
> 325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/version-min-load-command-object.yaml (original)
> +++ lld/trunk/test/mach-o/version-min-load-command-object.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,6 +1,6 @@
> -# RUN: lld -flavor darwin -arch x86_64 %s -o %t -r -macosx_version_min
> 10.8 && llvm-objdump -private-headers %t | FileCheck %s
> -# RUN: lld -flavor darwin -arch x86_64 %s -o %t -r && llvm-objdump
> -private-headers %t | FileCheck %s
> -# RUN: lld -flavor darwin -arch x86_64 %s -o %t -r
> %p/Inputs/no-version-min-load-command-object.yaml && llvm-objdump
> -private-headers %t | FileCheck %s --check-prefix=NO_VERSION_MIN
> +# RUN: ld64.lld -arch x86_64 %s -o %t -r -macosx_version_min 10.8 &&
> llvm-objdump -private-headers %t | FileCheck %s
> +# RUN: ld64.lld -arch x86_64 %s -o %t -r && llvm-objdump -private-headers
> %t | FileCheck %s
> +# RUN: ld64.lld -arch x86_64 %s -o %t -r %p/Inputs/no-version-min-load-command-object.yaml
> && llvm-objdump -private-headers %t | FileCheck %s
> --check-prefix=NO_VERSION_MIN
>
>  # If we are emitting an object file, then we only emit a min version load
> command if the source object file(s) all have
>  # version(s) and either known platforms or contain min version load
> commands themselves.
>
> Modified: lld/trunk/test/mach-o/version-min-load-command.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> version-min-load-command.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/version-min-load-command.yaml (original)
> +++ lld/trunk/test/mach-o/version-min-load-command.yaml Fri Feb 16
> 13:16:57 2018
> @@ -1,11 +1,11 @@
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml && llvm-objdump -private-headers
> %t | FileCheck %s
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml 2>&1 | FileCheck %s
> --check-prefix=WARNING
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -static -version_load_command &&
> llvm-objdump -private-headers %t | FileCheck %s
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -no_version_load_command &&
> llvm-objdump -private-headers %t | FileCheck %s
> --check-prefix=NO_VERSION_MIN
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -static -version_load_command
> -no_version_load_command && llvm-objdump -private-headers %t | FileCheck %s
> --check-prefix=NO_VERSION_MIN
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t
> -dylib %p/Inputs/x86_64/libSystem.yaml -static && llvm-objdump
> -private-headers %t | FileCheck %s --check-prefix=NO_VERSION_MIN
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml && llvm-objdump -private-headers %t |
> FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml 2>&1 | FileCheck %s --check-prefix=WARNING
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -static -version_load_command &&
> llvm-objdump -private-headers %t | FileCheck %s
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -no_version_load_command && llvm-objdump
> -private-headers %t | FileCheck %s --check-prefix=NO_VERSION_MIN
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -static -version_load_command
> -no_version_load_command && llvm-objdump -private-headers %t | FileCheck %s
> --check-prefix=NO_VERSION_MIN
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 %s -o %t -dylib
> %p/Inputs/x86_64/libSystem.yaml -static && llvm-objdump -private-headers
> %t | FileCheck %s --check-prefix=NO_VERSION_MIN
>
> -# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8
> -sdk_version 10.9 %s -o %t -dylib %p/Inputs/x86_64/libSystem.yaml &&
> llvm-objdump -private-headers %t | FileCheck %s --check-prefix=SDK_VERSION
> +# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.8 -sdk_version 10.9
> %s -o %t -dylib %p/Inputs/x86_64/libSystem.yaml && llvm-objdump
> -private-headers %t | FileCheck %s --check-prefix=SDK_VERSION
>
>  --- !mach-o
>  arch:            x86_64
>
> Modified: lld/trunk/test/mach-o/write-final-sections.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> write-final-sections.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/write-final-sections.yaml (original)
> +++ lld/trunk/test/mach-o/write-final-sections.yaml Fri Feb 16 13:16:57
> 2018
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 %s %p/Inputs/write-final-sections.yaml
> \
> +# RUN: ld64.lld -arch x86_64 %s %p/Inputs/write-final-sections.yaml \
>  # RUN: -o %t -e _foo
>  # RUN: llvm-readobj -sections -section-data %t | FileCheck %s
>
>
> Modified: lld/trunk/test/mach-o/wrong-arch-error.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/
> wrong-arch-error.yaml?rev=325390&r1=325389&r2=325390&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/mach-o/wrong-arch-error.yaml (original)
> +++ lld/trunk/test/mach-o/wrong-arch-error.yaml Fri Feb 16 13:16:57 2018
> @@ -1,4 +1,4 @@
> -# RUN: not lld -flavor darwin -arch x86_64 -r %s \
> +# RUN: not ld64.lld -arch x86_64 -r %s \
>  # RUN: %p/Inputs/wrong-arch-error.yaml 2> %t.err
>  # RUN: FileCheck %s < %t.err
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>



-- 
-- 
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180216/ac0bab86/attachment-0001.html>


More information about the llvm-commits mailing list