Skip to content

Commit

Permalink
wamrc: Add an incompatibility note in the help message (bytecodeallia…
Browse files Browse the repository at this point in the history
…nce#2276)

An example of such optimizations:
bytecodealliance#1752
  • Loading branch information
yamt committed Jun 9, 2023
1 parent e20e6ad commit 401d65f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wamr-compiler/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ print_help()
printf(" by default it is disabled in all 64-bit platforms except SGX and\n");
printf(" in these platforms runtime does bounds checks with hardware trap,\n");
printf(" and by default it is enabled in all 32-bit platforms\n");
printf(" CAVEAT: --bounds-checks=0 enables some optimizations\n");
printf(" which make the compiled AOT module incompatible\n");
printf(" with a runtime without the hardware bounds checks.\n");
printf(" --stack-bounds-checks=1/0 Enable or disable the bounds checks for native stack:\n");
printf(" if the option isn't set, the status is same as `--bounds-check`,\n");
printf(" if the option is set:\n");
Expand Down

0 comments on commit 401d65f

Please sign in to comment.