Commit Graph

6013 Commits

Author SHA1 Message Date
gingerBill
16254ed8fa Merge pull request #6119 from slowhei/master
Fix assertion error when imported proc groups are passed as proc arguments
2026-01-16 09:16:25 +00:00
gingerBill
557e854864 -disable-unwind 2026-01-15 18:12:39 +00:00
gingerBill
f4a7e0b279 Add @(no_sanitize_thread) 2026-01-15 18:06:25 +00:00
gingerBill
59ae82634e Add preserve/most and preserve/all 2026-01-15 17:52:36 +00:00
gingerBill
5f07055ac1 Add #must_tail and "preserve/none" calling convention 2026-01-15 17:28:28 +00:00
gingerBill
0366cd3304 Add #must_tail (similar syntax to #force_inline 2026-01-15 16:32:52 +00:00
Franz Hoeltermann
ac35e0336b Fix indentation 2026-01-14 10:42:43 +01:00
Franz
c64fad8ef7 Add warning for size_of(&x) expressions 2026-01-14 00:43:06 +01:00
Fabrice
622fa818bc Adds static linking to non-windows platforms (#6057) 2026-01-13 20:56:40 +01:00
gingerBill
0f875727a2 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-01-11 18:54:55 +00:00
gingerBill
5938c783a6 Fix #type not being handled as in normal expressions 2026-01-11 18:54:46 +00:00
gingerBill
3345ed0622 Merge pull request #6120 from ske2004/fix-regression-6118
Fix regression for #6118 in #6104
2026-01-10 18:48:15 +00:00
ske
3e31055ca7 Fix regression in #6118 2026-01-10 10:46:53 -03:00
Tohei Ichikawa
bf7c92bf09 Fix assertion error when imported proc groups are passed as proc arguments 2026-01-10 03:05:04 -05:00
gingerBill
e88776e00f Merge pull request #6115 from bbogdan-ov/target-flag-usage-example
Show `-target` flag usage examples in the help
2026-01-09 13:04:56 +00:00
bogdanov
559b75cc81 Show -target flag usage examples in the help 2026-01-08 18:56:59 +03:00
ske
91c1950b9f Fix constant conversion checks (#6104) 2026-01-07 02:19:41 -03:00
gingerBill
7fa05f16bf Minor change from make_checker_context to init_checker_context 2026-01-03 20:14:15 +00:00
ske
2700fa86d6 fix typo 2025-12-30 22:24:10 -03:00
ske
e4bf5476c3 Fix literal endianness (fix #6068) 2025-12-30 22:08:40 -03:00
gingerBill
a523463b7e Merge pull request #6079 from krnowak/krnowak/fix-proc-inlining
Fix handling of #force_inline
2025-12-30 13:35:16 +00:00
gingerBill
93d7e2a452 Add globaldynamic thread_local model (same as the current default) 2025-12-30 13:08:30 +00:00
gingerBill
e61228484a Merge branch 'master' of https://github.com/odin-lang/Odin 2025-12-30 12:58:43 +00:00
gingerBill
f1c6c52c21 Fix @(static, rodata) for slices 2025-12-30 12:58:37 +00:00
Laytan
bbd4c38f8f Merge pull request #6082 from harold-b/hb.fix-objc-auto-msgsend-class-methods
Fix auto objc_msgSend incorrectly treating certain class methods as instance methods.
2025-12-30 01:29:18 +01:00
Krzesimir Nowak
0bf4ffe469 Fix handling of #force_inline 2025-12-29 22:08:56 +01:00
Harold Brenes
ef33e55182 Fix auto objc_msgSend incorrectly treating certain class methods as instance methods. 2025-12-29 15:31:12 -05:00
gingerBill
39fa1b7201 LLVM IR: Improve basic block names for trivial switch statements for debuggability 2025-12-28 11:52:31 +00:00
gingerBill
14a60adefe LLVM IR: Improve type switch case names for better debuggability when generating LLVM IR 2025-12-27 12:48:25 +00:00
gingerBill
de761cbdd3 Remove temporary tuple fix alloca instructions if they are never used 2025-12-27 11:53:01 +00:00
gingerBill
2e6554b8c8 Disallow importing directories with an .odin extension/suffix 2025-12-26 11:49:46 +00:00
gingerBill
ce013acee7 Merge pull request #6031 from krnowak/krnowak/packed-all-or-none
Fix #packed #all_or_none
2025-12-21 20:21:24 +00:00
Krzesimir Nowak
8ca7fc481f Fix misleading error messages for init, fini and test attributes
These look like copy-pasta from the private attribute.
2025-12-21 18:59:26 +01:00
Harold Brenes
30e2875396 Fix automatic objc_msgSend on static methods not resolving aliased types. 2025-12-20 00:54:57 -05:00
gingerBill
70affd7e44 Disable global variable initialization into separate functions to circumvent an LLVM bug 2025-12-19 16:23:48 +00:00
Krzesimir Nowak
a5809d0185 Fix #packed #all_or_none 2025-12-18 15:04:34 +01:00
gingerBill
32f459e152 Change target triple of freestanding_amd64_win64 to x86_64-pc-windows-msvc to fix a bug with LLVM's code generation 2025-12-17 10:36:42 +00:00
gingerBill
e0e38afe60 With -use-single-module make some procedures use internal linkage rather than weak linkage 2025-12-17 10:27:28 +00:00
gingerBill
c5a54a0e52 Do naive compound literal comparison for $ parameters to parapoly procedures 2025-12-15 10:41:50 +00:00
gingerBill
aed11c4619 Remove debug string 2025-12-15 10:19:59 +00:00
gingerBill
ae314a4c6b Propagate array arithmetic fix 2025-12-15 09:43:29 +00:00
gingerBill
56876e32da Present constant array arithmetic error correctly 2025-12-15 09:42:08 +00:00
gingerBill
a3f189e896 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-12-09 12:47:59 +00:00
gingerBill
79ef9f0a43 Fix #6003 2025-12-09 12:47:49 +00:00
gingerBill
c0e4d2ea05 Merge pull request #5981 from the-JS-hater/struct-cycle-fix
undetected type declaration cycles work-around
2025-12-09 10:53:51 +00:00
miere43
29019d7138 Fix duplicate code emission in type assertions. 2025-12-03 21:27:38 +03:00
Jeroen van Rijn
7e9ceaa281 Fix #5982
Add escape analysis check for #load directive to fix #5982.
2025-12-01 22:16:37 +01:00
Morgan
555081240b missed a semicolon 2025-12-01 16:43:52 +01:00
Morgan
b3ef77e9dd undetected type declaration cycles work-around 2025-12-01 16:24:57 +01:00
Jeroen van Rijn
ac61f083fa Restore help line for all-bits 2025-12-01 14:15:56 +01:00