wasm-micro-runtime/core/shared/platform/common/posix
Wenyong Huang 7fd37190e8
Add control for the native stack check with hardware trap (#1682)
Add a new options to control the native stack hw bound check feature:
- Besides the original option `cmake -DWAMR_DISABLE_HW_BOUND_CHECK=1/0`,
  add a new option `cmake -DWAMR_DISABLE_STACK_HW_BOUND_CHECK=1/0`
- When the linear memory hw bound check is disabled, the stack hw bound check
   will be disabled automatically, no matter what the input option is
- When the linear memory hw bound check is enabled, the stack hw bound check
  is enabled/disabled according to the value of input option
- Besides the original option `--bounds-checks=1/0`, add a new option
  `--stack-bounds-checks=1/0` for wamrc

Refer to: https://github.com/bytecodealliance/wasm-micro-runtime/issues/1677
2022-11-07 18:26:33 +08:00
..
platform_api_posix.cmake re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00
posix_malloc.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
posix_memmap.c Fix ‘MADV_HUGEPAGE’ undeclared compilation error (#1012) 2022-02-18 11:25:06 +08:00
posix_socket.c linux-sgx: Implement socket API getpeername, recvfrom and sendto (#1556) 2022-10-06 21:32:33 +08:00
posix_thread.c Add control for the native stack check with hardware trap (#1682) 2022-11-07 18:26:33 +08:00
posix_time.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00