aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add extra help line for define/config.Jeroen van Rijn2022-04-031-0/+1
|
* Merge pull request #1686 from Kelimion/compile-time-assertgingerBill2022-04-021-5/+27
|\ | | | | Allow optional message for `#assert`.
| * Allow optional message for `#assert`.Jeroen van Rijn2022-04-021-5/+27
| |
* | Add extra checks to atomic intrinsicsgingerBill2022-04-021-0/+45
| |
* | `intrinsics.atomic_type_is_lock_free`gingerBill2022-04-025-4/+47
|/
* Change `intrinsics.Atomic_Memory_Order` fields to use `Ada_Case` rather than ↵gingerBill2022-03-312-12/+12
| | | | `snake_case`
* Add checks for memory ordering on fencesgingerBill2022-03-311-6/+20
|
* Correct weak handlinggingerBill2022-03-311-1/+2
|
* Enforce success failure pairings of `compare_exchange_*_explicit` at compile ↵gingerBill2022-03-312-9/+96
| | | | time
* Replace the atomic intrinsicsgingerBill2022-03-316-324/+272
| | | | Matching C11 in style
* Add `intrinsics.wasm_memory_grow` `intrinsics.wasm_memory_size`gingerBill2022-03-304-2/+114
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2022-03-301-0/+4
|\
| * Merge pull request #1671 from colrdavidson/add_nocrtgingerBill2022-03-301-0/+4
| |\ | | | | | | Make no crt work on Linux
| | * Make no crt work on LinuxColin Davidson2022-03-301-0/+4
| | |
* | | Correct `atomic_cxchg_*` `atomic_cxchgweak_*` intrinsics behaviour to ↵gingerBill2022-03-301-8/+16
|/ / | | | | | | monotonic on failure for acq, rel, and acqrel
* | Use `WIFEXITED()` and `WEXITSTATUS()` on Unix `system()` exit codegitlost2022-03-241-0/+3
| | | | | | | | | | (ensures Odin run returns correct exit code of built executable) Adds test "tests/core/os/test_core_os_exit.odin" (Unix only)
* | Make constant string backing structures use PrivateLinkage compared to ↵gingerBill2022-03-241-3/+3
| | | | | | | | InternalLinkage
* | `union #shared_nil`gingerBill2022-03-249-32/+103
| | | | | | | | This adds a feature to `union` which requires all the variants to have a `nil` value and on assign to the union, checks whether that value is `nil` or not. If the value is `nil`, the union will be `nil` (thus sharing the `nil` value)
* | Fix issue #829 "Compiler crashes when declaring maps with procedure"gitlost2022-03-231-0/+1
| | | | | | | | | | | | Inits `o->value` in `check_expr_base_internal()` so doesn't accidentally use last (the proc lit was being set to that of previous string) Adds test to "tests/issues" and changes CI to use new "run" shells
* | Merge pull request #1632 from gitlost/const_in_if_#1592gingerBill2022-03-213-6/+18
|\ \ | | | | | | Fix issue #1592 "LLVM code gen error when using a constant in an if"
| * | Fix issue #1592 "LLVM code gen error when using a constant in an if"gitlost2022-03-183-6/+18
| | | | | | | | | | | | | | | | | | | | | Changes lb_build_if_stmt() to return null lbValue if condition is cmpAnd, cmpOr or non-const neg and check in lb_build_if_stmt() to avoid short circuiting if that's the case Adds test to "tests/issues" and adds step in CI to check this dir
* | | Improve procedure group selection based on the minimum number of argumentsgingerBill2022-03-185-31/+82
|/ /
* | Fix #1610gingerBill2022-03-141-29/+21
| |
* | Fix `#1609`gingerBill2022-03-141-0/+6
|/
* Merge pull request #1505 from jasonKercher/fix_odin_testgingerBill2022-03-141-3/+7
|\ | | | | fix `odin test`
| * Merge remote-tracking branch 'upstream/master' into fix_odin_testJason Kercher2022-03-0924-204/+640
| |\
| * | improve entry point check logicCiD-2022-02-171-3/+2
| | |
| * | fix odin testCiD-2022-02-161-0/+5
| | |
* | | Merge branch 'master' into freestanding_amd64gingerBill2022-03-1416-88/+301
|\ \ \
| * | | #Fix 1615 Replace `llvm.readcyclecounter` with `cntvct_el0` on arm64gingerBill2022-03-122-7/+16
| | |/ | |/|
| * | Fix #1607gingerBill2022-03-091-0/+15
| | |
| * | Fix typogingerBill2022-03-091-1/+1
| | |
| * | Fix typogingerBill2022-03-091-1/+1
| | |
| * | Replace `#if` with `if` where possiblegingerBill2022-03-081-16/+16
| | |
| * | Refactor link flag creation for nix systemsgingerBill2022-03-081-26/+31
| | |
| * | Linux: allow 'foreign import' of object fileskstrb2022-03-051-2/+2
| | |
| * | Merge pull request #1575 from jockus/fix_relative_slice_lengingerBill2022-03-043-4/+4
| |\ \ | | | | | | | | Add relative slice to type checks for built in len
| | * | Add relative slice to type checks for built in lenJoakim Hentula2022-03-023-4/+4
| | | |
| * | | Merge pull request #1582 from semarie/more-ciJeroen van Rijn2022-03-031-9/+9
| |\ \ \ | | | | | | | | | | CI: add linux i386, Darwin arm64 and Windows 386
| | * | | rename architecture from 386 to i386Sébastien Marie2022-03-031-9/+9
| | |/ /
| * / / check for semi-colon before EOF tooSébastien Marie2022-03-031-1/+2
| |/ /
| * | Improve error message when there is "no field" found for a large anonymous ↵gingerBill2022-03-013-22/+31
| | | | | | | | | | | | struct
| * | Check if directory exists with the same target executable name when building ↵gingerBill2022-02-282-0/+17
| | | | | | | | | | | | a directory
| * | openbsd: defaults to PIE executableSébastien Marie2022-02-282-1/+7
| | | | | | | | | | | | | | | | | | OpenBSD uses PIE code by default to allow the system to load the binary at a random location. don't pass -no-pie to preserve this behaviour, and build objects with -fPIC (LLVMRelocPIC).
| * | Merge pull request #1557 from semarie/openbsd-supportgingerBill2022-02-287-8/+160
| |\ \ | | | | | | | | initial OpenBSD support
| | * | openbsd: poor man implementation for getting executable pathSébastien Marie2022-02-261-3/+30
| | | | | | | | | | | | | | | | it tries to get executable path from argv[0]. it is unreliable and unsecure, but should be fine enough for the considered use-case. it still doesn't address all possible cases.
| | * | internal_odin_root_dir: readlink could failSébastien Marie2022-02-251-1/+1
| | | |
| | * | provide a simple gb_file_copy() implementationSébastien Marie2022-02-251-4/+44
| | | | | | | | | | | | | | | | permit to not require sendfile(2) syscall for gb_file_copy()
| | * | add RAM information inside reportSébastien Marie2022-02-251-0/+9
| | | |
| | * | initial OpenBSD supportSébastien Marie2022-02-257-4/+80
| | | |