Browse Source

Enable memory sanitization for test utility

rexim 3 years ago
parent
commit
bdf29a4e28
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build.sh

+ 1 - 1
build.sh

@@ -16,7 +16,7 @@ build_vc_demo() {
 mkdir -p ./build/
 
 # Build tests
-clang $COMMON_CFLAGS -o ./build/test -Ithirdparty test.c -lm
+clang $COMMON_CFLAGS -fsanitize=memory -o ./build/test -Ithirdparty test.c -lm
 
 # Build asserts
 clang $COMMON_CFLAGS -o ./build/png2c -Ithirdparty png2c.c -lm