[clang] [OpenMP][ASan] Enable ASan Instrumentation for AMDGPUOpenMPToolChain. (PR #124754)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 28 07:33:14 PST 2025
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
More information about the cfe-commits
mailing list