From 393dee3697b08b6504103edb9a7164a4cd56c1a5 Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Sun, 19 Nov 2023 19:53:02 +0200 Subject: [PATCH] add sanitizer flags --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 5f3882d9..a20842f3 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,10 @@ Common options for Cmake are: * `-DBUILD_SVE2=[On|Off]` Enable code for SVE2, implies `BUILD_SVE`. Most non-Neon code is written for SVE2 * `-DBUILD_SVE2_BITPERM=[On|Off]` Enable code for SVE2_BITPERM harwdare feature, implies `BUILD_SVE2`. +## Other options + +* `SANITIZE=[address|memory|undefined]` (experimental) Use `libasan` sanitizer to detect possible bugs. For now only `address` is tested. This will eventually be integrated in the CI. + ## Build If `cmake` has completed successfully you can run `make` in the same directory, if you have a multi-core system with `N` cores, running