Commit graph

134 commits

Author SHA1 Message Date
Roman Venediktov
74e007c2ec Renamed X86 to X86_64 2024-07-11 15:19:22 +02:00
Roman Venediktov
85b838ea2b Made compiler working on Linux too 2024-07-11 15:19:22 +02:00
Roman Venediktov
33e6003bee Fix warning -ld_classic unused 2024-07-11 15:19:22 +02:00
Roman Venediktov
7ccd5cd7d5 Disabled test02 2024-07-11 15:19:22 +02:00
Roman Venediktov
2f732ef0ce Added -ld_classic flag for clang 15+ 2024-07-11 15:19:22 +02:00
Roman Venediktov
670bb2d242 Modified escaping for llvm assembly 2024-07-11 15:19:22 +02:00
Roman Venediktov
a4648e5819 Fix global to _global 2024-07-11 15:19:22 +02:00
Roman Venediktov
94b31a70a4 Fix warnings 2024-07-11 15:19:22 +02:00
Egor Sheremetov
87a489e2e3 Fixed issues with a missing _main symbol 2024-07-11 15:19:22 +02:00
Egor Sheremetov
eb8e9374f2 Added fix for unknown __gc_init symbol 2024-07-11 15:19:22 +02:00
Egor Sheremetov
d6a2fadda1 Removed plt 2024-07-11 15:19:22 +02:00
Egor Sheremetov
46131cde74 Fixed cross-compilation flag for x86-64 macOS compilation 2024-07-11 15:19:22 +02:00
Egor Sheremetov
e74e08fa4f Changed cross-compilation flag for x86-64 macOS compilation 2024-07-11 15:19:22 +02:00
Egor Sheremetov
10dc4d6a02 Added cross-compilation flag for x86-64 macOS compilation 2024-07-11 15:19:22 +02:00
Egor Sheremetov
ced766734c Added call to functions through PLT 2024-07-11 15:19:22 +02:00
Egor Sheremetov
53d7bc42d1 Changed gen_line method 2024-07-11 15:19:22 +02:00
Egor Sheremetov
05983251c1 Removed debug symbols and fixed .section directive to be appropriate for mach-o 2024-07-11 15:19:22 +02:00
Roman Venediktov
8df129b518 Prototype pie executable 2024-07-11 15:19:22 +02:00
Roman Venediktov
9fa02845cb Prohibit user functions with built-in names 2024-07-11 15:19:22 +02:00
Roman Venediktov
907a9f4f93 Disable tail call for vararg functions 2024-07-11 15:19:22 +02:00
Roman Venediktov
bcc85384c3 Fix argc and argument order 2024-07-11 15:19:22 +02:00
Roman Venediktov
c4ffeb2fbf Added built-in labels parametrization 2024-07-11 15:19:22 +02:00
Roman Venediktov
de2c516935 Added label parametrization 2024-07-11 15:19:22 +02:00
Roman Venediktov
618dbdfc0f Implement safepoint call 2024-07-11 15:19:22 +02:00
Roman Venediktov
db296f5259 Final commit 2024-07-11 15:19:22 +02:00
Roman Venediktov
db9067b748 Fix all prints 2024-07-11 15:19:22 +02:00
Roman Venediktov
a91f61dbfa Finish fixing big numbers 2024-07-11 15:19:22 +02:00
Roman Venediktov
aeb4675210 Fix big numeric literal movement 2024-07-11 15:19:22 +02:00
danyaberezun
e8196e4c27 add a extra argument got Lprintf and disable tail call optimization for it 2024-07-11 15:19:22 +02:00
Roman Venediktov
2dadccc71f Align only main function 2024-07-11 15:19:22 +02:00
Roman Venediktov
3ae187683a Remove vararg processing & align stack 2024-07-11 15:19:22 +02:00
Roman Venediktov
0aea081841 Fix type 2024-07-11 15:19:22 +02:00
Roman Venediktov
f83cf7880c Warn on vararg closure & change hash size 2024-07-11 15:19:22 +02:00
Roman Venediktov
829eb3beab Refactor compile_call & return tail_call 2024-07-11 15:19:22 +02:00
Roman Venediktov
c89cc167ef New bunch of fixes 2024-07-11 15:19:22 +02:00
Roman Venediktov
e77433e51c Prototype of X86_64 migration 2024-07-11 15:19:22 +02:00
Danya Berezun
3fdc3e7f2a crap code 2024-07-11 15:19:22 +02:00
Danya Berezun
9170b9c860 move to dune; fix warnings 2023-09-04 21:43:28 +02:00
danyaberezun
18eac4375c comment out ERRORs check 2023-07-24 14:22:44 +02:00
danyaberezun
ce0b369958 fix: do not fix extra root if it points to lama stack; uncomment extra roots registration; rise error if binary operation is done over pointers 2023-07-03 17:58:55 +02:00
Dmitry Boulytchev
4d56ccc068 Byterun/some intrinsics 2021-10-03 17:10:21 +03:00
Dmitry Boulytchev
59f78fe38a Spec changed; Changes introduced; fixed minor bugs 2021-02-01 10:39:12 +03:00
Dmitry Boulytchev
eeddb0b25a eta in test 2021-01-12 01:14:18 +03:00
Dmitry Boulytchev
66dc5c3063 Fix for https://github.com/JetBrains-Research/Lama/issues/16 2020-11-24 23:11:17 +03:00
Dmitry Boulytchev
1849c7029b Fixed call frame info (for gdb's bt command) 2020-11-16 20:49:07 +03:00
Dmitry Boulytchev
674214cea6 A fix for https://github.com/JetBrains-Research/Lama/issues/13 2020-10-31 02:17:44 +03:00
Dmitry Boulytchev
a2f316164e gdb support; no closures yet. 2020-09-10 09:07:38 +03:00
Dmitry Boulytchev
2dbd6808a5 Better gdb support 2020-09-08 01:50:16 +03:00
Dmitry Boulytchev
e2e6d47996 Better debugging support. No local variables yet. 2020-09-06 21:39:58 +03:00
Dmitry Boulytchev
81c060d212 Primitive GDB support 2020-09-04 23:45:57 +03:00