Commit Graph
19739 Commits
Author SHA1 Message Date
Jeroen van Rijn 326aca6c67 Fix #7806 2026-10-07 16:40:28 +02:00
gingerBill 63f3df70f1 Merge pull request #7804 from BigBoyBarney/optional-vendor
Make vendor collection optional
2026-10-07 15:29:15 +01:00
Jeroen van Rijn d630587dd7 Merge pull request #7805 from SOBEX/bugfix/7798-non-unique-linking-name
Fix #7798 by sorting `link_name`s with `Procedure`s before `ForeignProcedure`s
2026-10-07 07:25:36 -07:00
SOBEX 439485507f Fix #7798 by sorting link_names with Procedures before ForeignProcedures 2026-10-07 15:03:20 +02:00
Sylphrena cefbbb428d Make vendor collection optional 2026-10-07 14:45:09 +02:00
gingerBill 827b5b4a26 Merge pull request #7068 from corleypc/fast-math-fix
Fixes fast_math attribute plumbing to llvm
2026-10-07 10:35:56 +01:00
Jeroen van Rijn 45a6f83679 Merge pull request #7801 from bplu4t2f/fix-7779
Fix #7779 - Make encoding/hex behave well on errors.
2026-10-07 02:29:31 -07:00
gingerBill 09726b1ee0 Merge pull request #7761 from RoryO/master
LLVMBr opcode split to LLVMCondBr and LLVMUncondBr in LLVM >=23
2026-10-07 10:22:56 +01:00
gingerBill beb23eb566 Merge pull request #7760 from alexthed1rk/impl-simd-x86-avx2-set
Impl simd x86 avx2 intrinsics set
2026-10-07 10:22:28 +01:00
Jeroen van Rijn c1ac93f9a6 `delete(dst, allocator) 2026-10-07 11:21:07 +02:00
Jeroen van Rijn 1352d0235b Update test_issue_7779.odin
Catch leak in regression test
2026-10-07 11:15:11 +02:00
Jeroen van Rijn 376f43a387 Merge pull request #7800 from MatzeOGH/static-locals-pdb
Make @(static) locals visible in the PDB
2026-10-07 01:53:01 -07:00
bplu4t2f 758cdd19ae Fix #7779 - Make encoding/hex behave well on errors. 2026-10-07 10:47:57 +02:00
Matthias Huerbe 9a4522d2dd Make @(static) locals visible in the PDB 2026-10-07 08:16:27 +00:00
Jeroen van Rijn 6cfdf2bb3a Merge pull request #7797 from corleypc/align-regression-tests
Adds alignment related regression tests
2026-10-06 15:55:21 -07:00
corley 8b573fcf5e adds alignment regression tests 2026-10-07 01:38:31 +03:00
Jeroen van Rijn ed3dc46dfb Merge pull request #7795 from corleypc/temp-cpy-fix
Fixes regressions caused by temp copy of underaligned values
2026-10-06 11:57:13 -07:00
Jeroen van Rijn 57528bfa70 Merge pull request #7796 from karl-zylinski/parapoly-group-enumerated-array-fix
Parapoly: Fix regression with proc group containing parapoly enumerated array specialization
2026-10-06 11:54:21 -07:00
Karl Zylinski 05d4c79dc5 Parapoly: Fix regression where proc group containing parapoly enumerated array specialization was marked as ambigious. 2026-10-06 20:42:29 +02:00
gingerBill 072c6bc227 Merge pull request #7759 from tibret/box3d-sethull-bug
Changing #by_ptr to a pointer to make sure box3d gets long-lived poin…
2026-10-06 18:24:39 +01:00
Mihail Moskov 55c6cf3dea fixes regressions at sites needing true address caused by temp copy 2026-10-06 20:21:05 +03:00
gingerBill 0de10624fe Name single-module output after the main package when -out is a directory 2026-10-06 18:14:29 +01:00
gingerBill 3956328809 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-10-06 17:42:52 +01:00
gingerBill 0a076fa8fe Fix nested procedure types in results losing names 2026-10-06 17:42:40 +01:00
gingerBill 25946eb2f1 Merge pull request #7789 from Barinzaya/bounds_check_with_context
Context-aware bounds check handling
2026-10-06 15:55:45 +01:00
Jeroen van Rijn 84bc3fc210 Merge pull request #7788 from A1029384756/windows-cross-compile
[windows-cross-compile] add missing `help` message
dev-2026-10
2026-10-06 07:08:36 -07:00
A1029384756 1c8600caf2 [windows-cross-compile] add missing help message 2026-10-06 09:59:07 -04:00
Barinzaya 8075b343c5 Split bounds check handlers into contextless and with_context.
When a `context` is available, the `with_context` variant will be called
and the `context.assertion_failure_proc` will be called, instead of
forcibly trapping. This allows bounds check errors able to be handled by
custom assertion failure procs.
2026-10-06 09:45:36 -04:00
gingerBill ef46cfe326 Add vendor:directx/d3d_compiler to examples/all 2026-10-06 14:22:38 +01:00
gingerBill b924d12fd9 Fix bug in the docs writer 2026-10-06 14:18:20 +01:00
gingerBill e28e60a80c Point "Expected a comma/semicolon, got a newline" errors just after the previous token 2026-10-05 21:49:35 +01:00
Rob Luppi f8749e08e0 Changing #by_ptr to a pointer to avoid potential bugs when copying the HullData struct #7612
In the example given in #7612 the issue was caused by the lines

box_hull2 := b3d.MakeBoxHull(1, 1, 1)
b3d.Shape_SetHull(box_shape, box_hull2.base)

There is a note about potential errors during copy in the box3d code
that seems to be causing the issue

/// A convex hull.
/// @note This data structure has data hanging off the end and cannot be
directly copied.
typedef struct b3HullData

update to include Shape_SetMesh as well
2026-10-05 15:48:47 -04:00
Rory OConnell 57948b15da LLVMBr opcode split to LLVMCondBr and LLVMUncondBr in LLVM >=23 2026-10-05 12:31:40 -07:00
Alexander Zhura 620a7ab1c6 Impl simd x86 avx2 intrinsics set 2026-10-05 22:20:52 +03:00
gingerBill 3300b2c35a Fix typo with linker section name problem 2026-10-05 18:48:25 +01:00
gingerBill 3b700c4656 Fix merge conflict with the same code 2026-10-05 18:47:24 +01:00
gingerBill e3eaad0e98 Merge pull request #7747 from odin-lang/bill/llvm-backend-improvements
Compiler Performance Improvements to Reduce Compile Times Part 3
2026-10-05 18:40:53 +01:00
gingerBill 579bc065ea Merge branch 'master' into bill/llvm-backend-improvements 2026-10-05 18:40:31 +01:00
gingerBill 20b3fdcd58 Accept an explicit -linker:radlink on Windows again, write no BOM for the default radlink's response file, and only require link.exe for -linker:msvc 2026-10-05 18:27:58 +01:00
gingerBill 881ad21336 Walk the global graph's declarations in small batches taken by a task for each thread, and fill its edges from the walk in parallel rather than through a serial list of edges 2026-10-05 17:26:41 +01:00
gingerBill 8c4d65289e Write each package's doc entries in the natural order of their names to make the output deterministic 2026-10-05 16:59:58 +01:00
gingerBill 811658f915 Collect a global foreign block with its file when its attribute values are literals. 2026-10-05 16:55:03 +01:00
gingerBill 0e26e26a0d List each file's possible type aliases as they are collected, gather the global entities whilst they are corrected, and only destroy the checker once parsing reported no errors 2026-10-05 16:36:17 +01:00
gingerBill 6aac694c18 Export the entities and scan for global whens and foreign blocks while the import graph and package order are being made 2026-10-05 16:12:20 +01:00
gingerBill 1669cf6192 Collect each package's entities as soon as it has parsed all of its files; hold any non-syntactic errors until all of the parsing is done and only report if there are no parsing errors 2026-10-05 15:40:33 +01:00
gingerBill b2b03b68aa Create the file scopes, imports, and canning of whens in parallel 2026-10-05 15:08:35 +01:00
gingerBill 4ad95d54b8 Gather the global entities in order from a list for each file instead of sorting them all by only sorting the files with some added out of order 2026-10-05 14:43:36 +01:00
gingerBill 90c44058bd Merge pull request #7654 from A1029384756/windows-cross-compile
windows cross-linking - initial effort
2026-10-05 14:33:37 +01:00
gingerBill b818d45e63 Keep each global group node's index on the entity itself 2026-10-05 14:29:54 +01:00
gingerBill b6435bf7b7 Remove the declarations' child list; take entity ids in blocks per thread; collect the files with the most declarations first 2026-10-05 14:19:07 +01:00