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/simd_for_interp #3873

Merged
merged 48 commits into from
Oct 23, 2024
Merged

Merge branch main into dev/simd_for_interp #3873

merged 48 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 21, 2024

  1. 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 Sep 13, 2024

  1. 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. Configuration menu
    Copy the full SHA
    92852f3 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. 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. 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
  2. Configuration menu
    Copy the full SHA
    1fd422a View commit details
    Browse the repository at this point in the history
  3. 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