aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2020-01-09 14:54:44 -0500
committerAlexey Bataev <a.bataev@hotmail.com>2020-01-10 09:45:27 -0500
commitb19c0810e56b552d31247dcff081643799fd97fb (patch)
treeade17da055bc7ebef9a7da2c8f8b150f73cac140 /clang/lib/Frontend/CompilerInvocation.cpp
parentbac995d97896c1e785d709da24c55f0e050eb899 (diff)
downloadllvm-b19c0810e56b552d31247dcff081643799fd97fb.zip
llvm-b19c0810e56b552d31247dcff081643799fd97fb.tar.gz
llvm-b19c0810e56b552d31247dcff081643799fd97fb.tar.bz2
[LIBOMPTARGET]Ignore empty target descriptors.
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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions