diff --git a/Makefile b/Makefile index 357b3ecb9f2ff744e10a26541090d66f5cae0775..62f1c8c67d3978c7b38a3afddd142dec20c95317 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,14 @@ debug: rm -f build $(MAKE) build BUILDTYPE=$@ +.PHONY: debug-msan +debug-msan: export CC = clang +debug-msan: export CXX = clang++ +debug-msan: + rm -f build + $(MAKE) build BUILDTYPE=debug BUILDDIR=$@ \ + EMPER_B_SANITIZE=memory EMPER_B_LUNDEF=false + .PHONY: fast-static-analysis fast-static-analysis: all check-format check-license doc