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

--- Comment #63 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #61)
> It is true that libasan calls just _Unwind_GetIP rather than
> _Unwind_GetIPInfo,
> but I don't see where there is that subtraction of 1, so it shouldn't matter;

Ah, it is in StackTrace::GetPreviousInstructionPc.  Unfortunately it is used at
the point where the context is no longer available.  So it at least for the
case when using the DWARF unwinder should be done differently.
This needs to be fixed upstream.  It is pure luck this happened to work on all
the other arches.

Reply via email to