summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2016-02-11 23:07:30 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2016-02-11 23:07:30 +0000
commit134f90d59fd19d5ab34f055177acada4da3d9485 (patch)
treef1595bb937c78c1b39d911d37ee214c0e7dc7602 /llvm/tools/llvm-readobj/llvm-readobj.cpp
parenta4e43c5b519222bfbc2590d753b488f1c13a4ed6 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud