wamrc: add --disable-llvm-jump-tables option (#4224)

while ideally a user should not need to care this kind of
optimization details, in reality i guess it's sometimes useful.
both of clang and GCC expose a similar option.  (-fno-jump-tables)
This commit is contained in:
YAMAMOTO Takashi
2025-04-28 17:43:53 +09:00
committed by GitHub
parent 6593b3f347
commit 84767f9121
4 changed files with 17 additions and 4 deletions

View File

@ -73,6 +73,7 @@ typedef struct AOTCompOption {
bool enable_perf_profiling;
bool enable_memory_profiling;
bool disable_llvm_intrinsics;
bool disable_llvm_jump_tables;
bool disable_llvm_lto;
bool enable_llvm_pgo;
bool enable_stack_estimation;
@ -96,4 +97,4 @@ typedef struct AOTCompOption {
}
#endif
#endif /* end of __AOT_COMP_OPTION_H__ */
#endif /* end of __AOT_COMP_OPTION_H__ */