diff options
| author | AndreyChurbanov <andrey.churbanov@intel.com> | 2022-02-12 03:00:38 +0300 |
|---|---|---|
| committer | AndreyChurbanov <andrey.churbanov@intel.com> | 2022-02-12 03:00:38 +0300 |
| commit | cb1bee4725c475bd32df3f4ce9ba2ebe30dcf9de (patch) | |
| tree | 0c61ac733e6f6aef8fe15922fd023b3cb3434c95 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | 7fbabe6ee4213d172c7552becd9b074e18a24c6f (diff) | |
[OpenMP] libomp: fix UB when LIBOMP_NUM_HIDDEN_HELPER_THREADS=1.
The __kmp_hidden_helper_threads_num set to N+1 if user requested N threads.
Thus number of worker hidden helper threads corresponds to user request,
main thread of helper team excluded as it does not participate in actual work.
This also fixes divide-by-0 issue in the code.
Fixes #48656
Differential Revision: https://reviews.llvm.org/D119586
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
