[PATCH] powerpc: Remove backtrace implementation
Florian Weimer
fweimer@redhat.com
Fri Feb 12 17:21:43 GMT 2021
* Adhemerval Zanella:
> The powerpc optimization to provide a fast stacktrace requires some
> ad-hoc code to handle Linux signal frames and the change is fragile
> once the kernel decides to slight change its execution sequence [1].
>
> The generic implementation work as-is and it should be future proof
> since the kernel provides the expected CFI directives in vDSO shared
> page.
>
> Checked on powerpc-linux-gnu, powerpc64le-linux-gnu, and
> powerpc64-linux-gnu.
>
> [1] https://sourceware.org/pipermail/libc-alpha/2021-January/122027.html
Does this really work well (enough) on systems which do not build
everything with asynchronous unwind tables? If I recall correctly, GCC
enabled them by default only quite recently.
Thanks,
Florian
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
More information about the Libc-alpha
mailing list