[all-commits] [llvm/llvm-project] 2a5765: [OpenMP] [Flang] Resolved Issue llvm#76121: Implem...
chandan singh via All-commits
all-commits at lists.llvm.org
Wed May 8 22:41:26 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2a57657d5571b097eb0070e6f26ad4954c0fd990
https://github.com/llvm/llvm-project/commit/2a57657d5571b097eb0070e6f26ad4954c0fd990
Author: chandan singh <36783761+chandankds at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M openmp/runtime/src/z_Linux_asm.S
A openmp/runtime/test/misc_bugs/omp__kmpc_fork_call_if.c
Log Message:
-----------
[OpenMP] [Flang] Resolved Issue llvm#76121: Implemented Check for Unhandled Arguments in __kmpc_fork_call_if (#82221)
Root cause: Segmentation fault is caused by null pointer dereference
inside the __kmpc_fork_call_if function at
https://github.com/llvm/llvm-project/blob/main/openmp/runtime/src/z_Linux_asm.S#L1186
. __kmpc_fork_call_if is missing case to handle argc=0 .
Fix: Added a check inside the __kmp_invoke_microtask function to handle
the case when argc is 0.
---------
Co-authored-by: Singh <chasingh at amd.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list