summaryrefslogtreecommitdiffstats
path: root/openmp/libomptarget/test/offloading/dynamic_module.c
Commit message (Collapse)AuthorAgeFilesLines
* [LIBOMPTARGET]Ignore empty target descriptors.Alexey Bataev2020-01-101-0/+17
Summary: If the dynamically loaded module has been compiled with -fopenmp-targets and has no target regions, it has empty target descriptor. It leads to a crash at the runtime if another module has at least one target region and at least one entry in its descriptor. The runtime library is unable to load the empty binary descriptor and terminates the execution. Caused by a clang-offload-wrapper. Reviewers: grokos, jdoerfert Subscribers: caomhin, kkwli0, openmp-commits Tags: #openmp Differential Revision: https://reviews.llvm.org/D72472
OpenPOWER on IntegriCloud