|
@@ -37,19 +37,6 @@ typedef struct {
|
|
|
#define REG_AOT_TRACE_SYM()
|
|
#define REG_AOT_TRACE_SYM()
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
-#if (defined(_WIN32) || defined(_WIN32_)) && defined(NDEBUG)
|
|
|
|
|
-#define REG_COMMON_SYMBOLS \
|
|
|
|
|
- REG_SYM(aot_set_exception_with_id), \
|
|
|
|
|
- REG_SYM(aot_invoke_native), \
|
|
|
|
|
- REG_SYM(aot_call_indirect), \
|
|
|
|
|
- REG_SYM(wasm_runtime_enlarge_memory), \
|
|
|
|
|
- REG_SYM(wasm_runtime_set_exception), \
|
|
|
|
|
- {"memset", (void*)aot_memset}, \
|
|
|
|
|
- {"memmove", (void*)aot_memmove}, \
|
|
|
|
|
- REG_BULK_MEMORY_SYM() \
|
|
|
|
|
- REG_ATOMIC_WAIT_SYM() \
|
|
|
|
|
- REG_AOT_TRACE_SYM()
|
|
|
|
|
-#else /* else of (defined(_WIN32) || defined(_WIN32_)) && defined(NDEBUG) */
|
|
|
|
|
#define REG_COMMON_SYMBOLS \
|
|
#define REG_COMMON_SYMBOLS \
|
|
|
REG_SYM(aot_set_exception_with_id), \
|
|
REG_SYM(aot_set_exception_with_id), \
|
|
|
REG_SYM(aot_invoke_native), \
|
|
REG_SYM(aot_invoke_native), \
|
|
@@ -73,7 +60,6 @@ typedef struct {
|
|
|
REG_BULK_MEMORY_SYM() \
|
|
REG_BULK_MEMORY_SYM() \
|
|
|
REG_ATOMIC_WAIT_SYM() \
|
|
REG_ATOMIC_WAIT_SYM() \
|
|
|
REG_AOT_TRACE_SYM()
|
|
REG_AOT_TRACE_SYM()
|
|
|
-#endif /* end of (defined(_WIN32) || defined(_WIN32_)) && defined(NDEBUG) */
|
|
|
|
|
|
|
|
|
|
#define CHECK_RELOC_OFFSET(data_size) do { \
|
|
#define CHECK_RELOC_OFFSET(data_size) do { \
|
|
|
if (!check_reloc_offset(target_section_size, reloc_offset, data_size, \
|
|
if (!check_reloc_offset(target_section_size, reloc_offset, data_size, \
|