This patch contains various fixes for the unwinding and backtrace machinery on the SPARC, which doesn't work correctly in various cases. It was tested with GCC on SPARC/Solaris and SPARC/Linux.
Patch by Eric Botcazou.
Differential D58431
SanitizerCommon: fixes for unwinding & backtrace on SPARC ebotcazou on Feb 20 2019, 2:53 AM. Authored by
Details This patch contains various fixes for the unwinding and backtrace machinery on the SPARC, which doesn't work correctly in various cases. It was tested with GCC on SPARC/Solaris and SPARC/Linux. Patch by Eric Botcazou.
Diff Detail
Event Timeline
Comment Actions Any objection to accepting this? We need it alongside D58433 to fix the Sanitizer failures in the GCC testsuite on the SPARC platforms and I'd rather not maintain it separately in the GCC tree. Comment Actions Conflict in sanitizer_common/sanitizer_stacktrace_sparc.cc fixed. Sorry for bothering you again, but yln's recent changes are in the way now. Comment Actions Conflict in sanitizer_common/sanitizer_stacktrace_sparc.cc fixed. Sorry for bothering you again, but yln's recent changes are in the way now. |
I am not sure that we need to compensate here
usually it's from GetStackTrace which pass the current PC or PC from signal