Commit graph

155 commits

Author SHA1 Message Date
Folkert
311e464b70
add load_internal 2022-03-23 15:18:22 +01:00
Brendan Hansknecht
8393604b58 fix building without llvm 2022-02-25 10:41:11 -08:00
Brendan Hansknecht
69b4e78ac7 Add --opt-size and compiling smaller binaries 2022-02-24 15:39:50 -08:00
Brendan Hansknecht
f3ef21773f Add timing info for dev and wasm backend 2022-02-19 00:09:27 -08:00
Brian Carroll
85b418ebdf wasm: get rid of Result from gen_wasm, rename a function, improve comments 2022-02-08 11:03:48 +00:00
Folkert
c663a35e16 final phase 2022-01-26 15:44:24 +01:00
Folkert
74932a4cab phase 2 2022-01-26 14:30:37 +01:00
Folkert
73bc50c952 make the surgical linker aware of custom exported closure names 2022-01-25 00:13:22 +01:00
Brian Carroll
54e820620a Wasm: Improve a todo in roc_build 2022-01-15 14:34:06 +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
Joshua Warner
6e67b77fa1 Remove awkward split between header_sources and defs sources 2022-01-13 19:34:17 -08:00
ayazhafiz
6ea7d63380 Make sure line offsets are generated properly for external programs
Closes #2329
2022-01-13 20:59:03 -05:00
Brian Carroll
9c0abcd0da Wasm: Preload WasmModule from object file bytes 2022-01-13 05:41:52 +00:00
Joshua Warner
82d2be0635 Introduce LineColumnRegion and force conversion 2022-01-01 18:20:05 -08:00
Brendan Hansknecht
8c6e5360cd Remove Cell around interns 2021-12-07 16:54:06 -08:00
Folkert
3291cc680e use Cell, remove threading of identids 2021-12-03 21:50:26 +01:00
Folkert
edf113513c add helper methods for layout -> string conversion in dev backend 2021-12-03 20:49:09 +01:00
Brian Carroll
e088eceb29 Generate refcounting procs in gen_dev 2021-12-02 15:41:09 +00:00
Brian Carroll
d0ef1e5b36 Route IdentIds to refcount proc generator in dev backend 2021-12-02 09:58:34 +00:00
Brian Carroll
820d9e0ab4 Register debug names for new Symbols, and refactor to avoid borrow-checker issues 2021-11-30 09:57:00 +00:00
Brian Carroll
e7d8c7c895 Make gen_wasm's Env mutable 2021-11-30 09:57:00 +00:00
Brian Carroll
ebc1fd6880 Get rid of special ModuleId for refcounting code 2021-11-30 09:57:00 +00:00
Brian Carroll
2ad032f894 Integrate refcount proc generator with Wasm backend 2021-11-30 09:57:00 +00:00
Brendan Hansknecht
a63dd1eb61 use unimplemented! and internal_error! instead of result in dev backend 2021-11-27 12:38:29 -08:00
Brendan Hansknecht
d49ac68bcc Update dep with major version changes 2021-11-05 19:19:37 -07:00
Brendan Hansknecht
868e9392b1 appease clippy 2021-11-04 22:04:23 -07:00
Brendan Hansknecht
d78b351798 cleanup targets and llvm config to properly progate and build with any subset of features 2021-11-04 21:48:04 -07:00
Folkert
5c02899535 oops 2021-10-20 23:52:51 +02:00
Folkert
5084fd533b only do type checing for roc check 2021-10-10 16:32:14 +02:00
Folkert
f1ec5c30d0 make things compile 2021-10-01 20:33:34 +02:00
Richard Feldman
a21ad7064c Ignore type errors that have already been reported 2021-09-18 08:24:46 -04:00
Folkert
2de9856576 add fibonacci example 2021-09-15 23:34:27 +02:00
Folkert
15fd312b6f hook up wasm and assembly dev backends 2021-09-15 20:53:00 +02:00
Folkert
c221225ed9 refactor 2021-09-15 20:05:57 +02:00
Richard Feldman
d6057eafb4 clippy 2021-09-13 20:06:38 -04:00
Richard Feldman
2cf551a634 Extract program::report_problems 2021-09-13 19:51:38 -04:00
Brendan Hansknecht
56dc278fae Merge branch 'trunk' into linker 2021-09-03 19:57:32 -07:00
Richard Feldman
5603e143ad
Merge pull request #1661 from rtfeldman/linux-32-bit
32-bit linux
2021-09-03 22:10:28 -04:00
Folkert
a7eeae05ca support i386 (no linking yet) 2021-09-04 01:31:33 +02:00
Folkert
2931427870 Merge remote-tracking branch 'origin/trunk' into linux-32-bit 2021-09-03 21:10:51 +02:00
Richard Feldman
3364ea00e0 Only print warnings if there are no errors 2021-09-02 22:24:48 -04:00
Richard Feldman
828c5191cf Print a horizontal rule after the last error 2021-09-02 21:59:13 -04:00
Folkert
cde8f5cbd4 optimize RC 2021-09-02 21:29:24 +02:00
Folkert
98c672bbde pipe target information through 2021-09-01 21:50:59 +02:00
Brendan Hansknecht
c1cae950e7 Fix linking with PIC 2021-08-28 15:24:02 -07:00
Brendan Hansknecht
c7f5793d2a Merge branch 'trunk' into linker 2021-08-28 15:15:17 -07:00
Brendan Hansknecht
379904fcc5 Make debug output and linking properly pic/pie. Remove non-pic relocation from linker 2021-08-27 23:21:48 -07:00
Folkert
541c56adb7 emit .bc to the right place in wasm + debug mode 2021-08-27 12:24:08 +02:00
Brendan Hansknecht
f0f37bfe03 Switch to PIC based linking 2021-08-25 22:46:15 -07:00
Folkert
8846841a95 follow the C abi for effect functions the host exposes 2021-08-25 20:47:03 +02:00