Commit Graph

770 Commits

Author SHA1 Message Date
kalsprite
c3bc5b69ac Merge branch 'master' into asm_doc_category 2026-08-25 23:08:48 -07:00
kalsprite
7bf266ef93 string_split_iterator fix 2026-08-24 17:32:30 -07:00
kalsprite
b875baea08 asm template doc category 2026-08-24 00:55:16 -07:00
gingerBill
84f9bc76f9 Mockout inline asm for riscv 2026-08-20 14:42:42 +01:00
gingerBill
1f2234a4b2 Merge branch 'master' into bill/inline-asm 2026-08-17 11:44:14 +01:00
Jeroen van Rijn
0b7b8ba4a2 Set console codepage to utf-8 (on Windows), and restore old one on exit
Avoid mojibake.
2026-08-16 16:16:35 +02:00
gingerBill
ef21ffa285 Templatize the check_asm.cpp code ready for other architectures 2026-08-11 14:00:41 +01:00
gingerBill
400203c344 Verify the asm instruction operands against the Encoding.ops 2026-08-11 11:47:48 +01:00
gingerBill
70ca5c0936 Validate the names of mnemonics, prefixes, and registers for amd64 2026-08-11 10:44:34 +01:00
gingerBill
d827be77cd Begin work on generating the AMD64 asm tables for C++ 2026-08-11 10:15:41 +01:00
jerksto
ff949ac6fd Don't assert on -define: values with an exponent 2026-07-30 10:59:10 -04:00
David Bader
edc522a05c add assert to make sure old and new double_dash_pos are the same 2026-07-30 13:38:52 +02:00
David Bader
7130f042dc define out unused run_args on Windows 2026-07-30 13:38:51 +02:00
David Bader
16ee03828b handle spaces in args for 'odin run . -- <args>' on Windows 2026-07-30 13:38:51 +02:00
David Bader
894d44346e run_args_start_idx is identical to double_dash_pos, no need to check again 2026-07-30 13:38:50 +02:00
callframe
cb7d7a5b7d Allow using absolute path's in foreign import's (#6999)
Document that `-collection` can be used for foreign imports.
Fix absolute path detection on Windows.
2026-07-10 20:45:59 +02:00
A1029384756
39464455bc [cli] remove default help option for stack protector 2026-07-09 00:45:35 -04:00
Jeroen van Rijn
94be05ead1 Merge pull request #6918 from Kelimion/deprecate-llvm-14
Remove LLVM 14 support
2026-07-03 21:35:47 +02:00
MauriceElliott
56cee0c2cf fix: made suggested changes to add a playdate subtarget, updated help text and reduce required build flags for playdate to just the subtarget, no-movt and cortex-m7 added to default on playdate subtarget flag. 2026-07-01 21:18:28 +01:00
Jeroen van Rijn
2d2979a5f2 Remove old pass manager 2026-06-30 22:44:28 +02:00
Jeroen van Rijn
40b28a2ded LLVM 14 removal cleanup 2026-06-30 21:12:42 +02:00
gingerBill
5c48d91f8e And missing command line flag information 2026-06-24 13:44:49 +01:00
gingerBill
40e54a97ed Merge branch 'master' into bill/bedrock 2026-06-24 11:07:02 +01:00
gingerBill
07fee34419 Allow for both odin command path -flags and odin command -flags path
To do this, if the first argument after the command and last argument is NOT a flag, then put that last parameter first.
2026-06-23 17:27:17 +01:00
Jeroen van Rijn
6bae6eb3f1 Clarify "it" 2026-06-22 15:46:02 +02:00
Jeroen van Rijn
8148b04a6c Add missing word. 2026-06-22 15:44:11 +02:00
Jeroen van Rijn
778d3b97b6 Add comment to odin root about why there's no newline
Add comment to `odin root` about why there's no newline, and why we closed #6834 and #6871.

Future such pull requests will be closed without comment.
2026-06-22 15:40:21 +02:00
Franz
5dd0041eb2 Raise child process error signal if odin run child gets terminated.
Previously one would get a nice `$ pid segmentation fault (core dumped) odin run .` message,
but this behaviour was (probably unintentionally) removed in #6848.
2026-06-22 12:32:39 +02:00
gingerBill
1c5c490bdd Merge pull request #6848 from A1029384756/subprocess
[subprocess] move away from `system` for `odin run`
2026-06-21 10:09:37 +01:00
gingerBill
85db8c68a9 Remove -stack-protector:default as none is now the default 2026-06-19 09:14:11 +01:00
gingerBill
69daa4d184 Merge pull request #6830 from A1029384756/stack-canaries
Stack canaries
2026-06-19 09:11:40 +01:00
A1029384756
32db7d8d56 [subprocess] remove p as PATH is not needed to find executable 2026-06-17 00:12:36 -04:00
A1029384756
1b4e277f58 [subprocess] removed unused variable 2026-06-15 22:59:58 -04:00
A1029384756
3bf48e29d2 [subprocess] move away from system for odin run 2026-06-15 15:43:03 -04:00
Krzysztof Furman
15deb7a118 Commented the workaround with links to issues, and put it behind a build flag. 2026-06-13 09:53:43 +01:00
A1029384756
2373fabe47 [stack-canaries] added protection modes 2026-06-12 22:57:39 -04:00
jakubtomsu
dca7710471 fix error pos style env var overwriting arg 2026-05-27 20:02:34 +02:00
gingerBill
8ffcdf172a Odin_Calling_Convention defined in compiler; Allow for main :: proc "contextless" () {} with -bedrock; intrinsics.type_proc_calling_convention 2026-05-05 15:07:42 +01:00
gingerBill
781b71e6ea -disable-init-fini 2026-05-04 11:31:56 +01:00
gingerBill
cdc0efce43 -disallow-non-constant-globals 2026-05-04 11:28:57 +01:00
gingerBill
ea00291519 Begin work on -bedrock mode
Currently disables 128-bit integers, `map` type, and RTTI
2026-05-02 15:06:01 +01:00
Franz
fa3a9b6f04 Prevent coredump when child process gets killed by signal.
Generating a coredump here is not useful, but is relatively
slow and generates a useless ~20M file every time.
The child process still creates a coredump.
2026-04-17 12:49:29 +02:00
jakubtomsu
e97f73e4aa lightweight simplification and optimization passes in -o:minimal 2026-04-11 11:14:28 +02:00
jakubtomsu
10c7b134e1 de-duplicate and canonicalize target_features_set entries 2026-04-10 13:27:42 +02:00
gingerBill
4dd884bba2 Merge pull request #6511 from lucypero/opt-default-docs
Add -debug default behavior usage docs
2026-04-04 14:03:02 +01:00
Lucy
7313e6708d add -o docs to usage 2026-04-02 12:17:38 -03:00
mtarik34b
2640a18296 Undo rename of cmp_entities_for_printing 2026-03-28 02:26:56 +01:00
mtarik34b
ac17852f36 Add option to show docs in source order within each file 2026-03-28 02:26:39 +01:00
gingerBill
44bf8ba464 Support odin doc core:os style paths 2026-03-27 17:43:06 +00:00
gingerBill
25c10c18cc Remove tilde backend 2026-03-26 11:49:39 +00:00