Derek Schuff
Derek Schuff
Currently clang will pass any structure with more than a single element indirectly (as LLVM byval). Many other ABIs pass small structures in registers, potentially improving performance. We could do...
I had a user ask about Emscripten's predefines (specifically it was surprising that `__asmjs__` was predefined instead of `__wasm__`). For that particular case, since already Emscripten knows that we are...
If you have a K&R-style C function declaration, such as `int foo();` currently LLVM will lower calls to it with the usual fixed-arg calling convention. Binaryen's s2wasm will leave the...
The algorithm for [run a host function](https://github.com/WebAssembly/spec/blob/bc76fd79cfe61033d7f4ad4a7e8fc4f996dc5ba8/document/js-api/index.bs#L1080) uses `ReturnIfAbrupt` (`[=?=]`) when calling the underlying JS function (meaning it can just return the completion record), or otherwise returns the result value(s)...
This method mirrors the type methods on the other interfaces (Global, Memory, etc) as defined in the JS type reflection proposal (https://github.com/WebAssembly/js-types/blob/main/proposals/js-types/Overview.md) Since this proposal will be standardized first, JS...
### Discussed in https://github.com/emscripten-core/emscripten/discussions/22289 Originally posted by **gmarella** July 28, 2024 Hi, I am trying to use `llvm-strip` that gets shipped with emscripten to strip the debug information from the...
Just for readability.
It seems to be primarily on Windows; A recent example is [here](https://logs.chromium.org/logs/emscripten-releases/buildbucket/cr-buildbucket/8736138341013155377/+/u/Emscripten_testsuite__core0_/stdout) but most [recent failures](https://ci.chromium.org/ui/p/emscripten-releases/builders/ci/win) are this issue. 4 of the 50 most recent WIndows CI builds failed with...