[clang] [OpenMP][ASan] Enable ASan Instrumentation for AMDGPUOpenMPToolChain. (PR #124754)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 28 08:01:51 PST 2025
================
@@ -37,6 +37,16 @@ AMDGPUOpenMPToolChain::AMDGPUOpenMPToolChain(const Driver &D,
// Lookup binaries into the driver directory, this is used to
// discover the 'amdgpu-arch' executable.
getProgramPaths().push_back(getDriver().Dir);
+ // Diagnose unsupported sanitizer options only once.
+ if (!Args.hasFlag(options::OPT_fgpu_sanitize, options::OPT_fno_gpu_sanitize,
----------------
jhuber6 wrote:
@b-sumner I'm basing it on this, but it seems this isn't a new flag, so it's probably some existing behavior?
https://github.com/llvm/llvm-project/pull/124754
More information about the cfe-commits
mailing list