[build] Fix oss-fuzz build with the dataflow sanitizer

The dataflow sanitizer requires all code to be instrumented. We can't
instrument the ASM function, so we have to disable it.
This commit is contained in:
Nick Terrell
2021-09-23 11:48:39 -07:00
parent e3feec74d3
commit d7ef97a013
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -47,7 +47,7 @@
* Disable when MSAN is enabled.
*/
#if defined(__linux__) || defined(__linux) || defined(__APPLE__)
# if ZSTD_MEMORY_SANITIZER
# if ZSTD_MEMORY_SANITIZER || ZSTD_DATAFLOW_SANITIZER
# define HUF_ASM_SUPPORTED 0
# else
# define HUF_ASM_SUPPORTED 1