[clang] [Driver] Haiku address sanitizer support (PR #132335)

David CARLIER via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 20 22:57:46 PDT 2025


================
@@ -281,3 +286,11 @@ void Haiku::addLibCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
 Tool *Haiku::buildLinker() const { return new tools::haiku::Linker(*this); }
 
 bool Haiku::HasNativeLLVMSupport() const { return true; }
+
+SanitizerMask Haiku::getSupportedSanitizers() const {
+  SanitizerMask Res = ToolChain::getSupportedSanitizers();
+
+  Res |= SanitizerKind::Address;
----------------
devnexen wrote:

Do you have a feasibility plan ? Otherwise, fuzzer for example might be an easier promise.

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


More information about the cfe-commits mailing list