aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Make atomic `variant_block_size` and `tag_size` in `TypeUnion`gingerBill14 days1-12/+12
| | | | |
| * | | | Use `compare_exchange_strong` `mutex_lock` on non-windows sytemsgingerBill14 days1-4/+4
| | | | |
| * | | | Mock out TSAN_* usage in thread_pool.cppgingerBill14 days1-0/+14
| | | | |
| * | | | Use `std::atomic` for `Ast.viral_state_flags` and `Ast_Ident.entity`gingerBill14 days3-14/+14
| | | | |
* | | | | Merge pull request #6216 from odin-lang/bill/debug-info-fixesgingerBill14 days6-12/+43
|\ \ \ \ \ | | | | | | | | | | | | Debug Info Fixes
| * | | | | Fix positions for debug locations in `defer`, loops, and `switch` clausesgingerBill14 days4-4/+27
| | | | | |
| * | | | | Add case for completenessgingerBill14 days1-0/+2
| | | | | |
| * | | | | Fix debug infogingerBill14 days1-8/+13
| | | | | |
| * | | | | Move `values` construction to after padding has been setgingerBill14 days1-1/+2
| |/ / / /
* | | | | Fix #6202gingerBill14 days1-0/+2
| | | | |
* | | | | Merge pull request #6208 from JesseRMeyer/lto-supportgingerBill14 days5-7/+78
|\ \ \ \ \ | |/ / / / |/| | | | Add ThinLTO support via -lto:thin and -lto:thin-files flags
| * | | | Add ThinLTO support via -lto:thin and -lto:thin-files flagsJesse Meyer2026-02-015-7/+78
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* | | | Use `contextless`gingerBill14 days1-2/+4
| | | |
* | | | Merge pull request #5816 from jakubtomsu/win32-rawinput-and-barriersgingerBill14 days3-0/+33
|\ \ \ \ | |/ / / |/| | | [core:sys/windows] Sync Barriers, macros for buffered rawinput
| * | | empty push to re-run CIjakubtomsu2025-10-180-0/+0
| | | |
| * | | forgot to use tabs, as alwaysjakubtomsu2025-10-162-10/+10
| | | |
| * | | remove accidental test filejakubtomsu2025-10-161-9/+0
| | | |
| * | | barriers, rawinput macrosjakubtomsu2025-10-164-0/+42
| | | |
| | | * Fix Windows LTO: preserve required procedures with llvm.usedJesse Meyer12 days2-9/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows with LTO, required procedures with external linkage need to be added to @llvm.used to survive linker-level dead code elimination. LLVM may generate implicit calls to runtime builtins (e.g., __extendhfsf2 for f16 conversions) during instruction lowering, after the IR is finalized. Without @llvm.used, the linker discards these procedures before the implicit calls are generated. This adds required procedures to @llvm.used at creation time. The fix is Windows-specific; other platforms handle this correctly. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
| | | * Fix lld-link LTO jobs flag syntax on WindowsJesse Meyer12 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | lld-link doesn't recognize /lldltojobs:N as a standalone flag and treats it as a file path. Use /opt:lldltojobs=N instead. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
| | | * Skip sanitizer IR passes when LTO is enabledJesse Meyer12 days1-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With ThinLTO, the linker runs sanitizer passes at link time via -fsanitize= flags, where it has whole-program visibility. Running them at bitcode emission too double-instruments every module, producing hundreds of "Redundant instrumentation detected" warnings. Per-function sanitize/no_sanitize attributes are preserved in the bitcode and respected by the linker's pass. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
| | | * Add ThinLTO support via -lto:thin and -lto:thin-files flagsJesse Meyer12 days5-7/+78
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* | | Add `doc.odin` and mention the defineables through `#config`gingerBill2026-01-313-15/+60
| | |
* | | Merge pull request #6201 from kovalenko0/fix/os2-read-entire-file-dwordJeroen van Rijn2026-01-311-1/+1
|\ \ \ | | | | | | | | os\os2 windows: fix truncate-clamp op order when determining to_read size
| * | | os\os2 windows: fix truncate-clamp op order when determining to_read sizeOleksandr Kovalenko2026-01-311-1/+1
|/ / /
* | | Merge pull request #6200 from Kelimion/fix-6198Jeroen van Rijn2026-01-312-39/+67
|\ \ \ | | | | | | | | Fix #6198
| * | | Fix #6198Jeroen van Rijn2026-01-312-39/+67
|/ / /
* | | Fix #6197Jeroen van Rijn2026-01-311-1/+1
| | |
* | | nbio: fix send/recv buffer logicLaytan Laats2026-01-306-73/+219
| |/ |/|
* | Merge pull request #6195 from BunterSchatten/os-lookup-env-bufgingerBill2026-01-309-0/+9
|\ \ | | | | | | core/os, core/os/os2: fix lookup_env_buf only working with empty buffer
| * | core/os: fix lookup_env_buf only working with empty bufferDavid Bader2026-01-309-0/+9
|/ /
* | Revert build.batgingerBill2026-01-301-9/+7
| |
* | Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2026-01-3015-56/+340
|\ \
| * \ Merge pull request #6048 from odin-lang/bill/feature-using-stmtgingerBill2026-01-3010-32/+39
| |\ \ | | | | | | | | Make `using` as a statement opt-in with `#+feature using-stmt`
| | * \ Merge branch 'master' into bill/feature-using-stmtgingerBill2026-01-30350-8651/+40699
| | |\ \
| | * | | Remove `using` use in thread_other.odingingerBill2025-12-211-1/+1
| | | | |
| | * | | Make `using` as a statement an opt-in with `#+feature using-stmt`gingerBill2025-12-219-28/+39
| | | | |
| * | | | Merge pull request #6053 from blob1807/test-runner-sig-win-apigingerBill2026-01-302-15/+215
| |\ \ \ \ | | |_|/ / | |/| | | [`core:testing`] Use Windows API for SIG handling
| | * | | Revert "Try to ensure the runner's handler gets called first"blob18072025-12-241-1/+1
| | | | | | | | | | | | | | | | | | | | This reverts commit 13faedaf4ce3a24ed92917d44244f226ff3fed57. As it's causing issues with ASAN, which adds it's own `ExceptionHandler` as the first. Making ours first messes with it. Causing an Access Violation when trying to setup `context` in our handler.
| | * | | Try to ensure the runner's handler gets called firstblob18072025-12-241-1/+1
| | | | |
| | * | | Fix an OOB & format exception code as hexblob18072025-12-231-13/+7
| | | | | | | | | | | | | | | | | | | | Fix an OOB caused when the test runner catches the exception & format exception codes as upper case hex.
| | * | | Remove unneeded `Exception_Code` enumblob18072025-12-231-37/+12
| | | | |
| | * | | [`core:testing`] Use Windows API for SIG handlingblob18072025-12-232-15/+246
| | | | |
| * | | | Merge pull request #6093 from bplu4t2f/mastergingerBill2026-01-303-2/+78
| |\ \ \ \ | | | | | | | | | | | | Add more win32 bindings
| | * | | | Add more win32 bindingsbplu4t2f2026-01-243-2/+78
| | | | | |
* | | | | | Update `demo.odin`gingerBill2026-01-301-1/+6
|/ / / / /
* | | | | Support `-linker:mold` on FreeBSD and NetBSD; Remove `-use-lld` and ↵gingerBill2026-01-302-13/+1
| | | | | | | | | | | | | | | | | | | | `-use-radlink`
* | | | | Merge pull request #6194 from Faker-09/vet_flagsgingerBill2026-01-301-3/+3
|\ \ \ \ \ | | | | | | | | | | | | Fix for various combinations of -vet options on the command line and top of file not working together
| * \ \ \ \ Merge branch 'odin-lang:master' into vet_flagsFaker-092026-01-2953-748/+14126
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #6141 from magicalhacks/x11-fixesgingerBill2026-01-292-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Minor x11/xlib bindings fixes (KeySym + Xutf8LookupString)