Anton-4
|
eee85fa45d
|
moved all crates into seperate folder + related path fixes
|
2022-07-01 17:37:43 +02:00 |
|
Brian Carroll
|
376cbbc4b2
|
wasm: Make NameSection easier to manipulate
|
2022-06-06 10:54:56 +01:00 |
|
Brian Carroll
|
4de7490c96
|
wasm: Make serialization functions more consistent
|
2022-06-03 09:59:37 +02:00 |
|
Brian Carroll
|
f063064e01
|
wasm: make sure the host's extern globals are exposed to JS
|
2022-06-03 09:51:33 +02:00 |
|
Brian Carroll
|
b1d3bac1c4
|
wasm: fix relocation bug
|
2022-06-03 09:51:33 +02:00 |
|
Brian Carroll
|
9b47dada6a
|
wasm: implement relocations to set memory layout
|
2022-06-03 09:51:33 +02:00 |
|
Brian Carroll
|
8114ec60c1
|
Start using Result to handle Wasm module parse failures
|
2022-05-22 09:36:33 +01:00 |
|
Brian Carroll
|
fc5d71c20c
|
wasm: Create parse module and move SkipBytes trait into it
|
2022-05-21 10:53:50 +01:00 |
|
Richard Feldman
|
fd40fed937
|
Fix a bunch of errors from clippy --tests
|
2022-05-10 15:21:48 -04:00 |
|
Brian Carroll
|
9ae26c5aac
|
wasm: use __data_end to account for all constant data including zero (bss) data
|
2022-03-08 08:56:34 +00:00 |
|
Mats Sigge
|
71f359fbdc
|
Move macros from roc_reporting to new roc_error_macros module
The `internal_error!` and `user_error!´ macros can't be used everywhere
when they live in `roc_reporting` due to circular dependencies.
|
2022-01-23 18:40:04 +01:00 |
|
Brian Carroll
|
9290d3ad5c
|
Wasm: Clarify where magic constant 5 comes from
|
2022-01-15 15:35:42 +00:00 |
|
Brian Carroll
|
f4137013cb
|
Wasm: tweaks from self-review
|
2022-01-14 18:50:52 +00:00 |
|
Brian Carroll
|
4311b5a410
|
Wasm: Make dead functions unreachable , and the same for all return types
|
2022-01-14 18:21:13 +00:00 |
|
Brian Carroll
|
9dabc2db15
|
Wasm: adjust dead code elimination to account for import function indices
|
2022-01-14 18:20:52 +00:00 |
|
Brian Carroll
|
7a4593170c
|
Wasm: reuse existing SkipBytes code for opcodes
|
2022-01-14 18:20:52 +00:00 |
|
Brian Carroll
|
8a384ffa88
|
Wasm: parse just enough of the Import section to count functions
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
f9fbe461d1
|
Wasm: Fix section parsing bug
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
3067358a33
|
Wasm: test for LEB-128 decoder
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
9c0abcd0da
|
Wasm: Preload WasmModule from object file bytes
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
5a39002e8b
|
Wasm: Serialize WasmModule without linking info
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
fc677e8d58
|
Wasm: add preloading logic for Types section
|
2022-01-10 10:26:43 +00:00 |
|
Brian Carroll
|
01b47a2ec7
|
Add inline directives to ensure unit placeholders are optimised away
|
2021-11-05 12:11:37 +00:00 |
|
Brian Carroll
|
c57d99c1ac
|
Create types for DataSection
|
2021-11-04 18:58:17 +00:00 |
|
Brian Carroll
|
ad9b761fce
|
Move wasm file format code into a submodule
|
2021-11-03 11:20:16 +00:00 |
|