HomePhabricator

Don't assume backing thread shares protocol ID.

Description

Don't assume backing thread shares protocol ID.

When we're dealing with virtual (memory) threads created by the OS
plugins, there's no guarantee that the real thread and the backing
thread share a protocol ID. Instead, we should iterate over the memory
threads to find the virtual thread that is backed by the current real
thread.

Differential revision: https://reviews.llvm.org/D45497

rdar://36485830

Details

Committed
JDevlieghereApr 12 2018, 2:58 AM
Differential Revision
D45497: Don't assume the backing thread shares a Protocol ID
Parents
rLLDB329890: [dotest] Fix syntax error and typo.
Branches
Unknown
Tags
Unknown