authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-06-16 12:10:02+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-06-16 12:13:04+02:00
log038698738f3087faa7f581d42624b9b8564ec1e5
treedb8fc3844f69db7bbcbe00c72d1c530d65c06699
parent42618257666727aaf51957966ec88ef54242f840
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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

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

1 files changed, 0 insertions(+), 10 deletions(-)

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