[all-commits] [llvm/llvm-project] 787eb0: [OpenMP] libomp cleanup: add check of input global...

Andrey Churbanov via All-commits all-commits at lists.llvm.org
Mon Jul 20 13:50:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 787eb0c637b26ce88e91403584b016a42ab5d59c
      https://github.com/llvm/llvm-project/commit/787eb0c637b26ce88e91403584b016a42ab5d59c
  Author: AndreyChurbanov <andrey.churbanov at intel.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_csupport.cpp
    M openmp/runtime/src/kmp_dispatch.cpp
    M openmp/runtime/src/kmp_error.cpp
    M openmp/runtime/src/kmp_sched.cpp
    M openmp/runtime/src/kmp_taskdeps.cpp
    M openmp/runtime/src/kmp_tasking.cpp

  Log Message:
  -----------
  [OpenMP] libomp cleanup: add check of input global tid parameter

Add check of negative gtid before indexing __kmp_threads.
This makes static analyzers happier.
This is the first part of the patch split in two parts.

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




More information about the All-commits mailing list