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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue