File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
include/swift/RemoteInspection Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ class ReflectionContext
202
202
StoredPointer AllocatorSlabPtr;
203
203
std::vector<StoredPointer> ChildTasks;
204
204
std::vector<StoredPointer> AsyncBacktraceFrames;
205
+ StoredPointer ResumeAsyncContext;
205
206
};
206
207
207
208
struct ActorInfo {
@@ -1825,9 +1826,12 @@ class ReflectionContext
1825
1826
RecordPtr = RecordObj->Parent ;
1826
1827
}
1827
1828
1829
+ const auto TaskResumeContext = AsyncTaskObj->ResumeContextAndReserved [0 ];
1830
+ Info.ResumeAsyncContext = TaskResumeContext;
1831
+
1828
1832
// Walk the async backtrace.
1829
1833
if (Info.HasIsRunning && !Info.IsRunning ) {
1830
- auto ResumeContext = AsyncTaskObj-> ResumeContextAndReserved [ 0 ] ;
1834
+ auto ResumeContext = TaskResumeContext ;
1831
1835
unsigned AsyncBacktraceLoopCount = 0 ;
1832
1836
while (ResumeContext && AsyncBacktraceLoopCount++ < AsyncBacktraceLimit) {
1833
1837
auto ResumeContextObj = readObj<AsyncContext<Runtime>>(ResumeContext);
You can’t perform that action at this time.
0 commit comments