[Bug sanitizer/79341] Many Asan tests fail on s390
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 15 13:56:00 GMT 2017
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.
More information about the Gcc-bugs
mailing list