aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorPrabhdeep Singh Soni <prabhdeep.singh.soni3@huawei.com>2023-09-15 11:41:35 -0400
committerPrabhdeep Singh Soni <prabhdeep.singh.soni3@huawei.com>2023-09-15 12:19:47 -0400
commit9b57b167bb4d849b6803e28f638b970f493511f9 (patch)
treed2a5cafe95c858d9c78b2ad0c0ee8504d076e72e /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parent6c8243060d3d5a4812008bb846b02e63956157b1 (diff)
downloadllvm-9b57b167bb4d849b6803e28f638b970f493511f9.zip
llvm-9b57b167bb4d849b6803e28f638b970f493511f9.tar.gz
llvm-9b57b167bb4d849b6803e28f638b970f493511f9.tar.bz2
[OMPIRBuilder] Fix shared clause for task construct
This patch fixes the shared clause for the task construct with multiple shared variables. The shareds field in the kmp_task_t is not an inline array in the struct, rather it is a pointer to an array. With an inline array, the pointer dereference to the outlined function body of the task would segmentation fault when accessed by the runtime. Reviewed By: kiranchandramohan, jdoerfert Differential Revision: https://reviews.llvm.org/D158462
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions