Commit Graph

16551 Commits

Author SHA1 Message Date
Fabian Erdmann
55ab089ffc text/regex: Pass given allocator on in create_iterator 2026-02-02 19:41:37 +01:00
Jeroen van Rijn
6a07f70c1c support -> supported 2026-02-02 17:57:50 +01:00
gingerBill
3666c1d3aa Merge branch 'master' of https://github.com/odin-lang/Odin 2026-02-02 14:28:23 +00:00
gingerBill
bb7496a2fc Add intrinsics.count_trailing_ones and intrinsics.count_leading_ones 2026-02-02 14:28:16 +00:00
Jeroen van Rijn
13f26f4645 Merge pull request #6218 from Kelimion/fix-6204
Fix #6204
2026-02-02 13:22:38 +01:00
Jeroen van Rijn
98413ad154 Remove duplicate buffer 2026-02-02 13:16:13 +01:00
Jeroen van Rijn
3a7c4994ac Fix #6204
Use temporary stack buffers and some global scratch space to remove the need for any allocator.
2026-02-02 13:11:23 +01:00
gingerBill
80c9482774 Merge pull request #6217 from odin-lang/bill/threading-fixes-2026-02
Fix to frontend threading bugs
2026-02-02 12:04:21 +00:00
gingerBill
a936f3fb7d Comment out t->Struct.are_offsets_being_processed.load() 2026-02-02 11:41:33 +00:00
gingerBill
8594deb4e1 Move return true; to after the if check 2026-02-02 11:40:30 +00:00
gingerBill
2bbedda61c Remove unneeded mutex in hash_exact_value 2026-02-02 11:39:57 +00:00
gingerBill
041ebdd8f6 Add parent mutex lock for scope_insert_with_name 2026-02-02 11:39:17 +00:00
gingerBill
813b622dcc Merge pull request #6214 from Josh8011/master
user32.odin add UnhookWinEvent
2026-02-02 11:37:43 +00:00
gingerBill
adf56ced22 Merge pull request #6215 from odin-lang/bill/fix-data-races-2026-02
Fix numerous data races
2026-02-02 11:37:19 +00:00
gingerBill
b9e4007cb1 Merge pull request #6216 from odin-lang/bill/debug-info-fixes
Debug Info Fixes
2026-02-02 11:33:21 +00:00
gingerBill
c85af4a454 Fix #6202 2026-02-02 11:27:41 +00:00
gingerBill
b183b1219c Revert mutex_lock logic 2026-02-02 11:25:49 +00:00
gingerBill
63c4faca75 Fix positions for debug locations in defer, loops, and switch clauses 2026-02-02 11:19:00 +00:00
gingerBill
fde90931de Add case for completeness 2026-02-02 11:16:05 +00:00
gingerBill
3dccd4e3ad Fix debug info 2026-02-02 11:15:34 +00:00
gingerBill
e014181abf Move values construction to after padding has been set 2026-02-02 11:12:42 +00:00
gingerBill
af86c5963d Merge pull request #6208 from JesseRMeyer/lto-support
Add ThinLTO support via -lto:thin and -lto:thin-files flags
2026-02-02 11:10:43 +00:00
gingerBill
21509ae3f4 Fix mutex_lock 2026-02-02 11:06:16 +00:00
gingerBill
ad2122a7fc Move alignas to before name 2026-02-02 11:05:30 +00:00
gingerBill
c7f40b8b8f Use mutex striping for add_type_and_value 2026-02-02 11:03:50 +00:00
gingerBill
acabae8644 Make Entity.parent_proc_decl atomic 2026-02-02 10:58:25 +00:00
gingerBill
8a92ba74fc Make defer_use_checked and where_clauses_evaluated atomic 2026-02-02 10:56:30 +00:00
gingerBill
74347f3069 Make Entity.code_gen_* atomic 2026-02-02 10:53:18 +00:00
gingerBill
d086a16f64 Make atomic variant_block_size and tag_size in TypeUnion 2026-02-02 10:52:14 +00:00
gingerBill
cb50725b86 Use compare_exchange_strong mutex_lock on non-windows sytems 2026-02-02 10:50:30 +00:00
gingerBill
20a7a645c2 Mock out TSAN_* usage in thread_pool.cpp 2026-02-02 10:48:55 +00:00
gingerBill
2608f92fee Use std::atomic for Ast.viral_state_flags and Ast_Ident.entity 2026-02-02 10:48:30 +00:00
gingerBill
f45ca2d03e Use contextless 2026-02-02 10:06:44 +00:00
gingerBill
4d938862a2 Merge pull request #5816 from jakubtomsu/win32-rawinput-and-barriers
[core:sys/windows] Sync Barriers, macros for buffered rawinput
2026-02-02 10:05:41 +00:00
Joshua Zimbicki
332af91b23 user32.odin add UnhookWinEvent 2026-02-02 17:31:51 +11:00
Jesse Meyer
1a7f78b665 Add ThinLTO support via -lto:thin and -lto:thin-files flags
- Add -lto:thin and -lto:thin-files CLI flags with validation
- Emit LLVM bitcode (.bc) instead of object files when LTO is enabled
- Pass -flto=thin and -flto-jobs to clang/lld linkers
- Guard linkage corrections to skip declarations without definitions
  (required for LTO where declarations appear across modules)
- Allow module-per-file with LTO even at higher optimization levels

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 09:04:53 -05:00
gingerBill
f7901cffc9 Add doc.odin and mention the defineables through #config 2026-01-31 16:28:47 +00:00
Jeroen van Rijn
8f13853243 Merge pull request #6201 from kovalenko0/fix/os2-read-entire-file-dword
os\os2 windows: fix truncate-clamp op order when determining to_read size
2026-01-31 14:31:53 +01:00
Oleksandr Kovalenko
8d8aaf65aa os\os2 windows: fix truncate-clamp op order when determining to_read size 2026-01-31 15:01:56 +02:00
Jeroen van Rijn
6ef2783f03 Merge pull request #6200 from Kelimion/fix-6198
Fix #6198
2026-01-31 11:06:38 +01:00
Jeroen van Rijn
2b539bfcd5 Fix #6198 2026-01-31 10:50:42 +01:00
Jeroen van Rijn
b1122284f1 Fix #6197 2026-01-31 10:19:00 +01:00
Laytan Laats
0a05ff05a3 nbio: fix send/recv buffer logic 2026-01-30 23:37:31 +01:00
gingerBill
2142d07964 Merge pull request #6195 from BunterSchatten/os-lookup-env-buf
core/os, core/os/os2: fix lookup_env_buf only working with empty buffer
2026-01-30 15:47:09 +00:00
David Bader
fb9377df17 core/os: fix lookup_env_buf only working with empty buffer 2026-01-30 14:44:38 +01:00
gingerBill
4b33c6a361 Revert build.bat 2026-01-30 12:16:54 +00:00
gingerBill
dfda1b2857 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-01-30 12:15:53 +00:00
gingerBill
2397633618 Update demo.odin 2026-01-30 12:14:59 +00:00
gingerBill
c4952c0b7e Merge pull request #6048 from odin-lang/bill/feature-using-stmt
Make `using` as a statement opt-in with `#+feature using-stmt`
2026-01-30 11:00:18 +00:00
gingerBill
5d47a2e92d Merge pull request #6053 from blob1807/test-runner-sig-win-api
[`core:testing`] Use Windows API for SIG handling
2026-01-30 11:00:12 +00:00