diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-11-30 20:05:13 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-11-30 20:05:13 +0000 |
commit | e1dad19aac56e99abb06fb8d32e9c21e89558147 (patch) | |
tree | be38de4a19940568ad0d6a915028d18be33e1661 /lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py | |
parent | 01dcf36bd54be75dcf6c3cc9cc8d1f20e783d86a (diff) | |
download | bcm5719-llvm-e1dad19aac56e99abb06fb8d32e9c21e89558147.tar.gz bcm5719-llvm-e1dad19aac56e99abb06fb8d32e9c21e89558147.zip |
Fix crash when __kmp_task_team_setup called for single threaded team
The task_team pointer is dereferenced unconditionally which causes a SEGFAULT
when it is NULL (e.g. for serialized parallel, that can happen for "teams"
construct or for "target nowait"). The solution is to skip second task team
setup for single thread team.
Differential Revision: http://reviews.llvm.org/D14729
llvm-svn: 254321
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py')
0 files changed, 0 insertions, 0 deletions