[PATCH] D114546: [OPENMP]Fix PR52117: Crash caused by target region inside of task construct.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 24 10:33:38 PST 2021


ABataev created this revision.
ABataev added reviewers: jdoerfert, mikerice.
Herald added subscribers: guansong, yaxunl.
ABataev requested review of this revision.
Herald added a subscriber: sstefan1.
Herald added a project: clang.

Need to do the analysis of the captured expressions in the clauses.
Previously the compiler ignored them and it may lead to a compiler crash
trying to get the address of the mapped variables.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114546

Files:
  clang/lib/Sema/SemaOpenMP.cpp
  clang/test/Analysis/cfg-openmp.cpp
  clang/test/OpenMP/task_target_device_codegen.c
  clang/test/OpenMP/taskloop_codegen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114546.389546.patch
Type: text/x-patch
Size: 13648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211124/d200fdd1/attachment-0001.bin>


More information about the cfe-commits mailing list