[clang] [OpenMP][ASan] Enable ASan Instrumentation for AMDGPUOpenMPToolChain. (PR #124754)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 3 05:50:56 PST 2025
================
@@ -71,10 +71,10 @@ llvm::opt::DerivedArgList *AMDGPUOpenMPToolChain::TranslateArgs(
const OptTable &Opts = getDriver().getOpts();
- for (Arg *A : Args) {
- if (!llvm::is_contained(*DAL, A))
+ for (Arg *A : Args)
+ if (!shouldSkipSanitizeOption(*this, Args, BoundArch, A) &&
----------------
jhuber6 wrote:
I think this should probably go in `TranslateOpenMPTargetArgs` instead.
https://github.com/llvm/llvm-project/pull/124754
More information about the cfe-commits
mailing list