wasm-micro-runtime/core
YAMAMOTO Takashi e66b41427f
aot_resolve_target_info: Avoid in-place modification of e_type (#3564)
* I believe that LLVM MemoryBuffer interface is supposed to be read-only
  and it's allowed to use eg. read-only mmap of the underlying file.
  It isn't appropriate to modify the view at all.

* in case of WASM_ENABLE_DEBUG_AOT, the whole buffer is written as the text
  section of the aot file. the modified e_type would confuse dwarf consumers.
  note that, even when we are using XIP, the debug info usually contains
  relocations. for example, llvm-dwarfdump doesn't seem to perform relocations
  on .debug_info section for ET_CORE (== 4 == our E_TYPE_XIP) objects.
2024-06-25 10:47:23 +08:00
..
deps Separate app-manager and app-framework from WAMR (#3129) 2024-02-20 18:12:36 +08:00
iwasm aot_resolve_target_info: Avoid in-place modification of e_type (#3564) 2024-06-25 10:47:23 +08:00
shared core/shared/platform: Zero memory returned by os_mmap in some platforms (#3551) 2024-06-21 13:33:12 +08:00
config.h Allow missing imports in wasm loader and report error in wasm instantiation instead (#3539) 2024-06-25 10:04:39 +08:00
version.h Update version to 2.1.0 and update release notes (#3481) 2024-06-04 16:27:06 +08:00