// Run test ASTSection.swift, with separate compile and link steps.

// RUN: rm -rf %t
// RUN: mkdir %t

// RUN: %swift -c -emit-module -o %t %S/ASTSection.swift
// RUN: %ld %t/ASTSection.o -sectcreate __SWIFT __ast %t/ASTSection.swiftmodule -o %t/ASTSection.dylib -L%libdir/swift/macosx -dylib -lSystem
// RUN: lldb-moduleimport-test %t/ASTSection.dylib | FileCheck %S/ASTSection.swift
// REQUIRES: OS=macosx

// Run test ASTSection.swift, with separate compile and link steps.

// RUN: rm -rf %t
// RUN: mkdir %t

// RUN: %swift -c -emit-module -o %t %S/ASTSection.swift
// RUN: ld %t/ASTSection.o -sectcreate __SWIFT __ast %t/ASTSection.swiftmodule -o %t/ASTSection.dylib -L%libdir/swift/macosx -dylib -lSystem
// RUN: lldb-moduleimport-test %t/ASTSection.dylib | FileCheck %S/ASTSection.swift
// REQUIRES: OS=macosx

Drop the ability to set a custom 'ld'.
[test] Drop the ability to set a custom 'ld'.

It wasn't being honored by the Swift driver anyway. Use a custom PATH instead.

Swift SVN r20420
