Skip to content

Commit 32dbd0c

Browse files
committed
tests: add a %target-ld substitution that is configured with stdlib paths
rdar://20474868 Swift SVN r27183
1 parent 63184b2 commit 32dbd0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/DebugInfo/ASTSection_linker.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
// RUN: %swift-ide-test -test-CompilerInvocation-from-module -source-filename=%t/ASTSection.swiftmodule
88

99
// Test the inline section mechanism.
10-
// RUN: ld %t/ASTSection.o -sectcreate __SWIFT __ast %t/ASTSection.swiftmodule -o %t/ASTSection.dylib -L%platform-module-dir -dylib -lSystem
10+
// RUN: %target-ld %t/ASTSection.o -sectcreate __SWIFT __ast %t/ASTSection.swiftmodule -o %t/ASTSection.dylib -dylib -lSystem
1111
// RUN: %lldb-moduleimport-test %t/ASTSection.dylib | FileCheck %s
1212

1313
// Test the symbol table entry.
14-
// RUN: ld %t/ASTSection.o -add_ast_path %t/ASTSection.swiftmodule -o %t/ASTSection.dylib -L%platform-module-dir -dylib -lSystem
14+
// RUN: %target-ld %t/ASTSection.o -add_ast_path %t/ASTSection.swiftmodule -o %t/ASTSection.dylib -dylib -lSystem
1515
// RUN: %lldb-moduleimport-test %t/ASTSection.dylib | FileCheck %s
1616

1717
// REQUIRES: OS=macosx

0 commit comments

Comments
 (0)