From: Konstantinos Margaritis Date: Sun, 19 Nov 2023 17:53:02 +0000 (+0200) Subject: add sanitizer flags X-Git-Tag: vectorscan/5.4.11~1^2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=393dee3697b08b6504103edb9a7164a4cd56c1a5;p=thirdparty%2Fvectorscan.git add sanitizer flags --- 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