@@ -23,14 +23,14 @@ import Glibc
23
23
#endif
24
24
25
25
/// Delegate for printing execution information on the command-line.
26
- final class ToolExecutionDelegate : JobExecutionDelegate {
26
+ @ _spi ( Testing ) public final class ToolExecutionDelegate : JobExecutionDelegate {
27
27
/// Quasi-PIDs are _negative_ PID-like unique keys used to
28
28
/// masquerade batch job constituents as (quasi)processes, when writing
29
29
/// parseable output to consumers that don't understand the idea of a batch
30
30
/// job. They are negative in order to avoid possibly colliding with real
31
31
/// PIDs (which are always positive). We start at -1000 here as a crude but
32
32
/// harmless hedge against colliding with an errno value that might slip
33
- /// into the stream of real PIDs (say, due to a TaskQueue bug) .
33
+ /// into the stream of real PIDs.
34
34
static let QUASI_PID_START = - 1000
35
35
36
36
public enum Mode {
@@ -50,12 +50,12 @@ final class ToolExecutionDelegate: JobExecutionDelegate {
50
50
private let argsResolver : ArgsResolver
51
51
private var batchJobInputQuasiPIDMap = DictionaryOfDictionaries < Job , TypedVirtualPath , Int > ( )
52
52
53
- init ( mode: ToolExecutionDelegate . Mode ,
54
- buildRecordInfo: BuildRecordInfo ? ,
55
- incrementalCompilationState: IncrementalCompilationState ? ,
56
- showJobLifecycle: Bool ,
57
- argsResolver: ArgsResolver ,
58
- diagnosticEngine: DiagnosticsEngine ) {
53
+ @ _spi ( Testing ) public init ( mode: ToolExecutionDelegate . Mode ,
54
+ buildRecordInfo: BuildRecordInfo ? ,
55
+ incrementalCompilationState: IncrementalCompilationState ? ,
56
+ showJobLifecycle: Bool ,
57
+ argsResolver: ArgsResolver ,
58
+ diagnosticEngine: DiagnosticsEngine ) {
59
59
self . mode = mode
60
60
self . buildRecordInfo = buildRecordInfo
61
61
self . incrementalCompilationState = incrementalCompilationState
0 commit comments