summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorArtem Belevich <tra@google.com>2015-09-22 17:22:51 +0000
committerArtem Belevich <tra@google.com>2015-09-22 17:22:51 +0000
commitc3fa25def7618c052f68539aa0737bd4a5d70039 (patch)
tree0e7db7fb67e9834e9fb240868621ad89333a191b /clang/lib/Frontend/CompilerInvocation.cpp
parent64f67be319f0af7f276ded9f3bd8e0afc288563c (diff)
downloadbcm5719-llvm-c3fa25def7618c052f68539aa0737bd4a5d70039.tar.gz
bcm5719-llvm-c3fa25def7618c052f68539aa0737bd4a5d70039.zip
[CUDA] Add implicit __attribute__((used)) to all __global__ functions.
This makes sure that we emit kernels that were instantiated from the host code and which would never be explicitly referenced by anything else on device side. Differential Revision: http://reviews.llvm.org/D11666 llvm-svn: 248293
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud