diff options
author | Artem Belevich <tra@google.com> | 2015-09-22 17:22:51 +0000 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2015-09-22 17:22:51 +0000 |
commit | c3fa25def7618c052f68539aa0737bd4a5d70039 (patch) | |
tree | 0e7db7fb67e9834e9fb240868621ad89333a191b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 64f67be319f0af7f276ded9f3bd8e0afc288563c (diff) | |
download | bcm5719-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