interpreters/wamr: Add configs for heap pool & custom name sections

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2020-09-27 20:25:47 +08:00 committed by Abdelatif Guettouche
parent 51a96ce935
commit c26d662951

View File

@ -55,4 +55,20 @@ config INTERPRETERS_WAMR_DISABLE_HW_BOUND_CHECK
bool "Disable hardware bound check"
default n
config INTERPRETERS_WAMR_CUSTOM_NAME_SECTIONS
bool "Enable custom name section support"
default n
config INTERPRETERS_WAMR_GLOBAL_HEAP_POOL
bool "Enable global heap pool"
default n
if INTERPRETERS_WAMR_GLOBAL_HEAP_POOL
config INTERPRETERS_WAMR_GLOBAL_HEAP_POOL_SIZE
int "Global heap pool size (in KB)"
default 128
endif
endif