[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:04 PDT 2025


================
@@ -2194,6 +2194,8 @@ are listed below.
       protection against stack-based memory corruption errors.
    -  ``-fsanitize=realtime``: :doc:`RealtimeSanitizer`,
       a real-time safety checker.
+   -  ``-fsanitize=alloc-token``: :doc:`AllocToken`,
+      allocation token instrumentation (requires compatible allocator).
----------------
zmodem wrote:

For someone who hasn't read the doc, this description is probably pretty opaque. Could you add a few more words on what this is for, and how it fits under the  "Turn on runtime checks" header above?

https://github.com/llvm/llvm-project/pull/156839


More information about the llvm-branch-commits mailing list