Add "--enable-llvm-passes=<passes>" option to wamrc (#2335)
Add "--enable-llvm-passes=<passes>" option to wamrc for customizing LLVM passes
This commit is contained in:
@ -417,6 +417,7 @@ typedef struct AOTCompContext {
|
||||
|
||||
const char *stack_usage_file;
|
||||
char stack_usage_temp_file[64];
|
||||
const char *llvm_passes;
|
||||
} AOTCompContext;
|
||||
|
||||
enum {
|
||||
@ -455,6 +456,7 @@ typedef struct AOTCompOption {
|
||||
char **custom_sections;
|
||||
uint32 custom_sections_count;
|
||||
const char *stack_usage_file;
|
||||
const char *llvm_passes;
|
||||
} AOTCompOption, *aot_comp_option_t;
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user