This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm/libraries/debug-engine
Wenyong Huang a182926a73
Refactor interpreter/AOT module instance layout (#1559)
Refactor the layout of interpreter and AOT module instance:
- Unify the interp/AOT module instance, use the same WASMModuleInstance/
  WASMMemoryInstance/WASMTableInstance data structures for both interpreter
  and AOT
- Make the offset of most fields the same in module instance for both interpreter
  and AOT, append memory instance structure, global data and table instances to
  the end of module instance for interpreter mode (like AOT mode)
- For extra fields in WASM module instance, use WASMModuleInstanceExtra to
  create a field `e` for interpreter
- Change the LLVM JIT module instance creating process, LLVM JIT uses the WASM
  module and module instance same as interpreter/Fast-JIT mode. So that Fast JIT
  and LLVM JIT can access the same data structures, and make it possible to
  implement the Multi-tier JIT (tier-up from Fast JIT to LLVM JIT) in the future
- Unify some APIs: merge some APIs for module instance and memory instance's
  related operations (only implement one copy)

Note that the AOT ABI is same, the AOT file format, AOT relocation types, how AOT
code accesses the AOT module instance and so on are kept unchanged.

Refer to:
https://github.com/bytecodealliance/wasm-micro-runtime/issues/1384
2022-10-18 10:59:28 +08:00
..
debug_engine.c Refactor interpreter/AOT module instance layout (#1559) 2022-10-18 10:59:28 +08:00
debug_engine.cmake Implement source debugging for interpreter and AOT (#769) 2021-09-29 13:36:46 +08:00
debug_engine.h wasm_runtime_start_debug_instance: Allow to override port (#1421) 2022-08-26 16:33:47 +08:00
gdbserver.c Merge dev/socket into main (#1393) 2022-09-22 21:46:14 +08:00
gdbserver.h [debugger enhance] don't block gdbserver thread while executing (#989) 2022-02-16 17:35:35 +08:00
handler.c debug-engine: Handle wasm_debug_instance_get_current_object_name failure (#1453) 2022-09-05 19:45:20 +08:00
handler.h debug_engine: Fix a few typos (#1261) 2022-06-30 15:45:46 +08:00
packets.c [debugger enhance] don't block gdbserver thread while executing (#989) 2022-02-16 17:35:35 +08:00
packets.h [debugger enhance] don't block gdbserver thread while executing (#989) 2022-02-16 17:35:35 +08:00
utils.c Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
utils.h Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00