Added msan origins tracking

This commit is contained in:
Clifford Wolf 2016-04-05 13:25:05 +02:00
parent 6041f780c3
commit 38245b6733
1 changed files with 2 additions and 2 deletions

View File

@ -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