Uh oh!
There was an error while loading. Please reload this page.
std.debug: prefer FP unwinding on targets where it is ideal - #25494
Conversation
If the ABI requires a backchain pointer, FP unwinding is always possible, safe, and fast, so there's really no reason not to use it.
alexrp
commented
Oct 7, 2025
FYI @mlugg |
leecannon
commented
Oct 7, 2025
While I think this is a good idea, FP based unwinding does have a disadvange of missing inlined functions meaning both explicitly inlined and ones inlined due to optimizations will be missed from the trace. While the current DWARF based trace printing code does not detect and print inlined frames it could be enhanced to do so. |
mlugg
commented
Oct 7, 2025
AFAIK, that isn't true. After the relevant |
alexrp
commented
Oct 7, 2025
Test failure is #25498. |
Uh oh!
There was an error while loading. Please reload this page.
If the ABI requires a backchain pointer, FP unwinding is always possible, safe, and fast, so there's really no reason not to use it.