[Openmp-commits] [PATCH] D90962: [OpenMP] Fix possible NULL dereferences

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Nov 30 05:19:47 PST 2020


AndreyChurbanov updated this revision to Diff 308328.
AndreyChurbanov added reviewers: hbae, jlpeyton.
AndreyChurbanov added a comment.

Add function for reading numeric only values from location string. Use the function in metadata reporting for loop and single constructs.

Usages of __kmp_str_loc_init() adjusted to remove unneeded initialization/finalization of fname field of kmp_str_loc_t structure.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90962/new/

https://reviews.llvm.org/D90962

Files:
  openmp/runtime/src/kmp_itt.inl
  openmp/runtime/src/kmp_str.cpp
  openmp/runtime/src/kmp_str.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90962.308328.patch
Type: text/x-patch
Size: 6389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20201130/c2389de7/attachment.bin>


More information about the Openmp-commits mailing list