[llvm-branch-commits] [clang] [TySan] A Type Sanitizer (Clang) (PR #76260)

Aaron Ballman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Nov 27 11:09:47 PST 2024


================
@@ -102,6 +102,7 @@ FEATURE(numerical_stability_sanitizer, LangOpts.Sanitize.has(SanitizerKind::Nume
 FEATURE(memory_sanitizer,
         LangOpts.Sanitize.hasOneOf(SanitizerKind::Memory |
                                    SanitizerKind::KernelMemory))
+FEATURE(type_sanitizer, LangOpts.Sanitize.has(SanitizerKind::Type))
----------------
AaronBallman wrote:

None of these sanitizers are features. :-( I think this is the correct thing to do for consistency, but at the same time, we keep adding more sanitizers and we keep making this problem worse.

Nothing to change here, just me grumbling. :-D

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


More information about the llvm-branch-commits mailing list