aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-01-20 12:06:47 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2022-01-20 21:06:26 -0500
commit0dfe953294ba1c0fc43fb710518b9b5a608b223a (patch)
tree674bb27091f65228cfdf5b699b5dc905632ea7a1 /clang/lib/Frontend/CompilerInvocation.cpp
parent156b997251db6d87636fa300d7654989caa01dea (diff)
downloadllvm-0dfe953294ba1c0fc43fb710518b9b5a608b223a.zip
llvm-0dfe953294ba1c0fc43fb710518b9b5a608b223a.tar.gz
llvm-0dfe953294ba1c0fc43fb710518b9b5a608b223a.tar.bz2
[OpenMP] Change default visibility to protected for device declarations
This patch changes the special-case handling of visibility when compiling for an OpenMP target offloading device. This was orignally added as a precaution against the bug encountered in PR41826 when symbols in the device were being preempted by shared library symbols. This should instead be done by making the visibility protected by default. With protected visibility we are asserting that the symbols on the device will never be preempted or preempt another symbol pending a shared library load. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D117806
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions