[llvm-branch-commits] [clang] [Clang] Introduce -fsanitize=alloc-token (PR #156839)
Hans Wennborg via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Sep 23 05:46:05 PDT 2025
================
@@ -0,0 +1,27 @@
+// Test AllocToken respects ignorelist for functions and files.
+//
+// RUN: %clang_cc1 -fsanitize=alloc-token -triple x86_64-linux-gnu -x c -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-ALLOW
----------------
zmodem wrote:
The `-x c` flags seem redundant in a `.c` file (here and elsewhere).
https://github.com/llvm/llvm-project/pull/156839
More information about the llvm-branch-commits
mailing list