diff --git a/Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift b/Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift index c5d6a099b..139bda0f8 100644 --- a/Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift +++ b/Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift @@ -254,6 +254,9 @@ extension Driver { try commandLine.appendAll(.debugPrefixMap, .coveragePrefixMap, .filePrefixMap, from: &parsedOptions) try commandLine.appendAllArguments(.Xfrontend, from: &parsedOptions) try commandLine.appendLast(.warnConcurrency, from: &parsedOptions) + if isFrontendArgSupported(.noAllocations) { + try commandLine.appendLast(.noAllocations, from: &parsedOptions) + } if isFrontendArgSupported(.enableExperimentalFeature) { try commandLine.appendAll( .enableExperimentalFeature, from: &parsedOptions)