https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103510
--- Comment #5 from ashimida <ashimida at linux dot alibaba.com> --- (In reply to Andrew Pinski from comment #3) > The only registers which are saved are the callee saved register IIRC. So > you need to know the ABI. Hi Andrew, Is it reasonable to save all registers (include callee-used registers) at the entry of functions such as _Unwind_Backtrace/_Unwind_RaiseException (through a change in uw_init_context)? Then all registers will have initial values and will not affect the execution of .cfi directives. I think this would not violate the IA-64 C++ ABI. I'd like to add a patch for this if it sounds reasonable. Thanks, Dan