[Openmp-commits] [PATCH] D111580: [OpenMP] libomp: fix ittnotify usage.
Andrey Churbanov via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Oct 13 10:43:57 PDT 2021
AndreyChurbanov updated this revision to Diff 379465.
AndreyChurbanov added a comment.
Added assertions on check of __itt_domain_create() result.
Theoretically the function can return NULL pointer that would indicate broken initialization of the ittnotify library.
Though we should check the broken initialization earlier, I added the assertions just in case.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111580/new/
https://reviews.llvm.org/D111580
Files:
openmp/runtime/src/kmp_itt.cpp
openmp/runtime/src/kmp_itt.h
openmp/runtime/src/kmp_itt.inl
openmp/runtime/src/kmp_runtime.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111580.379465.patch
Type: text/x-patch
Size: 21960 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211013/b11b026a/attachment-0001.bin>
More information about the Openmp-commits
mailing list