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

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 20 23:03:24 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;
----------------
brad0 wrote:

There is a patch set in the haikuports recipe I am going to upstream.

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


More information about the cfe-commits mailing list