Commit graph

65 commits

Author SHA1 Message Date
Folkert
cfdfbe18a4
implement panic on overflow for mul in the dev backend 2024-01-02 15:56:28 +01:00
Ayaz
aaba3f4d82
Merge branch 'main' into clippy-1.74 2023-12-02 20:09:06 -06:00
Brendan Hansknecht
f5fb01fd53
Get tests passing
Add roc_dbg to some platforms.
Also start updating some roc_panic impls.
2023-11-29 21:05:49 -08:00
Folkert
b3177a157c
first automatic changes 2023-11-18 22:38:04 +01:00
Luke Boswell
b925e6e0bc
fix dev backend symbol name length 2023-10-09 15:24:38 +02:00
Agus Zubiaga
b9c003afc6
Format object_builder 2023-10-09 15:24:38 +02:00
Agus Zubiaga
ad127eb395
Add undefined rc procs for LinkedData too 2023-10-09 15:24:37 +02:00
Luke Boswell
7de2915fb7
WIP setjmp longjmp roc_panic aarch64 dev 2023-10-09 15:24:36 +02:00
Luke Boswell
f1e049ddc9
fix aarch macos relocation for LinkedData 2023-10-09 15:24:36 +02:00
Folkert
8414e18ffb
attach 12-bit relocation to the addition instruction 2023-10-09 15:24:35 +02:00
Folkert
e1f173fb95
fix missing data ptr relocation for aarch64 2023-10-09 15:24:35 +02:00
Folkert
529703d449
fix data pointers 2023-10-09 15:24:30 +02:00
Folkert
ce34d5826b
on aarch64, unify data and function pointers 2023-10-09 15:24:30 +02:00
Folkert
311ae4c7a6
an attempt at function pointers 2023-10-09 15:24:29 +02:00
Luke Boswell
0259c11565
fix relocation format macos aarch64 dev backend 2023-09-16 19:33:44 +10:00
Folkert
04906c1b58
fix relocation addend 2023-09-16 10:59:35 +02:00
Folkert
8ffc46d9a9
debug relocations 2023-09-16 01:36:15 +02:00
Folkert
c98d9356ac
centralize relocation logic 2023-09-16 01:35:26 +02:00
Folkert
bcfab8d09e
fix relocation size 2023-09-15 23:07:26 +02:00
Folkert
9e3fe7b405
use supported relocation format 2023-09-15 23:07:26 +02:00
Folkert
027b8aff4d
add function calls and maybe fix function call relocations? 2023-09-15 23:06:06 +02:00
Folkert
4b70076e8b
remove unused argument 2023-09-14 14:55:22 +02:00
Folkert
5e4f43e1d8
checkpoint 2023-09-14 14:43:24 +02:00
Folkert
5557fb7e34
repl helper codegen 2023-09-14 14:39:12 +02:00
Folkert
7c584dd5d8
disable debugging info 2023-09-14 11:51:03 +02:00
Folkert
51067f0ae4
add List.map* 2023-09-14 11:46:49 +02:00
Luke Boswell
1856695b0b
only generate roc panic if running tests 2023-09-03 21:32:35 +02:00
Folkert
0f3da32d9d
remove unused field 2023-08-09 15:11:02 +02:00
Folkert
7fb4b60b21
move around hostexposedalias logic 2023-08-09 15:09:03 +02:00
Folkert
b000f3819a
formatting 2023-07-30 20:44:13 +02:00
Luke Boswell
c4b8a6e8f2
windows patches 2023-07-30 20:44:13 +02:00
Folkert
da3635de8e
cleanup 2023-07-30 20:44:13 +02:00
Folkert
bb97b9ff74
cleanup 2023-07-30 20:44:10 +02:00
Folkert
f59eed6366
so close 2023-07-30 20:44:10 +02:00
Folkert
644def72f1
working happy path 2023-07-30 20:44:10 +02:00
Folkert
d3ac7d616d
WIP 2023-07-30 20:44:09 +02:00
Folkert
8c99cdf817
working codegen 2023-07-30 20:44:07 +02:00
Folkert
10aa4f58c9
WIP 2023-07-30 20:41:33 +02:00
Folkert
f96c78b3a5
setjmp/longjmp assembly gen 2023-07-30 20:39:53 +02:00
Ayaz Hafiz
13d1232f7d
Erased functions do not take a func spec 2023-07-12 14:44:17 -05:00
Folkert
ef39bad7c6
auto clippy fixes 2023-07-10 18:27:08 +02:00
Folkert
6d2d65bb1e
remove Boxed layout 2023-07-09 15:47:28 +02:00
Folkert
76dcb75ff6
add Ptr lowlevels 2023-06-24 14:49:46 +02:00
Folkert
b048cb38a6
take lambda name into account when generating function id in dev backend 2023-06-11 13:39:43 +02:00
Ayaz Hafiz
5274dbcd00
Add a Newtype variant to LayoutWrapper 2023-06-06 16:03:52 -05:00
Folkert
c19ad4ecfd
fix list decrement in dev backend 2023-05-14 15:20:42 +02:00
Ayaz Hafiz
f100e8753c
Introduce the concept of SemanticRepr 2023-05-10 13:51:04 -05:00
Ayaz Hafiz
c3eeb5e2cc
Wrap layouts in a LayoutRepr constructor
Part 1 of support semantic layout representations.
2023-05-10 13:22:10 -05:00
Folkert
6ed899d8be
indirec inc/dec generation in mono helpers 2023-05-05 15:02:21 +02:00
Folkert
fa5b18685a
re-use proc's symbol 2023-05-01 18:41:50 +02:00