diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-04-12 09:58:20 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-04-12 09:58:20 +0000 |
commit | 0045c72f9c40192fd6e1905a82dca94ecb1ec8b5 (patch) | |
tree | 4274f2baa121a554a0bbb9deef12a2615e131438 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4955c77c2df3e00b96fa71e20aee119ba0d991e9 (diff) | |
download | llvm-0045c72f9c40192fd6e1905a82dca94ecb1ec8b5.zip llvm-0045c72f9c40192fd6e1905a82dca94ecb1ec8b5.tar.gz llvm-0045c72f9c40192fd6e1905a82dca94ecb1ec8b5.tar.bz2 |
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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions