]> granicus.if.org Git - clang/commit
[CUDA] Don't try to run sanitizers on NVPTX.
authorJustin Lebar <jlebar@google.com>
Thu, 15 Sep 2016 23:44:13 +0000 (23:44 +0000)
committerJustin Lebar <jlebar@google.com>
Thu, 15 Sep 2016 23:44:13 +0000 (23:44 +0000)
commit5a8a262055f56a6bb896e2f5616233beac2d2673
tree23a5bb5962b405d143897d196d3dd5465a6dcded
parent38edf4b1b5192ff6d2232bfd0620ede219b672fd
[CUDA] Don't try to run sanitizers on NVPTX.

Summary:
Sanitizers aren't supported on NVPTX -- don't try to run them.

This lets you e.g. pass -fsanitize=address and get asan on your host
code.

Reviewers: kcc

Subscribers: cfe-commits, tra, jhen

Differential Revision: https://reviews.llvm.org/D24640

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281680 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/SanitizerArgs.cpp
test/Driver/cuda-no-sanitizers.cu [new file with mode: 0644]