This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Forward sanitizer support to host toolchain
ClosedPublic

Authored by jhen on Dec 2 2016, 9:32 AM.

Details

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.

Diff Detail

Repository
rL LLVM

Event Timeline

jhen updated this revision to Diff 80082.Dec 2 2016, 9:32 AM
jhen retitled this revision from to [CUDA] Forward sanitizer support to host toolchain.
jhen updated this object.
jhen added a reviewer: jlebar.
jhen added subscribers: cfe-commits, hfinkel.
jlebar accepted this revision.Dec 2 2016, 9:37 AM
jlebar edited edge metadata.

I like it!

This revision is now accepted and ready to land.Dec 2 2016, 9:37 AM
hfinkel accepted this revision.Dec 2 2016, 9:38 AM
hfinkel added a reviewer: hfinkel.

LGTM

This revision was automatically updated to reflect the committed changes.