diff options
author | Artem Belevich <tra@google.com> | 2015-04-27 19:37:53 +0000 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2015-04-27 19:37:53 +0000 |
commit | fa62ad40872b0d85f9b9a55f0b806c910edab257 (patch) | |
tree | a84ff38123dfd0635d6cf3f876b2245558998be0 /clang/lib/Sema/SemaStmt.cpp | |
parent | 0eafe5df712a0394feb8d49d629dc8bace0f292d (diff) | |
download | bcm5719-llvm-fa62ad40872b0d85f9b9a55f0b806c910edab257.tar.gz bcm5719-llvm-fa62ad40872b0d85f9b9a55f0b806c910edab257.zip |
[cuda] Ignore "TLS unsupported by target" errors for host variables during device compilation.
During device-side CUDA compilation clang currently complains about
all TLS variables, regardless of whether they are __host__ or
__device__.
This patch suppresses "TLS unsupported" errors for host variables
during device compilation and for device variables during host
compilation.
Differential Revision: http://reviews.llvm.org/D9269
llvm-svn: 235907
Diffstat (limited to 'clang/lib/Sema/SemaStmt.cpp')
0 files changed, 0 insertions, 0 deletions