b-sumner wrote:

> Broad question, should we instead aim for having `-fsanitize` work for both 
> sides? I've always been very much against all these `*-gpu` bloat flags when 
> we could just do `-Xarch_host -fsanitize` or `-Xarch_device -fsanitize`. The 
> word against that it usually whether or not it would force people to update 
> some makefiles.

I'm not sure I follow the question exactly, but in my opinion it does not make 
sense to independently control instrumentation for host and device.  We had to 
implement a means to control instrumentation on the device when development 
started and after we changed its default once development was complete we kept 
the option just in case.

https://github.com/llvm/llvm-project/pull/124754
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to