[Openmp-commits] [PATCH] D84062: [OpenMP] libomp cleanup: add check of input global tid parameter

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Jul 17 11:24:33 PDT 2020


AndreyChurbanov created this revision.
AndreyChurbanov added reviewers: hbae, tlwilmar.
AndreyChurbanov added a project: OpenMP.
Herald added subscribers: openmp-commits, sstefan1, guansong, yaxunl.
Herald added a reviewer: jdoerfert.

Added checks on negative gtid before indexing __kmp_threads.
This makes static analyzers happier.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84062

Files:
  openmp/runtime/src/kmp.h
  openmp/runtime/src/kmp_csupport.cpp
  openmp/runtime/src/kmp_error.cpp
  openmp/runtime/src/kmp_itt.inl
  openmp/runtime/src/kmp_runtime.cpp
  openmp/runtime/src/kmp_threadprivate.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84062.278857.patch
Type: text/x-patch
Size: 11539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200717/5047ee76/attachment.bin>


More information about the Openmp-commits mailing list