std.debug: FP-based unwinding is impossible on avr, csky, msp430, and xcore
The ABIs do not define a frame pointer register, nor do they define a guaranteed
and fixed area on the stack where one might find saved registers such as a frame
pointer or return address.
1 files changed, 4 insertions(+), 0 deletions(-)
lib
std
lib/std/debug.zig+4
| ... | ... | @@ -872,10 +872,14 @@ const StackIterator = union(enum) { |
| 872 | 872 | }; |
| 873 | 873 | |
| 874 | 874 | const fp_usability: FpUsability = switch (builtin.target.cpu.arch) { |
| 875 | .avr, |
| 876 | .csky, |
| 875 | 877 | .mips, |
| 876 | 878 | .mipsel, |
| 877 | 879 | .mips64, |
| 878 | 880 | .mips64el, |
| 881 | .msp430, |
| 882 | .xcore, |
| 879 | 883 | => .useless, |
| 880 | 884 | .hexagon, |
| 881 | 885 | // The PowerPC ABIs don't actually strictly require a backchain pointer; they allow omitting |