https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38534

--- Comment #18 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jakub Jelinek from comment #17)
> E.g. shouldn't it at least be disabled for -O0 and -Og and shouldn't we

We can disable this for -O0 and -Og.

> somehow indicate in DWARF unwind info that the callee saved registers
> weren't saved and were clobbered?  Even if backtrace itself still works make

Is there such a DWARF bit?

> it clear that if debugger unwinds to caller frame that certain registers
> have unknown values rather than the restored ones.

Reply via email to