HomePhabricator

Don't assume backing thread shares protocol ID.

Authored by JDevlieghere on Apr 12 2018, 2:58 AM.

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

llvm-svn: 329891

Details

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