We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d80fe4 commit 262419fCopy full SHA for 262419f
Sources/SwiftDriver/Jobs/CompileJob.swift
@@ -199,7 +199,7 @@ extension Driver {
199
}
200
201
202
- if parsedOptions.contains(.debugInfoStoreInvocation) &&
+ if parsedOptions.contains(.debugInfoStoreInvocation) ||
203
toolchain.shouldStoreInvocationInDebugInfo {
204
commandLine.appendFlag(.debugInfoStoreInvocation)
205
Sources/SwiftDriver/Toolchains/DarwinToolchain.swift
@@ -108,7 +108,7 @@ public final class DarwinToolchain: Toolchain {
108
109
public var shouldStoreInvocationInDebugInfo: Bool {
110
// This matches the behavior in Clang.
111
- !(env["RC_DEBUG_OPTIONS"]?.isEmpty ?? false)
+ !(env["RC_DEBUG_OPTIONS"]?.isEmpty ?? true)
112
113
114
public func runtimeLibraryName(
0 commit comments