Skip to content

Commit 6ddaeca

Browse files
authored
wamrc: Add some help text for --size-level (#3689)
1 parent 8a2e151 commit 6ddaeca

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

wamr-compiler/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ print_help()
128128
printf(" Use --cpu-features=+help to list all the features supported\n");
129129
printf(" --opt-level=n Set the optimization level (0 to 3, default is 3)\n");
130130
printf(" --size-level=n Set the code size level (0 to 3, default is 3)\n");
131+
printf(" 0 - Large code model\n");
132+
printf(" 1 - Medium code model\n");
133+
printf(" 2 - Kernel code model\n");
134+
printf(" 3 - Small code model\n");
131135
printf(" -sgx Generate code for SGX platform (Intel Software Guard Extensions)\n");
132136
printf(" --bounds-checks=1/0 Enable or disable the bounds checks for memory access:\n");
133137
printf(" by default it is disabled in all 64-bit platforms except SGX and\n");

0 commit comments

Comments
 (0)