summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d74ecf3..b91709a 100644
--- a/Makefile
+++ b/Makefile
@@ -119,6 +119,14 @@ asan: CFLAGS += -fsanitize=address
asan: LFTRULE = asan
asan: all
#------------------------------------------------------------------------------#
+msan: CFLAGS += -glldb
+msan: CFLAGS += -fsanitize=memory
+msan: CFLAGS += -fsanitize-memory-track-origins
+msan: CFLAGS += -fno-common
+msan: CFLAGS += -fno-omit-frame-pointer
+msan: LFTRULE = msan
+msan: all
+#------------------------------------------------------------------------------#
clean:
@$(MAKE) --no-print-directory -C ${LFT_DIR} clean
${RM} ${OBJS_DIR} vgcore*