[all-commits] [llvm/llvm-project] 94ec99: [OpenMP][OMPT] Add two missing nullpointer checks ...
Joachim via All-commits
all-commits at lists.llvm.org
Fri Jul 7 05:01:58 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 94ec99752112e42dad54588d800d99bc2ee0dfb0
https://github.com/llvm/llvm-project/commit/94ec99752112e42dad54588d800d99bc2ee0dfb0
Author: Joachim Jenke <jenke at itc.rwth-aachen.de>
Date: 2023-07-07 (Fri, 07 Jul 2023)
Changed paths:
M openmp/tools/multiplex/ompt-multiplex.h
Log Message:
-----------
[OpenMP][OMPT] Add two missing nullpointer checks in ompt-multiplex.h
In the functions ompt_multiplex_get_own_ompt_data
and ompt_multiplex_get_client_ompt_data in addition to
data being NULL, also the void pointer field "ptr" of
"data" could be NULL, leading to a subsequent
segfault.
This patch add the corresponding checks.
Patch prepared by Semih Burak
Differential Revision: https://reviews.llvm.org/D112806
Commit: d679c904c2d79a939ead994242a282d95ae0bb58
https://github.com/llvm/llvm-project/commit/d679c904c2d79a939ead994242a282d95ae0bb58
Author: Joachim Jenke <jenke at itc.rwth-aachen.de>
Date: 2023-07-07 (Fri, 07 Jul 2023)
Changed paths:
M openmp/tools/multiplex/ompt-multiplex.h
Log Message:
-----------
[OpenMP][OMPT] Rename callback master to masked in ompt-multiplex.h
OpenMP 5.1 replaced callback ompt_callback_master_t by
ompt_callback_masked_t. In order to stick to the standard,
the implementation is updated accordingly.
Patch prepared by Semih Burak
Differential Revision: https://reviews.llvm.org/D112798
Compare: https://github.com/llvm/llvm-project/compare/36f67434f724...d679c904c2d7
More information about the All-commits
mailing list