wasm-micro-runtime/core/iwasm/compilation
Wenyong Huang 2cb701f7f3
Fix windows AOT hw bound check (#2475)
When AOT out of bound linear memory access or stack overflow occurs, the call stack of
AOT functions cannot be unwound currently, so from the exception handler, runtime
cannot jump back into the place that calls the AOT function.
We temporarily skip the current instruction and let AOT code continue to run and return
to caller as soon as possible. And use the zydis library the decode the current instruction
to get its size.

And remove using RtlAddFunctionTable to register the AOT functions since it doesn't work
currently.
2023-08-18 10:16:03 +08:00
..
debug Fix typo (dwarf) in the codebase (#2367) 2023-07-19 17:58:52 +08:00
simd Implement the segue optimization for LLVM AOT/JIT (#2230) 2023-05-26 10:13:33 +08:00
aot_compiler.c Fix windows link error and clear windows warnings (#2463) 2023-08-14 19:04:49 +08:00
aot_compiler.h Implement the segue optimization for LLVM AOT/JIT (#2230) 2023-05-26 10:13:33 +08:00
aot_emit_aot_file.c wamrc: Fix windows relocation to aot_func_internal#n (#2474) 2023-08-18 09:56:00 +08:00
aot_emit_compare.c Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_compare.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_const.c Refactor interpreter/AOT module instance layout (#1559) 2022-10-18 10:59:28 +08:00
aot_emit_const.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_control.c Implement Fast JIT multi-threading feature (#2134) 2023-04-20 10:09:34 +08:00
aot_emit_control.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_conversion.c Simplify fcmp intrinsic logic for AOT/XIP (#1881) 2023-01-12 12:05:53 +08:00
aot_emit_conversion.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_exception.c Refactor interpreter/AOT module instance layout (#1559) 2022-10-18 10:59:28 +08:00
aot_emit_exception.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_function.c Fix windows AOT hw bound check (#2475) 2023-08-18 10:16:03 +08:00
aot_emit_function.h AOT/JIT native stack bound check improvement (#2244) 2023-06-22 07:27:07 +08:00
aot_emit_memory.c Implement the segue optimization for LLVM AOT/JIT (#2230) 2023-05-26 10:13:33 +08:00
aot_emit_memory.h Implement the segue optimization for LLVM AOT/JIT (#2230) 2023-05-26 10:13:33 +08:00
aot_emit_numberic.c Return result directly if float cmp is called in AOT XIP (#1851) 2022-12-30 16:45:39 +08:00
aot_emit_numberic.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_parametric.c Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_parametric.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_table.c Refine Fast JIT call indirect and call native process (#1620) 2022-10-19 17:11:38 +08:00
aot_emit_table.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_variable.c core/iwasm/compilation: constify a bit (#2223) 2023-05-20 11:55:02 +08:00
aot_emit_variable.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_llvm_extra.cpp Fix ExpandMemoryOpPass doesn't work properly (#2399) 2023-07-29 10:28:09 +08:00
aot_llvm_extra2.cpp Fix wamrc build issues with LLVM 13 and LLVM 16 (#2313) 2023-06-27 08:59:49 +08:00
aot_llvm_extra2.h AOT/JIT native stack bound check improvement (#2244) 2023-06-22 07:27:07 +08:00
aot_llvm.c wamrc: More friendly to print help info (#2451) 2023-08-16 11:28:45 +08:00
aot_llvm.h Add "--enable-builtin-intrinsics=<flags>" option to wamrc (#2341) 2023-07-06 18:20:35 +08:00
aot_orc_extra.cpp AOT/JIT native stack bound check improvement (#2244) 2023-06-22 07:27:07 +08:00
aot_orc_extra.h AOT/JIT native stack bound check improvement (#2244) 2023-06-22 07:27:07 +08:00
aot_orc_extra2.cpp Fix wamrc build issues with LLVM 13 and LLVM 16 (#2313) 2023-06-27 08:59:49 +08:00
aot.c Enable emitting custom name section to aot file (#794) 2021-10-26 16:32:52 +08:00
aot.h Fix typo (dwarf) in the codebase (#2367) 2023-07-19 17:58:52 +08:00
iwasm_compl.cmake Implement atomic and memset/memmove/memcpy intrinsic for riscv (#841) 2021-11-30 17:10:14 +08:00