binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

Optimizer and compiler/toolchain library for WebAssembly

Results 496 binaryen issues
Sort by recently updated
recently updated
newest added

### Phenomenon description Hello, when I use the `wasm-reduce` tool to shorten the wasm program, there is an abnormal timeout. The command in `--command` exits normally when executed separately in...

See https://github.com/emscripten-core/emscripten/issues/24982. e.g if my function has the name `Namespace::foo(Namespace::SomeClass)` in the name section the emitted symbol map file will contain: ``` 2:Namespace::foo\28Namespace::SomeClass\29 ```

After discussions with @dschuff and @tlively I realized I might be able to explain the stack switching approach better, so I wrote this PR.

Uploading this just for future reference and discussion. Our current interpreter is pretty efficient, it turns out: It interprets the IR in-place, without constructing any new IR, and while doing...

I have wasm code that is set up in such a way that I know if a deferred function is called, the module containing it will already have been loaded....

The Dart team is experimenting with using binaryen tools to support our deferred loading feature for users targeting wasm. We currently have experimental support for the feature by having the...

The wasm-split tool only has support for splitting functions but it does not support splitting globals. Rather than leave every global in the main module as an export, ideally the...

For a large file, wasm-split with --multi-split takes 3.5+ minutes to separate the file into ~350 submodules. My understanding is that --multi-split basically invokes split mode iteratively. I imagine it...

Over in https://github.com/llvm/llvm-project/issues/147201, @singleaccretion mentioned that they can't use wasm opt: > Not all scenarios can (or want) to use wasm-opt. E. g. we don't use it by default because...

This pass find Binary instructions where the children have effects, and moves them to locals. This is meant to help with the situation in #7557 (see details there, but basically,...