wamrc: Add some help text for --size-level (#3689)

This commit is contained in:
YAMAMOTO Takashi 2024-08-07 14:43:47 +09:00 committed by GitHub
parent 8a2e151de1
commit 6ddaecafb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,6 +128,10 @@ print_help()
printf(" Use --cpu-features=+help to list all the features supported\n");
printf(" --opt-level=n Set the optimization level (0 to 3, default is 3)\n");
printf(" --size-level=n Set the code size level (0 to 3, default is 3)\n");
printf(" 0 - Large code model\n");
printf(" 1 - Medium code model\n");
printf(" 2 - Kernel code model\n");
printf(" 3 - Small code model\n");
printf(" -sgx Generate code for SGX platform (Intel Software Guard Extensions)\n");
printf(" --bounds-checks=1/0 Enable or disable the bounds checks for memory access:\n");
printf(" by default it is disabled in all 64-bit platforms except SGX and\n");