Skip to content

Commit b74fc8a

Browse files
committed
[Concurrency] Fix swift-inspect and remote mirror build
1 parent c08a1ee commit b74fc8a

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

include/swift/RemoteInspection/ReflectionContext.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ class ReflectionContext
184184
bool IsFuture;
185185
bool IsGroupChildTask;
186186
bool IsAsyncLetTask;
187+
bool IsSynchronousStartTask;
187188

188189
// Task flags.
189190
unsigned MaxPriority;

include/swift/SwiftRemoteMirror/SwiftRemoteMirrorTypes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ typedef struct swift_async_task_info {
243243
bool IsFuture;
244244
bool IsGroupChildTask;
245245
bool IsAsyncLetTask;
246+
bool IsSynchronousStartTask;
246247

247248
unsigned MaxPriority;
248249
bool IsCancelled;

stdlib/public/SwiftRemoteMirror/SwiftRemoteMirror.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,7 @@ swift_reflection_asyncTaskInfo(SwiftReflectionContextRef ContextRef,
10131013
Result.IsFuture = TaskInfo.IsFuture;
10141014
Result.IsGroupChildTask = TaskInfo.IsGroupChildTask;
10151015
Result.IsAsyncLetTask = TaskInfo.IsAsyncLetTask;
1016+
Result.IsSynchronousStartTask = TaskInfo.IsSynchronousStartTask;
10161017

10171018
Result.MaxPriority = TaskInfo.MaxPriority;
10181019
Result.IsCancelled = TaskInfo.IsCancelled;

tools/swift-inspect/Sources/swift-inspect/Operations/DumpConcurrency.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ fileprivate class ConcurrencyDumper {
212212
isStatusRecordLocked: reflectionInfo.IsStatusRecordLocked,
213213
isEscalated: reflectionInfo.IsEscalated,
214214
hasIsRunning: reflectionInfo.HasIsRunning,
215+
isSynchronousStartTask: reflectionInfo.IsSynchronousStartTask,
215216
isRunning: reflectionInfo.IsRunning,
216217
isEnqueued: reflectionInfo.IsEnqueued,
217218
threadPort: reflectionInfo.HasThreadPort

0 commit comments

Comments
 (0)