Skip to content

Commit 6ab8527

Browse files
committed
---
yaml --- r: 347005 b: refs/heads/master c: a31554a h: refs/heads/master i: 347003: 24716ce
1 parent b521802 commit 6ab8527

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: b23d88b21785da47679fcdca9e5fed9215332a76
2+
refs/heads/master: a31554a679482c2f4b1f227a4528d4ad819d1322
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/lib/Driver/DarwinToolChains.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,9 @@ static bool findXcodeClangPath(llvm::SmallVectorImpl<char> &path) {
169169

170170
auto xcrunPath = llvm::sys::findProgramByName("xcrun");
171171
if (!xcrunPath.getError()) {
172-
const char *args[] = {"-f", "clang", nullptr};
172+
// Explicitly ask for the default toolchain so that we don't find a Clang
173+
// included with an open-source toolchain.
174+
const char *args[] = {"-toolchain", "default", "-f", "clang", nullptr};
173175
sys::TaskQueue queue;
174176
queue.addTask(xcrunPath->c_str(), args, /*Env=*/llvm::None,
175177
/*Context=*/nullptr,

trunk/test/Driver/loaded_module_trace.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
// CHECK: "name":"loaded_module_trace"
1010
// CHECK: "arch":"{{[^"]*}}"
1111
// CHECK: "swiftmodules":[
12-
// CHECK: "{{[^"]*\\[/\\]}}Module2.swiftmodule"
13-
// CHECK: "{{[^"]*\\[/\\]}}Swift.swiftmodule{{(\\[/\\][^"]+[.]swiftmodule)?}}"
14-
// CHECK: "{{[^"]*\\[/\\]}}SwiftOnoneSupport.swiftmodule{{(\\[/\\][^"]+[.]swiftmodule)?}}"
12+
// CHECK-DAG: "{{[^"]*\\[/\\]}}Module2.swiftmodule"
13+
// CHECK-DAG: "{{[^"]*\\[/\\]}}Swift.swiftmodule{{(\\[/\\][^"]+[.]swiftmodule)?}}"
14+
// CHECK-DAG: "{{[^"]*\\[/\\]}}SwiftOnoneSupport.swiftmodule{{(\\[/\\][^"]+[.]swiftmodule)?}}"
1515
// CHECK: ]
1616
// CHECK: }
1717

0 commit comments

Comments
 (0)