[Openmp-commits] [PATCH] D129608: [Clang][OpenMP] Fix segmentation fault when data field is used in is_device_pt.
Alexey Bataev via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Aug 11 11:50:45 PDT 2022
ABataev added inline comments.
================
Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:9076
+ // DeclComponentLists for generating components info.
+ auto It = DevPointersMap.find(VD);
+ if (It != DevPointersMap.end())
----------------
VD is still nullptr here, why do we need to lookup for it?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129608/new/
https://reviews.llvm.org/D129608
More information about the Openmp-commits
mailing list