Commit graph

113 commits

Author SHA1 Message Date
Graham Kelly 332a4216e6 atomics 2024-06-19 22:01:39 -04:00
Graham Kelly 284d141c36 stuff 2024-06-03 15:18:53 -04:00
Graham Kelly 36e3059be7 return call ref 2024-06-02 19:33:57 -04:00
Graham Kelly 382f9808d8 Merge https://github.com/cfallin/waffle into pr/changes1 2024-04-05 14:54:28 -04:00
Chris Fallin 4eaf0ced01 Support RefIsNull operator. 2024-04-02 13:20:28 -07:00
Graham Kelly ffcf3708b6 Merge https://github.com/cfallin/waffle into pr/changes1 2024-03-29 17:14:13 -04:00
Chris Fallin 86be4c06e1 Handle typed funcrefs. 2024-03-28 16:36:59 -07:00
Chris Fallin fcbd32e6b4 Upgrade to latest wasmparser and wasm_encoder. 2024-03-28 13:40:30 -07:00
Chris Fallin 8e42abe91b Actually support V128 types in frontend. 2024-03-27 22:35:16 -07:00
Chris Fallin cea6e7a403 Add support for Wasm-SIMD ops. 2024-03-27 16:17:46 -07:00
Graham Kelly b5a61d053f suggested fixes 1 2024-02-19 13:02:49 -05:00
Graham Kelly 2f1a25c569 custom sections 2024-02-03 13:47:08 -05:00
Graham Kelly 9174f826aa fix memory in the frontend 2024-01-22 18:09:46 -05:00
Graham Kelly bd6ae8eb8d fmt 2024-01-20 09:42:01 -05:00
Graham Kelly 6a90d5fdb5 return calls, more reordering 2024-01-13 09:17:33 -05:00
Graham Kelly c3705d8186 public op io 2024-01-12 15:39:19 -05:00
Chris Fallin dab18103ce Refactor to store args and types in common list pool. 2023-04-18 18:13:31 -07:00
Chris Fallin 0e2e5bf098 Make debuginfo parsing optional. 2023-02-16 16:20:54 -08:00
Philip Craig 5470e80851 DWARF addresses are relative to the start of the code section
This partially reverts the previous commit.

Also fix the logic in `DebugLocReader::get_loc`.
2023-02-15 15:40:27 +10:00
Chris Fallin c999f995be Working debug-locs 2023-02-14 20:38:52 -08:00
Chris Fallin e23d19b03a Remove code_offset; relative to code section? 2023-02-13 18:15:38 -08:00
Chris Fallin df19820693 Show srclocs 2023-02-13 18:10:34 -08:00
Chris Fallin cfc758900d WIP. 2023-02-13 17:42:43 -08:00
Chris Fallin ebfd4209fe WIP. 2023-02-13 17:02:25 -08:00
Chris Fallin 19392d05b0 Add debug-loc info 2023-02-13 16:17:17 -08:00
Chris Fallin 0e958f5a4b Fix debuginfo parsing: actually supply all needed sections to addr2line. 2023-02-12 11:37:52 -08:00
Chris Fallin ceaa8acac6 Add addr2line usage to attempt to get source-loc information 2023-02-10 20:55:45 -08:00
Chris Fallin 8d0dc93930 Add support for roundtripping function names. 2023-02-07 18:48:11 -08:00
Chris Fallin 332c0c6f3c Merge branch 'main' of github.com:cfallin/waffle 2023-02-07 17:36:03 -08:00
Chris Fallin 5b4279f517 Lazy function parsing and recompilation when roundtripping 2023-02-07 14:34:59 -08:00
Chris Fallin b35e0837a4 Refactor Module interface to expose tables directly. 2023-02-02 13:58:50 -08:00
Chris Fallin 510f833da2 No RPO pass; put RPO functionality in CFGInfo. 2022-12-01 18:57:00 -08:00
Chris Fallin 7a3e9ce2e3
Fix reachability bug for default target of br_table. 2022-12-01 12:38:48 -08:00
Chris Fallin 284be86cd4
Bugfix in reachability and local resolution 2022-11-30 22:17:28 -08:00
Chris Fallin 52db5b4a4e
Bugfix 2022-11-29 22:37:35 -08:00
Chris Fallin 50b83525e1
Analogous bugfix at another site. 2022-11-29 22:31:12 -08:00
Chris Fallin 7da027a51d
Bugfix in SSA construction. 2022-11-29 22:28:44 -08:00
Chris Fallin 0966fdf1e8
Reachability bugfix. 2022-11-29 21:39:29 -08:00
Chris Fallin 8caba239fa
WIP. 2022-11-29 19:49:22 -08:00
Chris Fallin 4e3fb51aa9
WIP. 2022-11-29 18:40:57 -08:00
Chris Fallin 5a6177b613
WIP. 2022-11-29 18:03:33 -08:00
Chris Fallin 5ee73ea177
WIP. 2022-11-29 13:43:13 -08:00
Chris Fallin e5491528af
WIP. 2022-11-29 13:31:23 -08:00
Chris Fallin 232b34f66b
Better unreachability handling. 2022-11-29 13:22:04 -08:00
Chris Fallin a053396e69
WIP. 2022-11-29 10:38:31 -08:00
Chris Fallin 6373cfd665
WIP. 2022-11-29 10:36:45 -08:00
Chris Fallin 6273e399de
WIP. 2022-11-29 10:33:06 -08:00
Chris Fallin 26e7c7a3af
Better error handling in fuzzing; skip on unsupported features 2022-11-29 10:05:43 -08:00
Chris Fallin e9d4fe89b1 WIP: almost-complete Wasm backend. 2022-11-29 02:30:37 -08:00
Chris Fallin 8744965705 WIP. 2022-11-29 01:44:19 -08:00