mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-07-10 14:33:32 +00:00
Compare commits
2 Commits
49985986e8
...
29f72f56e6
Author | SHA1 | Date | |
---|---|---|---|
![]() |
29f72f56e6 | ||
![]() |
4d1f15d5e0 |
|
@ -28,7 +28,7 @@ if (WAMR_BUILD_AOT_VALIDATOR EQUAL 1)
|
||||||
list (APPEND c_source_all ${IWASM_AOT_DIR}/aot_validator.c)
|
list (APPEND c_source_all ${IWASM_AOT_DIR}/aot_validator.c)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (WAMR_BUILD_WAMR_COMPILER EQUAL 1 AND WAMR_BUILD_AOT EQUAL 0)
|
if (WAMR_BUILD_WAMR_COMPILER EQUAL 1)
|
||||||
# AOT reloc functions are not used during AOT compilation
|
# AOT reloc functions are not used during AOT compilation
|
||||||
set (arch_source ${IWASM_AOT_DIR}/arch/aot_reloc_dummy.c)
|
set (arch_source ${IWASM_AOT_DIR}/arch/aot_reloc_dummy.c)
|
||||||
elseif (WAMR_BUILD_TARGET STREQUAL "X86_64" OR WAMR_BUILD_TARGET STREQUAL "AMD_64")
|
elseif (WAMR_BUILD_TARGET STREQUAL "X86_64" OR WAMR_BUILD_TARGET STREQUAL "AMD_64")
|
||||||
|
|
|
@ -6,7 +6,7 @@ if(NOT WAMR_BUILD_INTERP)
|
||||||
set(WAMR_BUILD_INTERP 1)
|
set(WAMR_BUILD_INTERP 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(WAMR_BUILD_WAMR_COMPILER 1)
|
set(WAMR_BUILD_WAMR_COMPILER 0)
|
||||||
set(WAMR_BUILD_AOT 1)
|
set(WAMR_BUILD_AOT 1)
|
||||||
set(WAMR_BUILD_INTERP 1)
|
set(WAMR_BUILD_INTERP 1)
|
||||||
set(WAMR_BUILD_JIT 0)
|
set(WAMR_BUILD_JIT 0)
|
||||||
|
@ -69,7 +69,7 @@ target_link_libraries(aotclib PUBLIC ${REQUIRED_LLVM_LIBS})
|
||||||
|
|
||||||
if(NOT IN_OSS_FUZZ)
|
if(NOT IN_OSS_FUZZ)
|
||||||
message(STATUS "Enable ASan and UBSan in non-oss-fuzz environment")
|
message(STATUS "Enable ASan and UBSan in non-oss-fuzz environment")
|
||||||
target_compile_options(aotclib PUBLIC
|
target_compile_options(aotclib PUBLIC
|
||||||
-fprofile-instr-generate -fcoverage-mapping
|
-fprofile-instr-generate -fcoverage-mapping
|
||||||
-fno-sanitize-recover=all
|
-fno-sanitize-recover=all
|
||||||
-fsanitize=address,undefined
|
-fsanitize=address,undefined
|
||||||
|
|
Loading…
Reference in New Issue
Block a user