Skip to content

Commit 0cebe81

Browse files
being kinda particular in my wording here, sorry
1 parent 166bf7e commit 0cebe81

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

Doc/using/configure.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -784,12 +784,13 @@ 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`` and
788-
``-mno-omit-leaf-frame-pointer`` to ``BASECFLAGS`` so profilers,
789-
debuggers, and system tracing tools (``perf``, ``eBPF``, ``dtrace``,
790-
``gdb``) can walk the C call stack without DWARF metadata. The flags
791-
propagate to third-party C extensions through :mod:`sysconfig`, and
792-
are silently skipped on compilers that do not understand them.
787+
By default, the build appends ``-fno-omit-frame-pointer`` (and
788+
``-mno-omit-leaf-frame-pointer`` when the compiler supports it) to
789+
``BASECFLAGS`` so profilers, debuggers, and system tracing tools
790+
(``perf``, ``eBPF``, ``dtrace``, ``gdb``) can walk the C call stack
791+
without DWARF metadata. The flags propagate to third-party C
792+
extensions through :mod:`sysconfig`. On compilers that do not
793+
understand them, the build silently skips them.
793794

794795
.. versionadded:: 3.15
795796

0 commit comments

Comments
 (0)