Derek Schuff
Derek Schuff
Ah that's a good point that the linking document is relevant here this as well. Although I just noticed that while linking.md has sections about merging global, event, function, data,...
oh, so the object file doesn't define a table at all, it only creates R_WASM_TABLE_INDEX relocs, and then anything targeted with such relocations automatically goes into the table after link?
- Exporting a function from (or to) a dll has overhead in any system. There's a symbol table that grows with each export, and in ELF it also means that...
Yes, I believe that's correct. I think we just need to add to the existing list of [relocation types](https://github.com/WebAssembly/tool-conventions/blob/main/Linking.md#relocation-sections)
OK, so from the "assembly language" perspective I agree that it would be nice to have the format used by LLVM be as close as practical to the official wat...
I think that's a pretty good summary, I can't think of an option C off the top of my head. Thinking through the options a little more: A: The LLVM...
Interesting, that looks to me basically like option A, except that the conversion happens earlier in the pass pipeline.
> We'd need to change/move the current register to stack conversion that happens later in the pipeline (after MC). I'm a bit unclear what you mean here. Currently the ExplicitLocals...
> If you want to stay as close to the wat format as possible, would it work to use wat + annotations or would that be too unwieldy? That's a...
Oh also it probably makes sense for emscripten not to define `__asmjs__` when compiling straight to wasm, (since there will never be any asmjs output) but removing that seems likely...