@@ -433,9 +433,9 @@ public struct ClangTaskPayload: ClangModuleVerifierPayloadType, DependencyInfoEd
433433 public let fileNameMapPath : Path ?
434434
435435 public let moduleDependenciesContext : ModuleDependenciesContext ?
436- public let traceFile : Path ?
436+ public let traceFilePath : Path ?
437437
438- fileprivate init ( serializedDiagnosticsPath: Path ? , indexingPayload: ClangIndexingPayload ? , explicitModulesPayload: ClangExplicitModulesPayload ? = nil , outputObjectFilePath: Path ? = nil , fileNameMapPath: Path ? = nil , developerPathString: String ? = nil , moduleDependenciesContext: ModuleDependenciesContext ? = nil , traceFile : Path ? = nil ) {
438+ fileprivate init ( serializedDiagnosticsPath: Path ? , indexingPayload: ClangIndexingPayload ? , explicitModulesPayload: ClangExplicitModulesPayload ? = nil , outputObjectFilePath: Path ? = nil , fileNameMapPath: Path ? = nil , developerPathString: String ? = nil , moduleDependenciesContext: ModuleDependenciesContext ? = nil , traceFilePath : Path ? = nil ) {
439439 if let developerPathString, explicitModulesPayload == nil {
440440 self . dependencyInfoEditPayload = . init( removablePaths: [ ] , removableBasenames: [ ] , developerPath: Path ( developerPathString) )
441441 } else {
@@ -447,7 +447,7 @@ public struct ClangTaskPayload: ClangModuleVerifierPayloadType, DependencyInfoEd
447447 self . outputObjectFilePath = outputObjectFilePath
448448 self . fileNameMapPath = fileNameMapPath
449449 self . moduleDependenciesContext = moduleDependenciesContext
450- self . traceFile = traceFile
450+ self . traceFilePath = traceFilePath
451451 }
452452
453453 public func serialize< T: Serializer > ( to serializer: T ) {
@@ -459,7 +459,7 @@ public struct ClangTaskPayload: ClangModuleVerifierPayloadType, DependencyInfoEd
459459 serializer. serialize ( fileNameMapPath)
460460 serializer. serialize ( dependencyInfoEditPayload)
461461 serializer. serialize ( moduleDependenciesContext)
462- serializer. serialize ( traceFile )
462+ serializer. serialize ( traceFilePath )
463463 }
464464 }
465465
@@ -472,7 +472,7 @@ public struct ClangTaskPayload: ClangModuleVerifierPayloadType, DependencyInfoEd
472472 self . fileNameMapPath = try deserializer. deserialize ( )
473473 self . dependencyInfoEditPayload = try deserializer. deserialize ( )
474474 self . moduleDependenciesContext = try deserializer. deserialize ( )
475- self . traceFile = try deserializer. deserialize ( )
475+ self . traceFilePath = try deserializer. deserialize ( )
476476 }
477477}
478478
@@ -1166,7 +1166,7 @@ public class ClangCompilerSpec : CompilerSpec, SpecIdentifierType, GCCCompatible
11661166 }
11671167
11681168 let moduleDependenciesContext = cbc. producer. moduleDependenciesContext
1169- let traceFile : Path ?
1169+ let traceFilePath : Path ?
11701170 if clangInfo? . hasFeature ( " print-headers-direct-per-file " ) ?? false ,
11711171 ( moduleDependenciesContext? . validate ?? . defaultValue) != . no {
11721172 let file = Path ( outputNode. path. str + " .trace.json " )
@@ -1176,9 +1176,9 @@ public class ClangCompilerSpec : CompilerSpec, SpecIdentifierType, GCCCompatible
11761176 " -Xclang " , " -header-include-filtering=direct-per-file " ,
11771177 " -Xclang " , " -header-include-format=json "
11781178 ]
1179- traceFile = file
1179+ traceFilePath = file
11801180 } else {
1181- traceFile = nil
1181+ traceFilePath = nil
11821182 }
11831183
11841184 // Add the diagnostics serialization flag. We currently place the diagnostics file right next to the output object file.
@@ -1293,7 +1293,7 @@ public class ClangCompilerSpec : CompilerSpec, SpecIdentifierType, GCCCompatible
12931293 fileNameMapPath: verifierPayload? . fileNameMapPath,
12941294 developerPathString: recordSystemHeaderDepsOutsideSysroot ? cbc. scope. evaluate ( BuiltinMacros . DEVELOPER_DIR) . str : nil ,
12951295 moduleDependenciesContext: moduleDependenciesContext,
1296- traceFile : traceFile
1296+ traceFilePath : traceFilePath
12971297 )
12981298
12991299 var inputNodes : [ any PlannedNode ] = inputDeps. map { delegate. createNode ( $0) }
0 commit comments