aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-10-04std.debug: consider FP-based unwinding on hexagon and powerpc safeAlex Rønne Petersen
The ABIs make this safe and reliable due to their backchain requirements.
2025-10-04std.debug: fix FP-based unwinding on powerpc64Alex Rønne Petersen
This just needs to do the same thing as powerpc64le. Note that the saved LR is at the same position in both ELF v1 and v2.
2025-10-03std.coff: Set default values for ImportHeader sig1/sig2 fieldsRyan Liptak
Just makes this a bit nicer to work with since those fields only have 1 intended value.
2025-10-03std.coff: Add sizeOf function to WeakExternalDefinitionRyan Liptak
Convenience function similar in nature to Symbol.sizeOf
2025-10-03std.coff: Fix SectionHeader.setAlignment (off by 1)Ryan Liptak
Previously, `setAlignment` would set the value to 1 fewer than it should, so if you were intending to set alignment to 8 bytes, it would actually set it to 4 bytes, etc.
2025-10-03Add depth function to `Walker.Entry`Ryan Liptak
This enables depth-related use cases without any dependency on the Walker's internal stack which doesn't always pertain to the actual depth of the current entry (i.e. recursing into a directory immediately affects the stack).
2025-10-03std.mem: Add `countScalar`Ryan Liptak
2025-10-03fix: Check if key exists instead of trying to match on nullHenry Kupty
Co-Authored-By: Ryan Liptak <squeek502@hotmail.com>
2025-10-03fix: Match prefix with static string mapHenry Kupty
Co-authored-by: Ryan Liptak <squeek502@hotmail.com>
2025-10-03test: enter after check to preserve depthHenry Kupty
2025-10-03test: Include expected depth testHenry Kupty
2025-10-03refactor: Reimplement tool using SelectiveWalkerHenry Kupty
This skips directory trees where top-level directories do not match the defined ones
2025-10-03feat: Reintroduce depthHenry Kupty
Some decision-making might depend on the level of the traversal, so it makes sense to expose depth here since it's stable, and not in the automatic walker where it's not.
2025-10-03Add SelectiveWalker/walkSelectively and implement Walker in terms of itRyan Liptak
This is a breaking change, since the fields of Walker have changed. The function APIs are unchanged, though.
2025-10-04libcxx: don't impose _LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS on usersAlex Rønne Petersen
closes https://github.com/ziglang/zig/issues/25455
2025-10-04libcxxabi: define _LIBCPP_BUILDING_LIBRARY in addition to ↵Alex Rønne Petersen
_LIBCXXABI_BUILDING_LIBRARY
2025-10-04libcxxabi: don't build cxa_noexception.cpp if exceptions are enabledAlex Rønne Petersen
2025-10-04libcxxabi: sort file list according to upstream CMakeLists.txtAlex Rønne Petersen
2025-10-03std.debug: Add unwind support for serenityLinus Groh
2025-10-03std.c: Also make Sigaction flags a c_uint for serenityLinus Groh
This matches all other platforms. Even if this field is defined as 'int' in the C definition, the expectation is that the full 32-bit unsigned integer range can be used. In particular this Sigaction initializer in the new std.debug code was causing a build failure: ```zig .flags = (posix.SA.SIGINFO | posix.SA.RESTART | posix.SA.RESETHAND) ```
2025-10-03std.c: Add missing SIG constants for serenityLinus Groh
2025-10-03x86_64: fix bool vector init register clobberJacob Young
Closes #25439
2025-10-03Merge pull request #25430 from jacobly0/x86_64-winJacob Young
Coff2: create a new linker from scratch
2025-10-03Merge pull request #25443 from alexrp/s390x-unwindAlex Rønne Petersen
`std.debug`: add `s390x-linux` unwind support
2025-10-03std.debug.Dwarf.SelfUnwinder: default some s390x registers to the same-value ↵Alex Rønne Petersen
rule
2025-10-03std.debug: add s390x-linux unwind supportAlex Rønne Petersen
2025-10-03std.os.linux: improve the s390x mcontext_t definitionAlex Rønne Petersen
The old one was correct in terms of layout but very user-hostile.
2025-10-03std.debug: use correct return address offset for s390xAlex Rønne Petersen
Makes FP-based unwinding work.
2025-10-03compiler: control the s390x backchain feature through the frame pointer optionAlex Rønne Petersen
This is a little different from how C/C++ compilers do this, but I think it's justified because it's what users actually *mean* when the use frame pointer options. This is another one of those LLVM "CPU" features that have nothing to do with CPU at all and should really be a TargetMachine option or something. One day we'll figure out a better way of dealing with these...
2025-10-02resinator: Update for std.coff changesRyan Liptak
2025-10-02Coff: deleteJacob Young
2025-10-02Coff2: create a new linker from scratchJacob Young
2025-10-02x86_64: fix windows calling convention abiJacob Young
2025-10-02Merge pull request #25437 from alexrp/std-debugAlex Rønne Petersen
`std.debug`: LoongArch and RISC-V unwind support + some minor cleanups
2025-10-02std.debug.Dwarf.Unwind: deal with invalid def_cfa_reg by GNU toolchainsAlex Rønne Petersen
2025-10-02ci: bump x86_64-linux-release timeout to 7 hours on Forgejo ActionsAlex Rønne Petersen
2025-10-02Lld: fix implib emit pathmlugg
Resolves: https://github.com/ziglang/zig/issues/24993
2025-10-01std.debug: add riscv32-linux and riscv64-linux unwind supportAlex Rønne Petersen
2025-10-01std.debug: add loongarch64-linux unwind supportAlex Rønne Petersen
2025-10-01std.debug: some adjustments to target handlingAlex Rønne Petersen
* driverkit handling missing in a few places. * x86-solaris is a dead target. * aarch64_be does not exist on Darwin, FreeBSD, Windows.
2025-10-01std.debug.SelfInfo: rename Darwin to MachOAlex Rønne Petersen
2025-10-01std.debug: don't use SelfInfo.Windows for UEFIAlex Rønne Petersen
It is, in fact, Windows-only.
2025-10-01std.debug: select SelfInfo using ObjectFormat.default()Alex Rønne Petersen
2025-10-01ci: allow riscv64-linux on Forgejo Actions to run on PRs for nowAlex Rønne Petersen
Since it's not currently running on pushes to master, there's plenty of capacity to run it on PRs on the Codeberg side.
2025-10-01these documents belong elsewhereAndrew Kelley
contributing is in the readme already, and code of conduct should go on the website. this is a code repository; it doesn't dictate social norms. the reason for these documents being in .github/ was to satisfy GitHub demands so that the UI would look more favorably upon ziglang/zig but that is no longer a concern.
2025-10-01resinator: Sync with upstream, fix an alignment problemRyan Liptak
2025-10-01move .github/FUNDING.yml to https://github.com/ziglang/.githubAlex Rønne Petersen
2025-10-01ci: run riscv64-linux on any non-PR Forgejo Actions event, including ↵Alex Rønne Petersen
workflow_dispatch
2025-10-01ci: bump x86_64-linux-debug-llvm timeout to 8 hours on Forgejo ActionsAlex Rønne Petersen
2025-10-01move some docs out of .github/Alex Rønne Petersen