File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -339,11 +339,12 @@ extension LLBuildManifestBuilder {
339
339
private func addModuleWrapCmd( _ target: SwiftTargetBuildDescription ) {
340
340
// Add commands to perform the module wrapping Swift modules when debugging statergy is `modulewrap`.
341
341
guard buildParameters. debuggingStrategy == . modulewrap else { return }
342
- let moduleWrapArgs = [
342
+ var moduleWrapArgs = [
343
343
target. buildParameters. toolchain. swiftCompiler. pathString,
344
344
" -modulewrap " , target. moduleOutputPath. pathString,
345
345
" -o " , target. wrappedModuleOutputPath. pathString
346
346
]
347
+ moduleWrapArgs += buildParameters. targetTripleArgs ( for: target. target)
347
348
manifest. addShellCmd (
348
349
name: target. wrappedModuleOutputPath. pathString,
349
350
description: " Wrapping AST for \( target. target. name) for debugging " ,
You can’t perform that action at this time.
0 commit comments