[clang] Enable ASAN in amdgpu toolchain for OpenCL (PR #96262)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 21 01:20:03 PDT 2024
================
@@ -169,6 +180,11 @@
// COMMON-UNSAFE-MATH-SAME: "-mlink-builtin-bitcode" "{{.*}}/amdgcn/bitcode/oclc_finite_only_off.bc"
// COMMON-UNSAFE-MATH-SAME: "-mlink-builtin-bitcode" "{{.*}}/amdgcn/bitcode/oclc_correctly_rounded_sqrt_off.bc"
+// ASAN-SAME: "-fsanitize=address"
+
+// NOASAN-NOT: "-fsanitize=address"
+// NOASAN-NOT: amdgcn/bitcode/asanrtl.bc
----------------
arsenm wrote:
Usual gripe about fragility of negative tests
https://github.com/llvm/llvm-project/pull/96262
More information about the cfe-commits
mailing list