Commit Graph

4305 Commits

Author SHA1 Message Date
gingerBill
e30f16b1f3 Correct -init for *nix 2022-01-12 20:17:30 +00:00
gingerBill
fb0a3ab7c1 Correct linkage for entry point procedures on Windows 2022-01-12 20:07:17 +00:00
gingerBill
5ec93677a0 Correct look for entry point in llvm backend (Windows only currently) 2022-01-12 19:27:49 +00:00
gingerBill
7e4067c44c Begin work to move entry point code to Odin itself rather than in C++ side 2022-01-12 19:19:43 +00:00
gingerBill
f2f6c3c67d Merge branch 'master' of https://github.com/odin-lang/Odin 2022-01-11 10:56:13 +00:00
gingerBill
847b05013f Disable DEFAULT_TO_THREADED_CHECKER until race condition is found 2022-01-11 10:56:07 +00:00
Dale Weiler
4334dbe69a disable this warning 2022-01-10 18:00:38 -05:00
Dale Weiler
8f91e9307c shared library fixes 2022-01-10 17:57:33 -05:00
gingerBill
32ec1162bf Use more {} ctor 2022-01-10 14:52:47 +00:00
gingerBill
7cc265e14c Add mutex guards for signature scopes 2022-01-10 14:50:28 +00:00
gingerBill
6f3e450c50 Move error handling code to a separate file 2022-01-10 14:03:36 +00:00
gingerBill
cb1080d56c Fix check_procedure_bodies to allow multiple threads caused by a typo 2022-01-10 13:31:34 +00:00
gingerBill
80bd1eb615 Fix polymorphic matrix element with a minor hack 2022-01-10 12:19:49 +00:00
Jeroen van Rijn
1d1d684cbc Merge pull request #1407 from Platin21/feature/fix-supervisor-call
Fix Syscall Intrinsic on ARM64 MacOS
2022-01-05 17:02:24 +01:00
Platin21
7a14acaa01 Fixes syscall intrinsic on macOS they use a slightly different section + register for the id 2022-01-05 16:49:58 +01:00
gingerBill
17613185e7 Support struct field tags in odin doc format 2022-01-04 11:44:34 +00:00
gingerBill
f818d0feb1 Fix #1344 2022-01-03 19:43:22 +00:00
gingerBill
defc1672c3 Revert fix #1344 2022-01-03 13:48:12 +00:00
gingerBill
12f459b5fb Fix #1344 2022-01-03 13:12:39 +00:00
gingerBill
e6b8f7e77a Fix #1398 2022-01-03 12:54:31 +00:00
gingerBill
236b08cb49 Fix #1356 2022-01-03 12:51:32 +00:00
gingerBill
6543491148 Clean up code for queue (no logic changed) 2022-01-02 15:31:47 +00:00
gingerBill
3cbf9c3719 Fix #1381 2022-01-02 14:45:39 +00:00
gingerBill
0d7cb02386 Fix conversion from float to quaternion 2021-12-31 23:20:14 +00:00
gingerBill
bdf66bb1e1 Correct abs type behaviour for quaternions 2021-12-31 22:54:12 +00:00
gingerBill
ed742846cb Correct lb_emit_ptr_offset bug caused by LLVMConstGEP assuming a signed index 2021-12-29 15:01:56 +00:00
Henry Dooley
865d88dd56 review feedback 2021-12-28 10:50:34 -06:00
gingerBill
78359f0c16 Merge pull request #1379 from weshardee/master
___$startup_runtime for MacOS
2021-12-28 14:09:42 +00:00
Platin21
86f831ddd1 This adds code which checks how big the return is and if it is to big returns the value via sret 2021-12-27 22:10:52 +01:00
Henry Dooley
069c05669f cast isize to unsigned int for llvm api, add defaulted name parameter to helper. 2021-12-25 16:46:02 -06:00
Henry Dooley
516065d7c2 factor out alloca generation into a helper 2021-12-25 16:28:09 -06:00
Yawning Angel
dce120258f src: Add preliminary support for Linux AArch64
Tested via `tests/core`, on a Raspberry Pi 4 running the latest
64-bit Raspberry Pi OS image (LLVM 11).
2021-12-23 02:46:32 +00:00
Platin21
8dbeed8a9f Removes unneeded lookups / Adds sret to call site which fixes the mac bug 2021-12-23 01:59:31 +01:00
Wes Hardee
92ce7defb1 Merge branch 'master' of https://github.com/weshardee/Odin 2021-12-18 12:43:33 -06:00
Wes Hardee
a48317deee use '___$startup_runtime' for MacOS
MacOS needs 3 underscores unlike the 2 needed by Linux.
2021-12-18 12:43:24 -06:00
gingerBill
0548db4230 Disallow @(static) and @(thread_local) within defer statements 2021-12-17 11:06:17 +00:00
gingerBill
08a081ed45 Improve debug symbol retention with -debug -opt:0 2021-12-11 17:42:58 +00:00
gingerBill
6ce5608003 Correct odin doc default parameter value init_string generation 2021-12-03 11:46:54 +00:00
gingerBill
2b07afaf70 Add lb_build_addr on or_return and or_else for sanity's sake 2021-11-27 16:03:03 +00:00
gingerBill
db9326f31d Merge pull request #1332 from odin-lang/nasm-support
NASM Support
2021-11-26 23:06:33 +00:00
gingerBill
27106dd9ae Allow .asm, .s, and .S as valid assembly file extensions 2021-11-26 22:25:07 +00:00
gingerBill
33dc12a61a Add supported check for .asm files 2021-11-26 14:46:03 +00:00
gingerBill
ffd7ca57f1 Move nasm.exe to windows/nasm.exe, etc 2021-11-26 14:40:39 +00:00
Joakim Hentula
8255481204 Allow enums to pass #any_int checks 2021-11-25 11:20:40 +00:00
gingerBill
1e453cf1d7 Merge pull request #1296 from kevinsjoberg/do-not-filter-tests-when-empty
Do not filter test procedures when filter is empty
2021-11-25 09:13:31 +00:00
gingerBill
c34a331696 Add -extra-assembler-flags 2021-11-24 22:20:18 +00:00
gingerBill
994ee5a559 Allow for multiple .asm files 2021-11-24 17:57:31 +00:00
gingerBill
50057b0696 Add basic support for foreign import "foo.asm" on Windows with nasm.exe 2021-11-24 16:56:42 +00:00
gingerBill
bc775afccb Merge branch 'master' of https://github.com/odin-lang/Odin 2021-11-24 16:31:47 +00:00
gingerBill
504ea7deeb Fix update_untyped_expr_type for ternary if expressions with an untyped type 2021-11-24 16:31:37 +00:00