mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
tracy: frame pointer, track memory allocations
This commit is contained in:
parent
0fb3f3a78e
commit
60bf00ea79
2 changed files with 17 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -210,6 +210,9 @@ CXX = clang++
|
|||
CXXFLAGS += -std=$(CXXSTD) -Os
|
||||
ABCMKARGS += ARCHFLAGS="-DABC_USE_STDINT_H $(ABC_ARCHFLAGS)"
|
||||
|
||||
CXXFLAGS += -g -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
||||
LINKFLAGS += -g
|
||||
|
||||
ifneq ($(SANITIZER),)
|
||||
$(info [Clang Sanitizer] $(SANITIZER))
|
||||
CXXFLAGS += -g -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -fsanitize=$(SANITIZER)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue