mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
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.
This commit is contained in:
parent
1f8a72175b
commit
2eca0e42e5
1 changed files with 4 additions and 0 deletions
|
|
@ -872,10 +872,14 @@ const StackIterator = union(enum) {
|
||||||
};
|
};
|
||||||
|
|
||||||
const fp_usability: FpUsability = switch (builtin.target.cpu.arch) {
|
const fp_usability: FpUsability = switch (builtin.target.cpu.arch) {
|
||||||
|
.avr,
|
||||||
|
.csky,
|
||||||
.mips,
|
.mips,
|
||||||
.mipsel,
|
.mipsel,
|
||||||
.mips64,
|
.mips64,
|
||||||
.mips64el,
|
.mips64el,
|
||||||
|
.msp430,
|
||||||
|
.xcore,
|
||||||
=> .useless,
|
=> .useless,
|
||||||
.hexagon,
|
.hexagon,
|
||||||
// The PowerPC ABIs don't actually strictly require a backchain pointer; they allow omitting
|
// The PowerPC ABIs don't actually strictly require a backchain pointer; they allow omitting
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue