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:
@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user