aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/TransformerTest.cpp
diff options
context:
space:
mode:
authorAndreyChurbanov <andrey.churbanov@intel.com>2020-07-21 00:12:46 +0300
committerAndreyChurbanov <andrey.churbanov@intel.com>2020-07-21 00:12:46 +0300
commit917f8421591d2cc53c48ebd17d88b0dd3255aa2c (patch)
treeb82124bd834fd2c72f7afd81ebf84ffad27d606a /clang/unittests/Tooling/TransformerTest.cpp
parent001c8e1fd9f09d3de9ff6e64bdac4b8ca681dfb4 (diff)
downloadllvm-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