Brian Carroll
|
c7da7ca689
|
Wasm: Parse the Name section, export init_refcount_test, and don't DCE exports
|
2022-01-14 18:20:52 +00:00 |
|
Brian Carroll
|
3d00217b53
|
Wasm: rename build_module_help -> build_module_without_test_wrapper
|
2022-01-14 18:20:52 +00:00 |
|
Brian Carroll
|
ca2597973e
|
Wasm: store function_count on the ImportSection
|
2022-01-14 18:20:52 +00:00 |
|
Brian Carroll
|
7f5b8c7296
|
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-pre-linking
|
2022-01-14 18:20:24 +00:00 |
|
ayazhafiz
|
72ee2d6327
|
Mark pretty_print_ir_symbols public
|
2022-01-13 16:35:09 -05:00 |
|
hafiz
|
5f216122d6
|
Update dev.rs
|
2022-01-13 16:33:26 -05:00 |
|
Brian Carroll
|
535927a85e
|
Wasm: fix test_wrapper function index
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
b46124234f
|
Wasm: Add mock functions to HTML debugger for the full set of WASI imports
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
4f15fb3967
|
Wasm: Adjust funciton index for test_wrapper export declaration
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
9f0e0d5099
|
Wasm: create a hashmap of exported functions
|
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
|
fd79613f0d
|
Wasm: load platform object file in tests and pass the bytes to the backend
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
5d5e0eca96
|
Wasm: Convert remaining sections to store bytes, and add .size() methods
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
56316da870
|
Wasm: skip linking step in tests
|
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
|
d88b86e884
|
Wasm: change TypeSection tests to unit tests rather than integration tests
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
5de9581b62
|
Wasm: pre-link app-independent code before running tests (builtins, plaform & libc)
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
54f2855349
|
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-module-refactor
|
2022-01-11 21:51:03 +00:00 |
|
Folkert de Vries
|
c16506fc8d
|
Merge pull request #2315 from rtfeldman/wasm-refcount-union
Wasm: refcount for tag unions
|
2022-01-11 22:33:52 +01:00 |
|
Brian Carroll
|
fc677e8d58
|
Wasm: add preloading logic for Types section
|
2022-01-10 10:26:43 +00:00 |
|
Brian Carroll
|
738434329e
|
Wasm: refactor the model of the Linking section
|
2022-01-10 10:26:42 +00:00 |
|
Brian Carroll
|
8cf82ae1b3
|
Wasm: Delete old output files before compiling new ones
|
2022-01-10 10:26:42 +00:00 |
|
Brian Carroll
|
71a5013ed4
|
Add an HTML file for debugging wasm
|
2022-01-06 10:49:58 +00:00 |
|
Brian Carroll
|
854106972c
|
Nicer assertions in C test platform
|
2022-01-06 10:49:34 +00:00 |
|
Brian Carroll
|
e0d0e1884d
|
Check number of allocations in refcount tests
|
2022-01-05 12:24:04 +00:00 |
|
Lucas
|
ef4bb5e124
|
Merge pull request #2287 from rtfeldman/str_to_num
WASM StrToNum
|
2022-01-03 19:28:18 -05:00 |
|
Joshua Warner
|
9b24a4ed9b
|
Fix dev backend problem reporter
|
2022-01-02 09:41:41 -08:00 |
|
Brian Carroll
|
a85fdda07a
|
Fix misalignment bug in wasm tests (copy/paste error)
|
2022-01-02 12:38:41 +00:00 |
|
Joshua Warner
|
82d2be0635
|
Introduce LineColumnRegion and force conversion
|
2022-01-01 18:20:05 -08:00 |
|
Brian Carroll
|
310de090a3
|
Wasm: Refcounting for struct fields
|
2022-01-01 11:32:53 +00:00 |
|
Brian Carroll
|
ff0c0766ad
|
Note on why refcount tests need result type
|
2021-12-31 23:53:51 +00:00 |
|
Brian Carroll
|
6fabeb345b
|
edit comment
|
2021-12-31 21:23:15 +00:00 |
|
Brian Carroll
|
4a6b79b686
|
Wasm tests: Skip linking step (and all filesystem access) when not needed
|
2021-12-31 21:23:15 +00:00 |
|
Brian Carroll
|
84661b7ae1
|
Rename BuildType -> TestType
|
2021-12-31 21:23:15 +00:00 |
|
Brian Carroll
|
01f293125a
|
Delete debug code that has been superseded
|
2021-12-31 21:23:15 +00:00 |
|
Brian Carroll
|
a2e58f8530
|
Split wasm test code into smaller well-named functions
|
2021-12-31 21:23:15 +00:00 |
|
Brian Carroll
|
d66d432716
|
Wasm tests: speed up 3x by only exporting refcount symbols when used
49s vs 2m10s
|
2021-12-31 21:23:15 +00:00 |
|
Brian Carroll
|
101ac69de2
|
Disable refcounting test code when not in use
|
2021-12-30 20:00:25 +00:00 |
|
Brian Carroll
|
e612f51905
|
Tweak wasm test platform
|
2021-12-30 15:45:20 +00:00 |
|
Brian Carroll
|
7aa3f77b3c
|
Handle freed values in refcount tests
|
2021-12-29 17:31:05 +00:00 |
|
Brian Carroll
|
4d2e4d454b
|
Create code gen tests for refcounting
|
2021-12-29 16:48:43 +00:00 |
|
Lucas
|
fe62e59e31
|
Merge pull request #2278 from rtfeldman/configure-zig-executable
use ROC_ZIG environment variable to configure which zig is used
|
2021-12-26 14:40:48 -05:00 |
|
Brian Carroll
|
e10acd59ee
|
Debug config for Wasm backend
|
2021-12-26 10:45:18 +00:00 |
|
Folkert
|
022b1ca83a
|
use ROC_ZIG environment variable to configure which zig is used
|
2021-12-25 22:27:52 +01:00 |
|
Folkert de Vries
|
db44d03e66
|
Merge pull request #2259 from rtfeldman/i/2227-record-layout-hang
Turn invalid record field types into runtime errors
|
2021-12-23 20:17:34 +01:00 |
|
ayazhafiz
|
0a94f82bc6
|
Simplify expect_runtime_error_panic
|
2021-12-22 12:43:48 -06:00 |
|
ayazhafiz
|
823e32961f
|
Add macro to expect runtime error panic through llvm backend, and a test
|
2021-12-22 09:17:54 -06:00 |
|
Brian Carroll
|
17dc6668ec
|
Make all Wasm blocks NoResult and always put return value in a local var.
|
2021-12-21 13:16:15 +00:00 |
|
Brian Carroll
|
7cba80efbb
|
Disable some debug code
|
2021-12-12 08:37:38 +00:00 |
|
Brian Carroll
|
b1a2a3ba07
|
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-recursive-tags
|
2021-12-11 23:26:29 +00:00 |
|