]> git.ipfire.org Git - thirdparty/zstd.git/commit
Allow user to override ASAN/MSAN detection
authorNick Terrell <terrelln@fb.com>
Thu, 24 Sep 2020 23:04:21 +0000 (16:04 -0700)
committerNick Terrell <terrelln@fb.com>
Fri, 25 Sep 2020 02:42:04 +0000 (19:42 -0700)
commitcaecd8c21151f33c8c9bfe89aa665dc1a7175af0
treee15c5c0a21c4996307dfe6c606d0040a2cfee389
parent88fac5d514693a4960b9a11724e9f9d2df8cda21
Allow user to override ASAN/MSAN detection

Rename ADDRESS_SANITIZER -> ZSTD_ADDRESS_SANITIZER and same for
MEMORY_SANITIZER. Also set it to 0/1 instead of checking for defined.
This allows the user to override ASAN/MSAN detection for platforms that
don't support it.
contrib/linux-kernel/Makefile
lib/common/compiler.h
lib/compress/zstd_cwksp.h