Commit Graph
19940 Commits
Author SHA1 Message Date
bplu4t2f 0f3f4bf73c run_tests.sh now understands "slim" and "no-clang" arguments. 2026-10-10 13:45:52 +02:00
bplu4t2f 561fdf5125 Fix missing -define:ODIN_TEST_FANCY=false in CI. 2026-10-10 13:22:16 +02:00
bplu4t2f ddf3f6ea15 Rename test_slim -> run_tests 2026-10-10 12:47:21 +02:00
bplu4t2f 9a7d719d74 Make tests/abi/run.bat output at least a hint of error if clang is not present. 2026-10-10 12:20:38 +02:00
bplu4t2f d71d120f59 Add bash script to run tests locally 2026-10-10 12:16:00 +02:00
bplu4t2f 4084403294 Add batch script to run tests locally 2026-10-10 12:02:05 +02:00
bplu4t2f 3e1c4033af download_assets.py now at least prints something so that we know what is happening 2026-10-10 11:49:43 +02:00
bplu4t2f 0bcda50b6c Fix .gitignore files in tests/ directory - this was bugged because it got overridden 2026-10-10 11:49:19 +02:00
bplu4t2f 9fb859cf43 Make tests scripts behave nicer is clang is not found 2026-10-10 10:18:35 +02:00
Jeroen van Rijn 0e70c7764b Merge pull request #7827 from bplu4t2f/speedup-ci
Optimize hot paths that are slow in CI
2026-10-09 13:16:27 -07:00
bplu4t2f 9ccdc42354 Typos 2026-10-09 22:08:06 +02:00
bplu4t2f 4e180ea094 Repair for MacOS bash? hopefully 2026-10-09 21:45:15 +02:00
bplu4t2f 386db3496d Fixed tests/issues avx512 test relative import dir 2026-10-09 21:34:30 +02:00
bplu4t2f 8e2183e7a5 Test 7010 is not Windows compatible. 2026-10-09 21:34:00 +02:00
bplu4t2f 47cb4582d5 ABI tests have their own test step 2026-10-09 21:25:53 +02:00
bplu4t2f ccdb808946 Test for 7562 is Windows-only. 2026-10-09 21:25:34 +02:00
bplu4t2f 994dbc97b7 Merge new tests/issues tests into run.sh. 2026-10-09 21:13:54 +02:00
bplu4t2f 2218bed150 WIP: Merge new tests/issues tests into run.bat 2026-10-09 21:07:23 +02:00
bplu4t2f b17c76e5a4 !!WIP!! Merge branch 'master' into speedup-ci - missing tests/issues/run.bat and run.sh changes 2026-10-09 20:56:04 +02:00
bplu4t2f 199385b624 Scrutinize tests/issues: Fix differences and missing tests. 2026-10-09 20:45:05 +02:00
bplu4t2f e80b74f306 Cleanup tests/issues/run.sh, run.bat. 2026-10-09 20:32:15 +02:00
bplu4t2f cf40687a7d Cleanup tests/issues/run.bat. 2026-10-09 20:20:03 +02:00
bplu4t2f 9233393351 Adjust run.sh and cleanup. 2026-10-09 19:17:39 +02:00
bplu4t2f 33bea8591d Adjust run.bat to match run.sh 2026-10-09 18:50:19 +02:00
bplu4t2f b7f19d422b Consolidate and clean up tests/issues tests and make them work (WIP) 2026-10-09 18:29:25 +02:00
bplu4t2f edaaa27f86 Move all tests/issues tests into directories. 2026-10-09 16:45:31 +02:00
bplu4t2f f5c9785d79 XML test: Log level to debug 2026-10-09 16:27:44 +02:00
bplu4t2f 115e239abd test_verify_signature_tamper_sweep: Divide CPU intensive test so that the test runner can at least multithread it. 2026-10-09 16:18:13 +02:00
bplu4t2f 18d3de890c XML hot path: Cleanup 2026-10-09 14:34:02 +02:00
bplu4t2f cde71cdfc0 XML hot path: Cleanup instrumentation 2026-10-09 14:18:27 +02:00
bplu4t2f 94ea51a5d1 XML hot path: Use an arena instead of strings_to_free. 2026-10-09 14:00:56 +02:00
bplu4t2f f1673a3140 Disable instrumentation for measurement (also when is awkward here :( bill what were you thinking) 2026-10-09 13:22:42 +02:00
bplu4t2f f25fc5b2a8 XML hot path: Instrumentation and some optimizations 2026-10-09 13:11:08 +02:00
gingerBill 300f980e1c Merge pull request #7832 from aakamenov/text-edit-translation-fix-1
text/edit: fix "word right" translation
2026-10-09 10:55:21 +01:00
gingerBill 93f71c2751 Merge pull request #7842 from bbodi/fix/llvm-objc-varargs
Fix/llvm objc varargs
2026-10-09 10:54:21 +01:00
gingerBill b5286585e3 Merge pull request #7831 from bbodi/fix/lldb-any-named-types
Find an `any`'s named type in lldb on DWARF
2026-10-09 10:48:06 +01:00
gingerBill 08417fe170 Merge pull request #7845 from MatzeOGH/fix-linker
Merge @(static) and @(thread_local) locals across modules
2026-10-09 10:41:28 +01:00
gingerBill 04bc6052f5 Merge pull request #7840 from bbodi/fix/asm-opmask-k-registers
Let %k registers fill opmask slots in asm templates
2026-10-09 10:35:50 +01:00
gingerBill 9ca20e4075 Merge pull request #7829 from bbodi/fix/llvm-asm-imm64
Fix/llvm asm imm64
2026-10-09 10:34:30 +01:00
bbodi 27c2527e2a Read the AAPCS64 va_list in c_va_arg by hand
LLVM's va_arg instruction only implements the Darwin char* va_list on
arm64. On Linux and the BSDs the va_list is the AAPCS64 struct, and the
instruction walked its first field, __stack, as if it were the Darwin
list. Arguments passed in registers were never read from the register
save areas, so c_va_arg returned whatever lay at the incoming stack
pointer.

c_va_arg now lowers the struct form the way clang does: take the value
from the general or floating-point register save area while the class
offset is negative, otherwise from __stack, with 16-byte alignment and
indirect composites handled.

The new test passes more arguments than any target keeps in registers,
so both the register and the stack path are covered.
2026-10-09 11:33:11 +02:00
bbodi ded59d40f0 Name the va_start intrinsics for LLVM 18
LLVM 19 made llvm.va_start, llvm.va_end and llvm.va_copy overloaded on
the pointer type, so the backend asked for the "llvm.va_start.p0"
declaration. On LLVM 18, which the FreeBSD and riscv64 CI jobs use, that
name is not an intrinsic, so it became an undefined symbol at link time
for any procedure that uses c_va_start.

The overload type is only passed on LLVM 19 and later.
2026-10-09 11:33:11 +02:00
Matthias Huerbe 0b0f5f17f2 added a unit test for statics across modules 2026-10-09 11:24:46 +02:00
aakamenov b7976863c1 Fix test_translate_by_word 2026-10-09 12:23:28 +03:00
Jeroen van Rijn 93a1bed5c2 Merge pull request #7841 from bbodi/fix/avx512-vector-abi
Enable evex512 with explicit AVX-512 target features
2026-10-09 02:17:26 -07:00
Matthias Huerbe 5ef0d86bcc Merge @(static) and @(thread_local) locals across modules 2026-10-09 11:14:56 +02:00
Jeroen van Rijn 2e709ef6a9 Merge pull request #7844 from veryslightlybelowzen/fix-metal-documentation-link
Fixed link for `NSRunLoop` documentation in Metal package README
2026-10-09 02:11:59 -07:00
Prakhar Nagpal f0216dce53 fixed link for NSRunLoop in Metal package README 2026-10-09 12:41:59 +04:00
gingerBill 8169255b97 Analyse procedures that call each other in at most three parallel rounds, each with what the others found in the one before, instead of one at a time until what flows through them settles 2026-10-09 02:10:26 +01:00
gingerBill cf01b81df3 Forget what is held by what an if statement's condition shows is nil in that branch, e.g. a field replaced with a clone unless it is nil 2026-10-09 01:58:52 +01:00
gingerBill 24f920021b Analyse a procedure that grows too large again without what its calls do, rather than giving up on it, so what it does itself is always checked 2026-10-09 01:54:49 +01:00