In function DeviceTy::getTargetPointer, Entry could be nullptr because of
zero length array section. We need to check if it is a valid iterator before
using it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Differential D116716
[OpenMP][Offloading] Fixed a crash caused by dereferencing nullptr tianshilei1992 on Jan 5 2022, 5:42 PM. Authored by
Details In function DeviceTy::getTargetPointer, Entry could be nullptr because of
Diff Detail
|