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

@ -2,7 +2,9 @@ set (IWASM_COMPL_DIR ${CMAKE_CURRENT_LIST_DIR})
include_directories(${IWASM_COMPL_DIR})
file (GLOB_RECURSE source_all ${IWASM_COMPL_DIR}/*.c)
file (GLOB_RECURSE source_all
${IWASM_COMPL_DIR}/*.c
${IWASM_COMPL_DIR}/*.cpp)
set (IWASM_COMPL_SOURCE ${source_all})