Compare commits

..

1 Commits

Author SHA1 Message Date
Maks Litskevich
2c1b0dd3cd
Merge beb079563a into ea417d7619 2025-05-07 02:40:17 +00:00
3 changed files with 14 additions and 12 deletions

View File

@ -4007,12 +4007,8 @@ aot_resolve_object_relocation_group(AOTObjectData *obj_data,
&& (str_starts_with(relocation->symbol_name, ".LCPI") && (str_starts_with(relocation->symbol_name, ".LCPI")
|| str_starts_with(relocation->symbol_name, ".LJTI") || str_starts_with(relocation->symbol_name, ".LJTI")
|| str_starts_with(relocation->symbol_name, ".LBB") || str_starts_with(relocation->symbol_name, ".LBB")
|| str_starts_with(relocation->symbol_name, ".Lswitch.table.") || str_starts_with(relocation->symbol_name,
#if LLVM_VERSION_MAJOR >= 16 ".Lswitch.table."))) {
/* cf. https://reviews.llvm.org/D123264 */
|| str_starts_with(relocation->symbol_name, ".Lpcrel_hi")
#endif
)) {
/* change relocation->relocation_addend and /* change relocation->relocation_addend and
relocation->symbol_name */ relocation->symbol_name */
LLVMSectionIteratorRef contain_section; LLVMSectionIteratorRef contain_section;

View File

@ -1,17 +1,14 @@
# WAMR API # WARM API
* **Notice**: The python package `wamr.wamrapi.wamr` requires a python version >= `3.10`. * **Notice**: The python package `wamr.wamrapi.wamr` need python >= `3.10`.
## Setup ## Setup
### Pre-requisites ### Pre-requisites
#### Install requirements
Before proceeding it is necessary to make sure your Python environment is correctly configured. To do ths open a terminal session in this directory and perfom the following:
Install requirements,
```shell ```shell
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt pip install -r requirements.txt
``` ```

View File

@ -205,3 +205,12 @@ foreach(EX ${EXAMPLES})
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
) )
endforeach() endforeach()
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
find_program(VALGRIND
valgrind
REQUIRED
)
# run `ctest -T memcheck -V --test-dir build`
endif()