binaryen
binaryen copied to clipboard
Optimizer and compiler/toolchain library for WebAssembly
I built it on my ubuntu 14.04 /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o: unrecognized relocation (0x2a) in section `.init' /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status make[2]: **\*...
I'm attempting to build a large project and debug it, but when building, the wasm-emscripten-finalize operation takes 18-20 Gigabytes of RAM to complete. In looking at the code, I would...
```wat ;; a.wast (module (type $array (array (mut i32))) (func $0 (param $x (ref $array)) (result i32) (local $0 (ref $array)) (block $label$1 (result i32) (block $label$2 (drop (i32.add (array.len...
With the change from indices to names for memory segments, it'd be great if we could query the name of a segment and get segments by name instead of index...
Can I get some programming manual for binaryen C-API? Thanks
I'm currently landing a new test `test_atomic_wait64_notify` which is failing under wasm2js: ``` test_atomic_wait64_notify (test_core.wasm2js1.test_atomic_wait64_notify) ... Clearing existing test directory wasm2js: /usr/local/google/home/sbc/dev/wasm/binaryen/src/passes/I64ToI32Lowering.cpp:423: void wasm::I64ToI32Lowering::visitStore(wasm::Store *): Assertion `!curr->isAtomic && "atomic store...
Hi, The following code is rejected by `wasm-as`: ```wast (module (func $f (export "f") (param $n i32) (if (local.get $n) (then)) ) ) ``` ```shell-session $ wasm-as tmp.wast [parse exception:...
The commit https://github.com/WebAssembly/binaryen/commit/7df30640820c9b4acfc69ffc7616809a727d1241 introduced a severe size regression for [fs.wasm.gz](https://github.com/WebAssembly/binaryen/files/12584483/fs.wasm.gz) when optimized with ``` wasm-opt -all --closed-world -tnh -O3 --type-ssa --gufa -O3 --type-merging -O1 ``` Before the change, it optimized...
This PR will take #3794 over. New asyncify flag `--pass-arg=asyncify-propagate-addlist` will change `--pass-arg=asyncify-addlist` behavior, callers of functions in a asyncify-addlist will be also instrumented.