This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Don't try to run sanitizers on NVPTX.
ClosedPublic

Authored by jlebar on Sep 15 2016, 4:49 PM.

Details

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.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 71572.Sep 15 2016, 4:49 PM
jlebar retitled this revision from to [CUDA] Don't try to run sanitizers on NVPTX..
jlebar updated this object.
jlebar added a reviewer: kcc.
jlebar added subscribers: jhen, tra, cfe-commits.
kcc accepted this revision.Sep 15 2016, 4:50 PM
kcc edited edge metadata.

LGTM

This revision is now accepted and ready to land.Sep 15 2016, 4:50 PM
This revision was automatically updated to reflect the committed changes.