File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tools/swift-inspect/Sources/swift-inspect/Operations Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ fileprivate class ConcurrencyDumper {
323323 print ( " warning: unable to decode is-running state of target tasks, running state and async backtraces will not be printed " )
324324 }
325325
326- let taskToThread : [ swift_addr_t : swift_reflection_ptr_t ] =
326+ let taskToThread : [ swift_addr_t : UInt64 ] =
327327 Dictionary ( threadCurrentTasks. map { ( $1, $0) } , uniquingKeysWith: { $1 } )
328328
329329 var lastChilds : [ Bool ] = [ ]
@@ -364,7 +364,7 @@ fileprivate class ConcurrencyDumper {
364364 let flags = decodeTaskFlags ( task)
365365
366366 output ( " Task \( hex: task. id) - flags= \( flags) enqueuePriority= \( hex: task. enqueuePriority) maxPriority= \( hex: task. maxPriority) address= \( hex: task. address) " )
367- if let thread = taskToThread [ task. address] {
367+ if let thread = taskToThread [ swift_addr_t ( task. address) ] {
368368 output ( " current task on thread \( hex: thread) " )
369369 }
370370 if let parent = task. parent {
You can’t perform that action at this time.
0 commit comments