mlugg
dd9cb1beea
doc comments
2025-09-30 13:44:50 +01:00
mlugg
5e6a1919c7
fix aarch64-macos DWARF unwinding
...
turns out this isn't technically specific to that target at all; other
targets just don't emit mid-function 'ret' instructions as much so
certain CFI instruction patterns were only seen on aarch64.
thanks to jacob for finding the bug <3
2025-09-30 13:44:50 +01:00
mlugg
4b47a37717
stash? more like no
2025-09-30 13:44:50 +01:00
mlugg
665f13b0cd
SelfInfo deinit magic
2025-09-30 13:44:50 +01:00
mlugg
ba3f38959a
split SelfInfo into a file per impl
2025-09-30 13:44:50 +01:00
mlugg
1397b95143
std.debug.Dwarf: eliminate host pointer size dependency
2025-09-30 13:44:50 +01:00
mlugg
b762cd30fd
remove TODOs which are done or which i'm not actually gonna do lol
2025-09-30 13:44:50 +01:00
mlugg
e4dbfc109b
dont dupe state you silly billy
2025-09-30 13:44:50 +01:00
mlugg
8fdcdb8c69
the world if Dwarf.ElfModule was like REALLY good:
2025-09-30 13:44:49 +01:00
mlugg
84b65860cf
the world if ElfModule didn't suck:
2025-09-30 13:44:49 +01:00
mlugg
55a7affea4
me when i did a thing
2025-09-30 13:44:49 +01:00
mlugg
25e02bed4c
less hacky :D
2025-09-30 13:44:49 +01:00
mlugg
55ae6747e2
names
2025-09-30 13:44:49 +01:00
mlugg
3f6a90766c
sky pirates! which are even better!
2025-09-30 13:44:49 +01:00
mlugg
89d862180f
yet more
2025-09-30 13:44:49 +01:00
mlugg
fb88dab4c9
more still
2025-09-30 13:44:49 +01:00
mlugg
ed6ed62c42
more stuff
2025-09-30 13:44:49 +01:00
mlugg
b750e7cf9e
change one million things
2025-09-30 13:44:49 +01:00
Jacob Young
b706949736
debug: refactor stack frame capturing
2025-09-30 13:44:48 +01:00
Alex Rønne Petersen
df1909900c
libc: update Linux headers to 6.17
2025-09-29 22:53:06 +02:00
Alex Rønne Petersen
fe468e4fa3
std.os.linux: delete restore and restore_rt for hexagon, loongarch, mips, riscv
2025-09-28 18:24:04 +02:00
Alex Rønne Petersen
42e4411377
std.os.linux: delete SA.RESTORER and k_sigaction.restorer for hexagon, loongarch, mips, riscv
...
The kABIs for these architectures don't define these concepts.
2025-09-28 18:23:58 +02:00
Alex Rønne Petersen
ba19c1104b
musl: delete dead __restore and __restore_rt functions for hexagon, loongarch64, riscv32, riscv64
...
https://www.openwall.com/lists/musl/2025/09/28/2
2025-09-28 17:04:56 +02:00
Alex Rønne Petersen
993a1a3df1
musl: delete SA_RESTORER for hexagon
...
https://github.com/quic/musl/pull/7
2025-09-28 16:25:24 +02:00
Alex Rønne Petersen
e89cb377d0
musl: delete SA_RESTORER for riscv32
...
https://www.openwall.com/lists/musl/2025/09/28/1
2025-09-28 15:54:21 +02:00
Alex Rønne Petersen
1b0bde0d8d
Merge pull request #25373 from mneumann/fix-dragonfly-bootstrap
...
Fix DragonFly bootstrap
2025-09-27 20:05:40 +02:00
Alex Rønne Petersen
1f7ee99b35
musl: add missing fenv C dummy functions for loongarch64-linux-muslsf
...
https://www.openwall.com/lists/musl/2025/09/27/1
closes #25367
2025-09-27 17:13:29 +02:00
Alex Rønne Petersen
b7ab625409
Merge pull request #25362 from alexrp/aro-valist
...
`aro`: `TypeStore`: synchronize `__va_list_tag` logic with Zig's `std.builtin.VaList`
2025-09-27 12:57:47 +02:00
Michael Neumann
035219132b
lib/std/c: sync "struct stat" for DragonFly
...
* Add missing functions like ISDIR() or ISREG(). This is required to
build the zig compiler
* Use octal notation for the S_ constants. This is how it is done for
".freebsd" and it is also the notation used by DragonFly in
"sys/stat.h"
* Reorder S_ constants in the same order as ".freebsd" does. Again, this
follows the ordering within "sys/stat.h"
2025-09-27 10:00:40 +02:00
Alex Rønne Petersen
e98630aacf
aro: TypeStore: synchronize __va_list_tag logic with Zig's std.builtin.VaList
...
https://github.com/Vexu/arocc/pull/893
closes #25361
2025-09-26 16:24:59 +02:00
Alex Rønne Petersen
d16ff4d049
std.builtin: define VaList as *u8 for uefi
2025-09-26 16:20:24 +02:00
Alex Rønne Petersen
6ca52c00d9
std.builtin: remove dead powerpc-darwin handling for VaList
2025-09-26 16:20:24 +02:00
Alex Rønne Petersen
033d251626
std.builtin: define VaList for arc, csky, lanai, m68k, msp430, nvptx, ve, xcore
2025-09-26 16:20:24 +02:00
Alex Rønne Petersen
44c80fc6dc
std.builtin: sort VaList prongs a bit
2025-09-26 16:20:24 +02:00
Alex Rønne Petersen
4c798bb0bd
std.builtin: define VaList as struct { __ap: *anyopaque } for Arm per AAPCS
2025-09-26 16:20:15 +02:00
Andrew Kelley
e0dc2e4e3f
Merge pull request #25342 from ziglang/fuzz-limit
...
fuzzing: implement limited fuzzing
2025-09-26 05:28:46 -07:00
Andrew Kelley
3b365a1f9b
Merge pull request #25351 from ziglang/chomp
...
std.mem: introduce cut functions; rename "index of" to "find"
2025-09-26 01:45:07 -07:00
Andrew Kelley
52a13f6a7f
web ui: fix not sending initial context sometimes
...
This would cause the web ui to crash in js or wasm.
2025-09-25 17:16:41 -07:00
Andrew Kelley
2da8ec9865
fuzzing: fix off-by-one in limit count
2025-09-25 17:16:10 -07:00
Andrew Kelley
2a88a6a456
Merge pull request #24497 from ziglang/aro-translate-c
...
compiler: update aro and translate-c to latest; delete clang translate-c
2025-09-25 14:18:49 -07:00
Andrew Kelley
14e227d8a6
std.mem: add cutLast and cutScalarLast
2025-09-25 11:38:38 -07:00
Andrew Kelley
97bef50dc3
std.mem: rename all "index of" functions
...
Moving towards our function naming convention of having one word per
concept and constructing function names out of concatenated concepts.
In `std.mem` the concepts are:
* "find" - return index of substring
* "pos" - starting index parameter
* "last" - search from the end
* "linear" - simple for loop rather than fancy algo
* "scalar" - substring is a single element
2025-09-25 11:28:58 -07:00
Andrew Kelley
3411b5e499
std.mem: add cut and cutScalar and example usage
2025-09-25 11:11:46 -07:00
Andrew Kelley
dd2f1cbebf
std.mem: rename chomp to cut
2025-09-25 10:54:28 -07:00
Andrew Kelley
ac4d79e322
std.mem: introduce chompPrefix and chompSuffix
2025-09-25 10:50:41 -07:00
Loris Cro
9bb0b43ea3
implement review suggestions
2025-09-25 18:20:19 +02:00
Alex Rønne Petersen
a73f246b29
std.Thread: disable test on armeb in addition to thumbeb
...
Same falky failure on both. See ed7ff0b693037078f451a7c6c1124611060f4892.
2025-09-25 17:49:47 +02:00
Andrew Kelley
5f763b7dc5
resinator: work around error VARARGS not implemented for this compiler
2025-09-24 21:04:46 -07:00
Zhenming-Lin
99323a4da1
improve impl of __floorh, __floorx, __ceilh and __ceilx
2025-09-24 20:57:25 -07:00
Andrew Kelley
41e5331c08
resinator: fix compile errors
2025-09-24 20:35:01 -07:00