mirror of https://github.com/YosysHQ/yosys.git
Added msan origins tracking
This commit is contained in:
parent
6041f780c3
commit
38245b6733
4
Makefile
4
Makefile
|
@ -112,8 +112,8 @@ ifeq ($(SANITIZER),address)
|
||||||
ENABLE_COVER := 0
|
ENABLE_COVER := 0
|
||||||
endif
|
endif
|
||||||
ifeq ($(SANITIZER),memory)
|
ifeq ($(SANITIZER),memory)
|
||||||
CXXFLAGS += -fPIE
|
CXXFLAGS += -fPIE -fsanitize-memory-track-origins
|
||||||
LDFLAGS += -fPIE
|
LDFLAGS += -fPIE -fsanitize-memory-track-origins
|
||||||
endif
|
endif
|
||||||
ifeq ($(SANITIZER),cfi)
|
ifeq ($(SANITIZER),cfi)
|
||||||
CXXFLAGS += -flto
|
CXXFLAGS += -flto
|
||||||
|
|
Loading…
Reference in New Issue