Fix jit target arch not set issue and custom name section typo issue (#400)

And set target machine's cpu to host cpu when creating JIT execution engine.

Signed-off-by: Wenyong Huang wenyong.huang@intel.com
This commit is contained in:
Wenyong Huang
2020-09-24 11:21:20 +08:00
committed by GitHub
parent b639c3ce61
commit a3d374eb57
4 changed files with 172 additions and 4 deletions

View File

@ -2394,7 +2394,7 @@ fail:
#if WASM_ENABLE_CUSTOM_NAME_SECTION != 0
static bool
handle_name_section(const uint8 *buf, const uint8 *buf_end,Ø
handle_name_section(const uint8 *buf, const uint8 *buf_end,
WASMModule *module,
char *error_buf, uint32 error_buf_size)
{