Commit Graph

15568 Commits

Author SHA1 Message Date
gingerBill
1a4da5cb0f Distribute anonymous procedure literals correctly across LLVM modules 2025-09-19 11:13:18 +01:00
gingerBill
6ce889f4eb Entity * to std::atomic<Entity *> to remove the need for a PtrMap+Mutex 2025-09-19 11:01:41 +01:00
gingerBill
5f76d6ce15 Support -linker:mold 2025-09-19 10:25:11 +01:00
gingerBill
1507cc01a5 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-18 23:26:23 +01:00
gingerBill
5d14df4112 Multithread lb_module_init 2025-09-18 23:26:11 +01:00
gingerBill
4d2854f561 Merge pull request #5632 from kalsprite/x386
windows i386 support
2025-09-18 22:01:14 +01:00
gingerBill
9cf69576ab More improvements to minimize code gen size 2025-09-18 20:58:24 +01:00
gingerBill
4b0a07ba27 Minor rearrangement 2025-09-18 17:06:09 +01:00
gingerBill
37e1e00623 Revert global procedure threading 2025-09-18 16:57:21 +01:00
gingerBill
5bc9d79f77 Change mutex usage for missing procedures 2025-09-18 16:56:19 +01:00
gingerBill
111e2f0c1b After global procedures and types are generated, then queue the generation of the procedures for each module 2025-09-18 16:53:00 +01:00
gingerBill
5559916d5c Mulithread startup procedure body generation 2025-09-18 16:35:04 +01:00
gingerBill
3954491393 Type erasure to minimize code generation size 2025-09-18 15:54:05 +01:00
gingerBill
0f307fbc5d Use multiple modules per file in package runtime 2025-09-18 15:34:19 +01:00
gingerBill
738a72943b Try moving parapoly procs into a separate module when doing weak monomorphization 2025-09-18 15:04:16 +01:00
gingerBill
5b0510a6bd Merge pull request #5690 from Creativty/master
Fix #5682 segfault involving string_to_string16 on linux
2025-09-17 17:28:24 +01:00
rationalcoder
710533975e Fix out-of-band allocations in dynamic arenas 2025-09-16 16:31:10 -05:00
xenobas
3e7395eba6 fix: fix segfault on string_to_string16 2025-09-16 21:40:57 +01:00
Tohei Ichikawa
5e71ba4456 Remove an outdated TODO 2025-09-16 10:57:54 -04:00
Tohei Ichikawa
403ca2fb2e Improve type inferencing of literals when calling proc groups 2025-09-15 20:40:20 -04:00
Damian Tarnawski
e163c20a02 Correct set_example in small_array 2025-09-15 15:29:17 +02:00
Damian Tarnawski
40c8f45a81 Correct small_array resize examples 2025-09-15 15:15:44 +02:00
Damian Tarnawski
b986c534a3 Replace mem.zero_slice with intrinsics.mem_zero in small_array.resize 2025-09-15 15:01:20 +02:00
Damian Tarnawski
7adc33d5a4 Add @require to core:mem import in small_array 2025-09-15 14:56:46 +02:00
Damian Tarnawski
2c3d5fe456 Add small array resize tests 2025-09-15 14:50:33 +02:00
Damian Tarnawski
3d66625de0 Zero memory in small_array.resize and add non_zero_resize 2025-09-15 14:40:58 +02:00
gingerBill
11be0cb4ab Use permanent_allocator() instead of temporary_allocator() temporarily to fix a bug 2025-09-14 17:37:17 +01:00
gingerBill
7db57e2d9c Temporarily disable TEMPORARY_ALLOCATOR_GUARD 2025-09-14 17:24:22 +01:00
gingerBill
22261f9e71 Fix temporary_allocator 2025-09-14 17:21:33 +01:00
Jeroen van Rijn
e0a97a628d Merge pull request #5683 from thetarnav/soa-get-safe-contextless
Add "contextless" to small_array get_safe and get_ptr_safe
2025-09-14 13:01:52 +02:00
Damian Tarnawski
3e62c2c79a Add "contextless" to small_array get_safe and get_ptr_safe 2025-09-14 10:39:33 +02:00
gingerBill
935d9657a3 Merge pull request #5677 from slowhei/master
Fix Drawin addObserver methods and add support for new Objc_Block
2025-09-12 08:44:45 +01:00
Alex Riedl
b9a09cebee fix for temp_file name prefix being deallocated before being used 2025-09-11 10:55:29 -05:00
Tohei Ichikawa
a454633774 Fix addObserver methods and add support for new Objc_Block 2025-09-11 09:50:31 -04:00
gingerBill
72f8bafe6c Merge pull request #5672 from thetarnav/strings-builder-caller-location
Add missing caller location param to append in strings builder
2025-09-11 11:02:35 +01:00
gingerBill
cf4262d22c Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-10 21:41:58 +01:00
gingerBill
5ea2e1fe60 Minimize mutex usage when in single threaded mode. 2025-09-10 21:41:52 +01:00
gingerBill
8175c3eaa1 Merge pull request #5651 from FourteenBrush/patch-2
Win32: add `CancelIoEx` to kernel32.odin, among other overlapped IO functions.
2025-09-10 21:36:37 +01:00
gingerBill
992cad101c Minor mutex rearrangement 2025-09-10 21:16:56 +01:00
gingerBill
549edcc0f9 Use a RwMutex instead of BlockingMutex 2025-09-10 21:00:43 +01:00
gingerBill
34e3d30780 More thread contention removal 2025-09-10 20:51:52 +01:00
gingerBill
0476d33a6c Remove global PtrMap<Type *, GenTypesData *> and store on the TypeNamed directly 2025-09-10 20:45:26 +01:00
gingerBill
d3602ca634 Removal of some old checks 2025-09-10 20:37:39 +01:00
gingerBill
76c0f89535 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-10 20:11:42 +01:00
gingerBill
bc36ea4170 Use macro instead of a C++ iterator - for speed
C++ iterators are bad.
2025-09-10 20:11:36 +01:00
Jeroen van Rijn
641ccf89a2 Merge pull request #5676 from Kelimion/big-asan
Change the way math/big constants are initialized
2025-09-10 21:09:16 +02:00
gingerBill
228ddd6903 Inline some ptr set iterators 2025-09-10 20:02:39 +01:00
Jeroen van Rijn
3c9538c708 Change the way math/big constants are initialized 2025-09-10 21:02:24 +02:00
gingerBill
1c648126c7 Move more from heap_allocator() to temporary_allocator() 2025-09-10 19:47:29 +01:00
gingerBill
01258d4817 Multithread "check all scope usages" 2025-09-10 19:38:30 +01:00