diff options
author | AndreyChurbanov <andrey.churbanov@intel.com> | 2020-07-21 00:12:46 +0300 |
---|---|---|
committer | AndreyChurbanov <andrey.churbanov@intel.com> | 2020-07-21 00:12:46 +0300 |
commit | 917f8421591d2cc53c48ebd17d88b0dd3255aa2c (patch) | |
tree | b82124bd834fd2c72f7afd81ebf84ffad27d606a /clang/unittests/Tooling/TransformerTest.cpp | |
parent | 001c8e1fd9f09d3de9ff6e64bdac4b8ca681dfb4 (diff) | |
download | llvm-917f8421591d2cc53c48ebd17d88b0dd3255aa2c.zip llvm-917f8421591d2cc53c48ebd17d88b0dd3255aa2c.tar.gz llvm-917f8421591d2cc53c48ebd17d88b0dd3255aa2c.tar.bz2 |
[OpenMP] libomp cleanup: add checks of bad memory access
Add check of frm to prevent array out-of-bound access;
add check of new_nproc to prevent access of unallocated hot_teams array;
add check of location info pointer to prevent NULL dereference;
add check of d_tn pointer to prevent NULL dereference in release build.
These checks make static analyzers happier.
This is second part of the patch from https://reviews.llvm.org/D84062.
Diffstat (limited to 'clang/unittests/Tooling/TransformerTest.cpp')
0 files changed, 0 insertions, 0 deletions