mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 13:58:27 +00:00
parent
d00cc10086
commit
e4a7b15852
@ -500,6 +500,11 @@ pub fn captureStackTrace(first_address: ?usize, stack_trace: *std.builtin.StackT
|
||||
// TODO: This should use the DWARF unwinder if .eh_frame_hdr is available (so that full debug info parsing isn't required).
|
||||
// A new path for loading SelfInfo needs to be created which will only attempt to parse in-memory sections, because
|
||||
// stopping to load other debug info (ie. source line info) from disk here is not required for unwinding.
|
||||
if (builtin.cpu.arch == .powerpc64) {
|
||||
// https://github.com/ziglang/zig/issues/24970
|
||||
stack_trace.index = 0;
|
||||
return;
|
||||
}
|
||||
var it = StackIterator.init(first_address, null);
|
||||
defer it.deinit();
|
||||
for (stack_trace.instruction_addresses, 0..) |*addr, i| {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user