[all-commits] [llvm/llvm-project] 4dd8fc: [OpenMP] libomp: Fix crash if application send us ...

Andrey Churbanov via All-commits all-commits at lists.llvm.org
Wed Dec 8 08:03:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4dd8fccb7177585004a15d583bcba139d393f23c
      https://github.com/llvm/llvm-project/commit/4dd8fccb7177585004a15d583bcba139d393f23c
  Author: AndreyChurbanov <andrey.churbanov at intel.com>
  Date:   2021-12-08 (Wed, 08 Dec 2021)

  Changed paths:
    M openmp/runtime/src/i18n/en_US.txt
    M openmp/runtime/src/kmp_runtime.cpp

  Log Message:
  -----------
  [OpenMP] libomp: Fix crash if application send us negative thread_limit value

Regardless that specification requires thread_limit to be positive,
it is better to warn user instead of crash in case the value is negative.

Differential Revision: https://reviews.llvm.org/D115340




More information about the All-commits mailing list