Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge branch main into dev/exce_handling #3877

Merged
merged 81 commits into from
Oct 23, 2024
Merged

Merge branch main into dev/exce_handling #3877

merged 81 commits into from
Oct 23, 2024

Commits on Jul 10, 2024

  1. Merge pull request #3613 from bytecodealliance/main

    Merge branch main into dev/shared_heap
    wenyongh authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    84411c6 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Merge pull request #3631 from bytecodealliance/main

    Merge branch main into dev/shared_heap
    wenyongh authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    57f2661 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Enable merged os_mmap for aot data sections (#3681)

    And enable merged os_mmap for aot data and text sections except on
    platform nuttx and esp-idf.
    
    Fix issue that aarch64 AOT module fails to load on android:
    #2274
    bianchui authored Aug 14, 2024
    Configuration menu
    Copy the full SHA
    55cb9c5 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    5f517e4 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Merge pull request #3739 from bytecodealliance/main

    Merge branch main into dev/merge_aot_data_text
    wenyongh authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    9423fee View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3737 from bytecodealliance/main

    Merge branch main into dev/shared_heap
    wenyongh authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    5164aca View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Configuration menu
    Copy the full SHA
    b00904b View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Fix arm64 issues on mac (#3688)

    Make wamrc normalize "arm64" to "aarch64v8". Previously the only way to
    make the "arm64" target was to not specify a target on 64 bit arm-based
    mac builds. Now arm64 and aarch64v8 are treated as the same.
    
    Make aot_loader accept "aarch64v8" on arm-based apple (as well as
    accepting legacy "arm64" based aot targets).
    
    This also removes __APPLE__ and __MACH__ from the block that defaults
    size_level to 1 since it doesn't seem to be supported for aarch64:
    `LLVM ERROR: Only small, tiny and large code models are allowed on AArch64`
    Andersbakken authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    e8c2952 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. CI: Freeze version of bloaty for NuttX compilation (#3756)

    Fix the compilation error of this CI:
    https://github.com/bytecodealliance/wasm-micro-runtime/actions/runs/10575515238
    
    ```
    /__w/wasm-micro-runtime/wasm-micro-runtime/bloaty/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc:139:32: error: no matching function for call to 'max(long int, int)'
      139 |   size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
          |                        ~~~~~~~~^~~~~~~~~~~~~~~~~
    ```
    no1wudi authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    cb3a69f View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    a8d539d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3757 from bytecodealliance/dev/merge_aot_data_text

    Merge branch dev/merge_aot_data_text into main to keep the commit history.
    wenyongh authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    20949bd View commit details
    Browse the repository at this point in the history
  3. aot compiler: Allow to control stack boundary check when boundary che…

    …ck is enabled (#3754)
    
    In the AOT compiler, allow the user to control stack boundary check when the boundary
    check is enabled (e.g. `wamrc --bounds-checks=1`). Now the code logic is:
    
    1. When `--stack-bounds-checks` is not set, it will be the same value as `--bounds-checks`.
    2. When `--stack-bounds-checks` is set, it will be the option value no matter what the
        status of `--bounds-checks` is.
    TianlongLiang authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    d1141f6 View commit details
    Browse the repository at this point in the history
  4. aot loader: Call os_mmap with MMAP_MAP_32BIT only when target is x86-…

    …64 or riscv64 (#3755)
    
    Mac on aarch64 uses posix_memmap.c os_mmap which doesn't do anything with
    the flag MMAP_MAP_32BIT for that build so this condition ends up asserting unless
    the mapping ends up in the first 4 gigs worth of addressable space.
    
    Thsi PR changes to call os_mmap with MMAP_MAP_32BIT flag only when the target
    is x86-64 or riscv64, and the macro __APPLE__ isn't enabled. The behavior is similar
    to what the posix os_mmap does.
    Andersbakken authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    eab409a View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Update ref to the multi-memory tests (#3764)

    The specific commit has been deleted, I am pointing to the same commit in the main branch though.
    loganek authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    0b62cc8 View commit details
    Browse the repository at this point in the history
  2. Improve posix mmap retry logic (#3714)

    - Only retry on EAGAIN, ENOMEM or EINTR.
    - On EINTR, don't count it against the retry budget, just keep retrying.
      EINTR can happen in bursts.
    - Log the errno on failure, and don't conditionalize that logging on
      BH_ENABLE_TRACE_MMAP. In other parts of the code, error logging is not
      conditional on that define, while turning on that tracing define makes
      things overly verbose.
    sjamesr authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    5cc94e5 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Configuration menu
    Copy the full SHA
    fed0fe9 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    65521b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4380fb View commit details
    Browse the repository at this point in the history
  3. Add wamrc parameter to configure stack frame features (#3763)

    Those parameters can be used to reduce the size of the AOT code.
    
    There's going to be more changes related to AOT code size reduction,
    this is just the initial step.
    
    p.s. #3758
    loganek authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    6f97822 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Fix building iwasm_shared and iwasm_static libs on win32 (#3762)

    Fixes to enable building iwasm_shared and iwasm_static libraries on win32.
    mattyg authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    b38a2e8 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Configuration menu
    Copy the full SHA
    cb71ca5 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. wasi-nn: Add a new target for llama.cpp as a wasi-nn backend (#3709)

    Minimum support:
    - [x] accept (WasmEdge) customized model parameters. metadata.
    - [x] Target [wasmedge-ggml examples](https://github.com/second-state/WasmEdge-WASINN-examples/tree/master/wasmedge-ggml)
      - [x] basic
      - [x] chatml
      - [x] gemma
      - [x] llama
      - [x] qwen
    
    ---
    
    In the future, to support if required:
    - [ ] Target [wasmedge-ggml examples](https://github.com/second-state/WasmEdge-WASINN-examples/tree/master/wasmedge-ggml)
      - [ ] command-r. (>70G memory requirement)
      - [ ] embedding. (embedding mode)
      - [ ] grammar. (use the grammar option to constrain the model to generate the JSON output)
      - [ ] llama-stream. (new APIS `compute_single`, `get_output_single`, `fini_single`)
      - [ ] llava. (image representation)
      - [ ] llava-base64-stream. (image representation)
      - [ ] multimodel. (image representation)
    - [ ] Target [llamaedge](https://github.com/LlamaEdge/LlamaEdge)
    lum1n0us authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    0599351 View commit details
    Browse the repository at this point in the history
  2. AOT call stack optimizations (#3773)

    - Implement TINY / STANDARD frame modes - tiny mode is only able to keep track on the IP
      and func idx, STANDARD mode provides more capabilities (parameters, stack pointer etc.).
    - Implement FRAME_PER_FUNCTION / FRAME_PER_CALL modes - frame per function adds
      code at the beginning and at the end of each function for allocating / deallocating stack frame,
      whereas in per-call mode the frame is allocated before each call. The exception is call to
      the imported function, where frame-per-function mode also allocates the stack before the
      `call` instruction (as it can't instrument the imported function).
    
    At the moment TINY + FRAME_PER_FUNCTION is automatically enabled in case GC and perf
    profiling are disabled and `values` call stack feature is not requested. In all the other cases
    STANDARD + FRAME_PER_CALL is used.
    
    STANDARD + FRAME_PER_FUNCTION and TINY + FRAME_PER_CALL are currently not
    implemented but possible, and might be enabled in the future.
    
    ps. #3758
    loganek authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    cbc2078 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f453d9d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c276aca View commit details
    Browse the repository at this point in the history
  5. spec_test_on_nuttx.yml: Disable riscv32_ilp32f for now (#3777)

    It seems failing too frequently.
    
    cf. #3776
    yamt authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    cd47438 View commit details
    Browse the repository at this point in the history
  6. Appease GCC -Wformat (#3783)

    I'm not sure we want to use C99 %tu here.
    While C99 %zu is more widely used in WAMR, %tu is rare (if any)
    and I'm not sure if it's ubiquitously implemented in platforms
    we support.
    yamt authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    1a61cb7 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Fix compiler warnings (#3784)

    The definition of os_get_invalid_handle in platform_internal.h did not
    match the declaration in platform_api_extension.h.
    loganek authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    b882017 View commit details
    Browse the repository at this point in the history
  2. Implement option for skipping function index in the callstack (#3785)

    Also add a script that converts instruction pointers to function indexes (or function names).
    
    #3758
    loganek authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    9c2083a View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Ignore temporary file from aider (#3787)

    Aider is AI pair programming in your terminal: https://aider.chat
    no1wudi authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    9aadbfe View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3792 from bytecodealliance/main

    Merge branch main into dev/shared_heap
    wenyongh authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    27b6917 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. Add memory instance support apis (#3786)

    Now that WAMR supports multiple memory instances, this PR adds some APIs
    to access them in a standard way.
    
    This involves moving some existing utility functions out from the
    `WASM_ENABLE_MULTI_MODULE` blocks they were nested in, but multi-memory
    and multi-module seem independent as far as I can tell so I assume that's okay.
    
    APIs added:
    ```C
    wasm_runtime_lookup_memory
    wasm_runtime_get_default_memory
    wasm_runtime_get_memory
    wasm_memory_get_cur_page_count
    wasm_memory_get_max_page_count
    wasm_memory_get_bytes_per_page
    wasm_memory_get_shared
    wasm_memory_get_base_address
    wasm_memory_enlarge
    ```
    bnason-nf authored Sep 14, 2024
    Configuration menu
    Copy the full SHA
    926f662 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    92852f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d64a3ab View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Fix a compile warning in aot_emit_function.c (#3793)

    This just fixes an unused variable warning when WASM_ENABLE_AOT_STACK_FRAME is != 0.
    Andersbakken authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    79e695e View commit details
    Browse the repository at this point in the history
  2. Restore cmake hidden compile symbol visibility (#3796)

    This was originally fixed in #3655, but regressed in #3762 which removed
    the `-fvisibility=hidden` flag from the CMakeLists.txt file.
    
    This also removes extraneous ending whitespace from the file.
    bnason-nf authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    e9cc873 View commit details
    Browse the repository at this point in the history
  3. Support dynamic aot debug (#3788)

    Enable dynamic aot debug feature which debugs the aot file
    and is able to set the break point and do single step. Refer to
    the README for the detailed steps.
    
    Signed-off-by: zhangliangyu3 <[email protected]>
    LevelCA authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    51a7109 View commit details
    Browse the repository at this point in the history
  4. Refactor shared heap feature for interpreter mode (#3794)

    To add test cases and samples.
    wenyongh authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    5e20cf3 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Add no_resolve to LoadArgs and wasm_runtime_resolve_symbols (#3790)

    Add no_resolve to LoadArgs and wasm_runtime_resolve_symbols so one can
    delay resolving of symbols.
    
    This is useful for inspecting the module between loading and instantiating.
    Andersbakken authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    2133099 View commit details
    Browse the repository at this point in the history
  2. shared heap: Fix some issues and add basic unit test case (#3801)

    Fix some issues and add basic unit test case for shared heap feature.
    
    Signed-off-by: wenlingyun1 <[email protected]>
    WenLY1 authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    4dacef2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1fd422a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c4aa1de View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Fix Windows compile error when uvwasi is enabled (#3810)

    No need to compile win_file.c when uvwasi is enabled.
    wenyongh authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    e87f7a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    86926aa View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    5ce6f90 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. Fix missing symbols when using aot mode on riscv platforms (#3812)

    Add symbol __atomic_compare_exchange_4 and __atomic_store_4.
    Kvencc authored Sep 28, 2024
    Configuration menu
    Copy the full SHA
    438b81b View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Configuration menu
    Copy the full SHA
    9ba36e2 View commit details
    Browse the repository at this point in the history
  2. Add CODEOWNERS (#3822)

    lum1n0us authored Sep 29, 2024
    Configuration menu
    Copy the full SHA
    0e05b0a View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. build(deps): bump github/codeql-action from 2.2.4 to 3.26.9

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.4 to 3.26.9.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Commits](github/codeql-action@v2.2.4...v3.26.9)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    bd8c7a3 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump actions/upload-artifact from 3.1.0 to 4.4.0

    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.0 to 4.4.0.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v3.1.0...v4.4.0)
    
    ---
    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    2baac8d View commit details
    Browse the repository at this point in the history
  3. build(deps): bump ossf/scorecard-action from 2.3.1 to 2.4.0

    Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.4.0.
    - [Release notes](https://github.com/ossf/scorecard-action/releases)
    - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
    - [Commits](ossf/scorecard-action@0864cf1...62b2cac)
    
    ---
    updated-dependencies:
    - dependency-name: ossf/scorecard-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    2e60f37 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2024

  1. Merge pull request #3826 from bytecodealliance/dependabot/github_acti…

    …ons/github/codeql-action-3.26.9
    
    build(deps): bump github/codeql-action from 2.2.4 to 3.26.9
    loganek authored Oct 5, 2024
    Configuration menu
    Copy the full SHA
    e07ac1f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3827 from bytecodealliance/dependabot/github_acti…

    …ons/actions/upload-artifact-4.4.0
    
    build(deps): bump actions/upload-artifact from 3.1.0 to 4.4.0
    loganek authored Oct 5, 2024
    Configuration menu
    Copy the full SHA
    5f3d36b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #3828 from bytecodealliance/dependabot/github_acti…

    …ons/ossf/scorecard-action-2.4.0
    
    build(deps): bump ossf/scorecard-action from 2.3.1 to 2.4.0
    loganek authored Oct 5, 2024
    Configuration menu
    Copy the full SHA
    e0027f3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    72872cb View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    0c4b2da View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. build(deps): bump github/codeql-action from 3.26.9 to 3.26.11 (#3843)

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.9 to 3.26.11.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Commits](github/codeql-action@v3.26.9...v3.26.11)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 8, 2024
    Configuration menu
    Copy the full SHA
    f9153fb View commit details
    Browse the repository at this point in the history
  2. Emit load_addr and load_size if WAMR_ENABLE_COMPILER is set (#3835)

    Currently, the open-source builds of wamrc set WASM_ENABLE_DUMP_CALL_STACK,
    which causes these two fields to be emitted. They are required by aot_emit_exception.c.
    
    Internally at Google, we don't enable call stack dumps, so we've been using the
    attached patch to make sure the fields are emitted anyway.
    sjamesr authored Oct 8, 2024
    Configuration menu
    Copy the full SHA
    6b4d8aa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    30539bf View commit details
    Browse the repository at this point in the history
  4. Fix exec_env_tls assertion in module instantiation (#3844)

    The execute_post_instantiate_functions may be triggered by wasm_cluster_spawn_exec_env,
    in which the exec_env_tls can be NULL and cause the assertion invalid.
    
    p.s. #3839.
    wenyongh authored Oct 8, 2024
    Configuration menu
    Copy the full SHA
    deacb7a View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Fix issues of destroy_shared_heaps (#3847)

    Set shared_heap_list to NULL with lock, and destroy shared_heap_list_lock.
    
    Signed-off-by: wenlingyun1 <[email protected]>
    WenLY1 authored Oct 10, 2024
    Configuration menu
    Copy the full SHA
    19160f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b5e2d9 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Support table64 extension in classic-interp and AOT running modes (#3811

    )
    
    Add table64 extension(in Memory64 proposal) support in classic-interp
    and AOT running modes, currently still use uint32 to represent table's
    initial and maximum size to keep AOT ABI unchanged.
    TianlongLiang authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    36d4380 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Enable libc-wasi for windows msvc build (#3852)

    The default iwasm building in Windows MSVC enables libc-uvwasi because
    libc-wasi isn't supported at the beginning. Since libc-wasi had been refactored
    and is supported in Windows msys2 building, and libc-wasi supports more
    functionalities(e.g. sockets) than libc-uvwasi, this PR fixes some issues to
    enable libc-wasi in windows MSVC buidlings.
    wenyongh authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    b16b604 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2680e5 View commit details
    Browse the repository at this point in the history
  3. build(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3 (#3855)

    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v4.4.0...v4.4.3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    7d4b530 View commit details
    Browse the repository at this point in the history
  4. build(deps): bump github/codeql-action from 3.26.11 to 3.26.12 (#3856)

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.11 to 3.26.12.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Commits](github/codeql-action@v3.26.11...v3.26.12)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    0152e2c View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Merge pull request #3823 from bytecodealliance/dev/shared_heap

    Implement the shared heap feature for interpreter, aot and llvm jit.
    Add below runtime APIs:
    ```C
    wasm_shared_heap_t
    wasm_runtime_create_shared_heap(SharedHeapInitArgs *init_args);
    
    bool
    wasm_runtime_attach_shared_heap(wasm_module_inst_t module_inst,
                                    wasm_shared_heap_t shared_heap);
    
    void
    wasm_runtime_detach_shared_heap(wasm_module_inst_t module_inst);
    
    uint64_t
    wasm_runtime_shared_heap_malloc(wasm_module_inst_t module_inst, uint64_t size,
                                    void **p_native_addr);
    
    void
    wasm_runtime_shared_heap_free(wasm_module_inst_t module_inst, uint64_t ptr);
    ```
    
    And allow wasm app to call API shared_heap_malloc and shared_heap_free:
    ```C
    void *shared_heap_malloc(uint32_t size);
    void shared_heap_free(void *ptr);
    ```
    wenyongh authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    b038f27 View commit details
    Browse the repository at this point in the history
  2. Fix some compile warnings and typos (#3854)

    - Clear some compile warnings
    - Fix some typos
    - Fix llvm LICENSE link error
    - Remove unused aot file and binarydump bin
    - Add checks when loading AOT exports
    wenyongh authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    327374c View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Add Windows wamrc and iwasm build in release CI (#3857)

    - For Windows, llvm libs need to cache more directories, so use a multi-line
      environment variable for paths
    - Remove conditionally build directories `win32build`, just use `build` for all platform
    - Add Windows wamrc and iwasm(disable lib pthread semaphore and fast jit for now)
      build in release CI
    TianlongLiang authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    1af4740 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e625a0 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. Allow to set native stack boundary to exec_env (#3862)

    Add runtime API wasm_runtime_set_native_stack_boundary.
    
    p.s. #3816
    wenyongh authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    74d2427 View commit details
    Browse the repository at this point in the history
  2. Refine wasm/aot function instance lookup (#3865)

    Sort the module instance's export functions with the function name,
    and use binary search to lookup the wasm/aot function.
    wenyongh authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    48eaa22 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. release CI: Add another iwasm binary that supports Garbage Collection…

    … and Exception Handling (#3866)
    
    As suggested in #3829, in release CI, we add zip/tar.gz artifacts named
    iwasm-gc-eh-{version}-{platform} for `iwasm` which supports features
    garbage collection and exception handling(classic interpreter only).
    
    Also, add a command line option to control GC heap size for `iwasm` on
    the Windows platform.
    TianlongLiang authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    bb3f8d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87588ca View commit details
    Browse the repository at this point in the history
  3. Fix quadratic runtime for duplicate export name detection (#3861)

    Previously, the loader would check the name of a new export against all
    existing exports, leading to a quadratic running time.
    
    This change makes the loader parse the entire export section. The
    exports are then sorted by name, then adjacent exports are checked for
    uniqueness.
    sjamesr authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    3ad9530 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Configuration menu
    Copy the full SHA
    b34b2c8 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump github/codeql-action from 3.26.12 to 3.26.13 (#3869)

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.12 to 3.26.13.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Commits](github/codeql-action@v3.26.12...v3.26.13)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    fe13f6d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    217ba3b View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Exclude fuzz test python and npm packages in scoreboard scan (#3871)

    * exclude fuzz test for scoreboard scan
    
    * ci ignore osv-scanner.toml file name inconsistency
    TianlongLiang authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    7d56289 View commit details
    Browse the repository at this point in the history
  2. Fix out of bounds issues after memory.grow on non-aot non-threads bui…

    …lds (#3872)
    
    Co-authored-by: Deniz Sokmen <[email protected]>
    Zzzabiyaka and Deniz Sokmen authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    6426fc4 View commit details
    Browse the repository at this point in the history