@@ -784,13 +784,19 @@ also be used to improve performance.
784784
785785 Disable frame pointers, which are enabled by default (see :pep: `831 `).
786786
787- By default, the build appends ``-fno-omit-frame-pointer ``,
788- ``-mno-omit-leaf-frame-pointer `` when the compiler supports it,
789- ``-marm `` on 32-bit ARM when supported, and ``-mbackchain `` on s390
790- platforms when supported, to ``BASECFLAGS `` so
791- profilers, debuggers, and system tracing tools
792- (``perf ``, ``eBPF ``, ``dtrace ``, ``gdb ``) can walk the C call stack
793- without DWARF metadata. The flags propagate to third-party C
787+ By default, the build appends flags to generate frame or backchain
788+ pointers to ``BASECFLAGS ``:
789+
790+ - ``-fno-omit-frame-pointer `` and/or ``-mno-omit-leaf-frame-pointer ``
791+ are added when the compiler supports them,
792+ - ``-marm `` is added on 32-bit ARM when supported,
793+ - on s390x platforms, when supported, ``-mbackchain `` is added *instead *
794+ of the above frame pointer flags
795+
796+ Frame pointers enable profilers, debuggers, and system tracing tools
797+ (``perf ``, ``eBPF ``, ``dtrace ``, ``gdb ``) to walk the C call stack
798+ without DWARF metadata.
799+ The flags propagate to third-party C
794800 extensions through :mod: `sysconfig `. On compilers that do not
795801 understand them, the build silently skips them.
796802
0 commit comments