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

David CARLIER via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 20 23:05:10 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:

ah alright then..

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


More information about the cfe-commits mailing list