]> granicus.if.org Git - clang/commit
[CUDA] Forward sanitizer support to host toolchain
authorJason Henline <jhen@google.com>
Fri, 2 Dec 2016 17:32:18 +0000 (17:32 +0000)
committerJason Henline <jhen@google.com>
Fri, 2 Dec 2016 17:32:18 +0000 (17:32 +0000)
commit0a6cca54cd6d0ff024be0186f420efdbee8d2902
treeb738fe31ab428313b72146ea8089d941706ed108
parentca715740dceadf31185d75d7ca7e91d135d73a22
[CUDA] Forward sanitizer support to host toolchain

Summary:
This is an improvement on rL288448 where address sanitization was listed
as supported for the CudaToolChain. Since the intent is for the
CudaToolChain not to reject any flags supported by the host compiler,
this patch switches to forwarding the CudaToolChain sanitizer support to
the host toolchain rather than explicitly whitelisting address
sanitization.

Thanks to hfinkel for this suggestion.

Reviewers: jlebar

Subscribers: hfinkel, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288512 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp