Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User controlled stack boundary check in wamrc #3754

Merged

Conversation

TianlongLiang
Copy link
Contributor

In wamrc compiler, allow the user to control stack boundary check when boundary check is enabled. Now the code logic is:

  1. When --stack-bounds-checks is not set, it will be the same value as --bounds-checks.
  2. When --stack-bounds-checks is set, it will be the option value no matter what the status of --bounds-checks is

@wenyongh wenyongh merged commit d1141f6 into bytecodealliance:main Aug 29, 2024
387 checks passed
LazyBoy-KK pushed a commit to LazyBoy-KK/wasm-micro-runtime that referenced this pull request Oct 14, 2024
…ck is enabled (bytecodealliance#3754)

In the AOT compiler, allow the user to control stack boundary check when the boundary
check is enabled (e.g. `wamrc --bounds-checks=1`). Now the code logic is:

1. When `--stack-bounds-checks` is not set, it will be the same value as `--bounds-checks`.
2. When `--stack-bounds-checks` is set, it will be the option value no matter what the
    status of `--bounds-checks` is.
@TianlongLiang TianlongLiang deleted the dev/wamrc_stack_bound_check branch October 17, 2024 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants