Alex Rønne Petersen
7e6cb7c7a5
compiler: respond to API changes in LLVM 21
2025-08-30 06:36:41 +02:00
Alex Rønne Petersen
ac20506090
libtsan: update to LLVM 21
2025-08-30 06:36:41 +02:00
Alex Rønne Petersen
85438e75e0
libunwind: update to LLVM 21
2025-08-30 06:36:41 +02:00
Alex Rønne Petersen
c34fc8f198
llvm-libc: update to LLVM 21
...
Still only the subset needed for libcxx.
2025-08-30 06:36:41 +02:00
Alex Rønne Petersen
d9f0fbf983
libcxx: update to LLVM 21
2025-08-30 06:36:40 +02:00
Alex Rønne Petersen
e84e9d3a01
libcxxabi: update to LLVM 21
2025-08-30 06:36:40 +02:00
Alex Rønne Petersen
ce7339e80a
zig cc: update intrinsic headers to LLVM 21
2025-08-30 06:36:40 +02:00
Alex Rønne Petersen
b7a8c045ef
zig cc: update driver files to LLVM 21
2025-08-30 06:36:40 +02:00
Alex Rønne Petersen
008affa645
build: update to LLVM 21
...
Closes #20966 .
2025-08-30 06:36:40 +02:00
Andrew Kelley
558bea2a76
std.Io: delete CountingReader
2025-08-29 11:11:59 -07:00
Andrew Kelley
4b948e8556
Merge pull request #25036 from ziglang/GenericWriter
...
std.Io: delete GenericWriter, AnyWriter, and null_writer
2025-08-29 03:48:45 -07:00
Andrew Kelley
640c11171b
LLVM backend:fix align 1 sret parameter load returned
...
closes #25067
2025-08-29 03:37:18 -07:00
Alex Rønne Petersen
98e9dde389
ci: update to QEMU 10.1.0
2025-08-29 10:52:32 +02:00
Andrew Kelley
43fbc37a49
std.debug.Pdb: migrate more towards new Reader API
...
There was some bug in this branch, and rather than diagnosing it, I
fully finished porting over to new Reader API. Did it fix the bug?
2025-08-28 22:41:06 -07:00
Andrew Kelley
7da9e4b35e
std.tz: fix redundant endian handling
...
I didn't notice the check+swap before.
2025-08-28 18:30:57 -07:00
Andrew Kelley
530cc2c111
std.Io.Reader: work around llvm backend bug
...
tracked by #25067 and I already have a fix cooking in another branch
2025-08-28 18:30:57 -07:00
Ryan Liptak
46b60dc069
resinator: Complete the update to the new Reader/Writer
2025-08-28 18:30:57 -07:00
Andrew Kelley
9b47dd2028
update langref and docs to avoid GenericWriter
2025-08-28 18:30:57 -07:00
Andrew Kelley
8023f3dceb
fix not discarding delimiter
...
perhaps these APIs have the defaults backwards, eh?
2025-08-28 18:30:57 -07:00
Andrew Kelley
e418197247
link.MachO: code sig size grows when emitting it
2025-08-28 18:30:57 -07:00
Andrew Kelley
5be9df710c
32-bit fixes
2025-08-28 18:30:57 -07:00
Andrew Kelley
8d80d67693
resinator: some updates to avoid GenericWriter
...
These are some hastily made, untested changes to get things compiling
again, since Ryan is working on a better upgrade patchset in the
meantime.
2025-08-28 18:30:57 -07:00
Andrew Kelley
f7884961c2
update more to avoid GenericWriter
2025-08-28 18:30:57 -07:00
Andrew Kelley
4f510dba10
behavior tests: remove "variadic functions" dependency on std lib
2025-08-28 18:30:57 -07:00
Andrew Kelley
ea3471288a
update GenericWriter usage found by test-cases
2025-08-28 18:30:57 -07:00
Andrew Kelley
888f00e856
std.crypto.ml_kem: update to not use GenericWriter
2025-08-28 18:30:57 -07:00
Andrew Kelley
e9a271cba3
std.tz: update to new Reader API
2025-08-28 18:30:57 -07:00
Andrew Kelley
9860dd475a
std: delete most remaining uses of GenericWriter
2025-08-28 18:30:57 -07:00
Andrew Kelley
8f4cb4614f
compiler: update not to use GenericWriter
2025-08-28 18:30:57 -07:00
Andrew Kelley
5d7507214d
aro: update to not use GenericWriter
2025-08-28 18:30:57 -07:00
Andrew Kelley
2151b10a41
more updates to not use GenericWriter
2025-08-28 18:30:57 -07:00
Andrew Kelley
379d7bc9f6
compiler: update to not use GenericWriter
2025-08-28 18:30:57 -07:00
Andrew Kelley
6713745ec4
link.Elf: update to not use GenericWriter
2025-08-28 18:30:57 -07:00
Andrew Kelley
cc931660eb
link.MachO: update to not use GenericWriter
2025-08-28 18:30:57 -07:00
Andrew Kelley
2dc6ddd7e8
std.Io.Writer: add toArrayList/fromArrayList
2025-08-28 18:30:57 -07:00
Andrew Kelley
c8b983c59a
link.Wasm: update for new writer API
2025-08-28 18:30:57 -07:00
Andrew Kelley
57dbc9e74a
std.Io: delete GenericWriter
2025-08-28 18:30:57 -07:00
Alex Rønne Petersen
5cb8cdef10
Merge pull request #25045 from kada49/libc/common-impl-ceil
...
libc: delete some superfluous libc c implementations
2025-08-29 00:25:23 +02:00
David Senoner
70e22d79a4
libc: delete superfluous c and assembly trunc implementations
2025-08-28 20:09:07 +02:00
Ryan Liptak
224fca7e0e
process.totalSystemMemory: Avoid overflow on Linux when totalram is a 32-bit usize
...
Fixes #25038
2025-08-28 17:05:39 +02:00
Ryan Liptak
2b73c28cec
Reader.appendRemaining: Take ownership of the full allocated slice
...
Before this commit, calling appendRemaining with an ArrayList where list.items.len != list.capacity could result in illegal behavior if the Writer.Allocating resized the list during the appendRemaining call.
Fixes #25057
2025-08-28 07:56:50 -07:00
David Rubin
73a0b5441b
AstGen: forward result type through unary float builtins
...
Uses a new `float_op_result_ty` ZIR instruction tag.
2025-08-28 15:46:12 +01:00
mlugg
a31950aa57
std.debug: remove @frameAddress() "UAF"
...
We can't call `@frameAddress()` and then immediately `return`! That
invalidates the frame. This *usually* isn't a problem, because the stack
walk `next` call will *probably* have a stack frame and it will
*probably* be at the exact same address, but neither of those is a
guarantee. On powerpc, presumably some unfortunate inlining was going
on, so this frame was indeed invalidated when we started walking frames.
We need to explicitly pass `@frameAddress` into any function which will
return before we actually walk the stack. Pretty simple patch.
Resolves : #24970
2025-08-28 10:56:11 +01:00
tokyo4j
151c7dc74b
std.os.uefi: fix type error at MemoryType.format()
2025-08-28 07:50:38 +01:00
Alex Rønne Petersen
417c68d249
std.os.linux: powerpc syscalls clobber ctr and xer
...
https://git.musl-libc.org/cgit/musl/commit/?id=f6944eb3c4ce1c97dc39dc36d32390dc9f70b67b
2025-08-28 07:41:22 +02:00
David Senoner
f707de15a1
libc: delete superfluous c and assembly ceil implementation
2025-08-28 07:33:50 +02:00
Jacob Young
733008ec6b
x86_64: fix multiplication overflow detection with adx
...
Closes #24965
2025-08-27 20:00:46 -07:00
Andrew Kelley
ca2e17e0a1
delete some vestigal dead code
2025-08-27 17:09:07 -07:00
Andrew Kelley
50edad37ba
Merge pull request #25034 from ziglang/lzma
...
std.compress: update lzma, lzma2, and xz to new I/O API
2025-08-27 06:49:45 -07:00
David Senoner
f6b0d64ddc
libc: remove c floorl implementaions forgotten in #24335
2025-08-27 13:40:08 +02:00