From 38245b6733d9ec28ae1d37fb5ffba62b0aec791c Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 5 Apr 2016 13:25:05 +0200 Subject: [PATCH] Added msan origins tracking --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7f4e5c9b1..c7f56be3c 100644 --- a/Makefile +++ b/Makefile @@ -112,8 +112,8 @@ ifeq ($(SANITIZER),address) ENABLE_COVER := 0 endif ifeq ($(SANITIZER),memory) -CXXFLAGS += -fPIE -LDFLAGS += -fPIE +CXXFLAGS += -fPIE -fsanitize-memory-track-origins +LDFLAGS += -fPIE -fsanitize-memory-track-origins endif ifeq ($(SANITIZER),cfi) CXXFLAGS += -flto -- 2.30.2