Skip to content

Commit 8c78e4c

Browse files
committed
---
yaml --- r: 347830 b: refs/heads/master c: c3eb9ff h: refs/heads/master
1 parent f8a9588 commit 8c78e4c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
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: f2b5ce4b511e8210c98f92b0627a8f19cf3365ca
2+
refs/heads/master: c3eb9ff860623bfe9a298a3fd454ec857195c8ad
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/WindowsToolChains.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ toolchains::Windows::constructInvocation(const LinkJobAction &job,
7171
if (!Linker.empty())
7272
Arguments.push_back(context.Args.MakeArgString("-fuse-ld=" + Linker));
7373

74-
if (context.OI.DebugInfoFormat == IRGenDebugInfoFormat::CodeView)
75-
Arguments.push_back("-Wl,/DEBUG");
74+
if (context.OI.DebugInfoFormat == IRGenDebugInfoFormat::CodeView) {
75+
Arguments.push_back("-Xlinker");
76+
Arguments.push_back("/DEBUG");
77+
}
7678

7779
// Configure the toolchain.
7880
// By default, use the system clang++ to link.

0 commit comments

Comments
 (0)