[all-commits] [llvm/llvm-project] a4e25d: [AMDGPU][clang] Fix clang driver check for multipl...

Robert Imschweiler via All-commits all-commits at lists.llvm.org
Thu Nov 6 13:40:33 PST 2025


  Branch: refs/heads/users/ro-i/fix-clang-multiple-sanitize-args
  Home:   https://github.com/llvm/llvm-project
  Commit: a4e25d6ccd0e346c8e96a07f8bdeda63fc2ae795
      https://github.com/llvm/llvm-project/commit/a4e25d6ccd0e346c8e96a07f8bdeda63fc2ae795
  Author: Robert Imschweiler <robert.imschweiler at amd.com>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/AMDGPU.h
    M clang/test/Driver/amdgpu-openmp-sanitize-options.c

  Log Message:
  -----------
  [AMDGPU][clang] Fix clang driver check for multiple sanitizer arguments

`-fsanitize=address,fuzzer` should be rejected like
`-fsanitize=fuzzer,address`.
The address sanitizer enables the device sanitizer pipeline. The fuzzer
implicitly turns on LLVMs SanitizerCoverage, which the driver then
forwards to the device cc1.  SanitizerCoverage is not supported on
amdgcn.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list