Support dump call stack on exception and dump call stack on nuttx (#2042)

This commit is contained in:
Huang Qi
2023-03-22 18:11:53 +08:00
committed by GitHub
parent 0ee6e18a06
commit ea50bd2aca
2 changed files with 17 additions and 2 deletions

View File

@ -216,6 +216,12 @@ else
CFLAGS += -DWASM_ENABLE_MEMORY_TRACING=0
endif
ifeq ($(CONFIG_INTERPRETERS_WAMR_DUMP_CALL_STACK),y)
CFLAGS += -DWASM_ENABLE_DUMP_CALL_STACK=1
else
CFLAGS += -DWASM_ENABLE_DUMP_CALL_STACK=0
endif
ifeq ($(CONFIG_INTERPRETERS_WAMR_LIBC_BUILTIN),y)
CFLAGS += -DWASM_ENABLE_LIBC_BUILTIN=1
CSRCS += libc_builtin_wrapper.c