diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-02-11 23:07:30 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-02-11 23:07:30 +0000 |
commit | 134f90d59fd19d5ab34f055177acada4da3d9485 (patch) | |
tree | f1595bb937c78c1b39d911d37ee214c0e7dc7602 /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
parent | a4e43c5b519222bfbc2590d753b488f1c13a4ed6 (diff) | |
download | bcm5719-llvm-134f90d59fd19d5ab34f055177acada4da3d9485.tar.gz bcm5719-llvm-134f90d59fd19d5ab34f055177acada4da3d9485.zip |
Fix incorrect task_team in __kmp_give_task
When a target task finishes and it tries to access the th_task_team from the
threads in the team where it was created, th_task_team can be NULL or point to
a different place when that thread started a nested region that is still
running. Finding the exact task_team that the threads were using is difficult
as it would require to unwind the task_state_memo_stack. So a new field was added
in the taskdata structure to point to the active task_team when the task was
created.
llvm-svn: 260615
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions