zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 038698738f3087faa7f581d42624b9b8564ec1e5 (tree)
parent 42618257666727aaf51957966ec88ef54242f840
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Tue, 16 Jun 2026 12:10:02 +0200

std.debug.SelfInfo.Elf: enable unwind support on x32/n32

closes https://codeberg.org/ziglang/zig/issues/32056

Diffstat:
Mlib/std/debug/SelfInfo/Elf.zig | 10----------
1 file changed, 0 insertions(+), 10 deletions(-)

diff --git a/lib/std/debug/SelfInfo/Elf.zig b/lib/std/debug/SelfInfo/Elf.zig @@ -92,16 +92,6 @@ pub fn getModuleSlide(si: *SelfInfo, io: Io, address: usize) Error!usize { } pub const can_unwind: bool = s: { - // The DWARF code can't deal with ILP32 ABIs yet: https://github.com/ziglang/zig/issues/25447 - switch (builtin.target.abi) { - .gnuabin32, - .muslabin32, - .gnux32, - .muslx32, - => break :s false, - else => {}, - } - // Notably, we are yet to support unwinding on ARM. There, unwinding is not done through // `.eh_frame`, but instead with the `.ARM.exidx` section, which has a different format. const archs: []const std.Target.Cpu.Arch = switch (builtin.target.os.tag) {