Skip to content

Commit bfe6179

Browse files
committed
Make it clearer that not all sanitizers turn off pymalloc
1 parent 3be3958 commit bfe6179

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎Doc/c-api/memory.rst‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@ Release build ``"pymalloc"`` ``malloc``
437437
Debug build ``"pymalloc_debug"`` ``malloc`` + debug ``pymalloc`` + debug ``pymalloc`` + debug
438438
Release build, without pymalloc ``"malloc"`` ``malloc`` ``malloc`` ``malloc``
439439
Debug build, without pymalloc ``"malloc_debug"`` ``malloc`` + debug ``malloc`` + debug ``malloc`` + debug
440-
Release build, with sanitizer ``"malloc"`` ``malloc`` ``malloc`` ``malloc``
441-
Debug build, with sanitizer ``"malloc_debug"`` ``malloc`` + debug ``malloc`` + debug ``malloc`` + debug
440+
Release build, with ASan or MSan ``"malloc"`` ``malloc`` ``malloc`` ``malloc``
441+
Debug build, with ASan or MSan ``"malloc_debug"`` ``malloc`` + debug ``malloc`` + debug ``malloc`` + debug
442442
Free-threaded build ``"mimalloc"`` ``mimalloc`` ``mimalloc`` ``mimalloc``
443443
Free-threaded debug build ``"mimalloc_debug"`` ``mimalloc`` + debug ``mimalloc`` + debug ``mimalloc`` + debug
444444
=================================== ======================= ==================== ====================== ======================
@@ -453,9 +453,10 @@ Legend:
453453
* "+ debug": with :ref:`debug hooks on the Python memory allocators
454454
<pymem-debug-hooks>`.
455455
* "Debug build": :ref:`Python build in debug mode <debug-build>`.
456-
* "with sanitizer": build with the :option:`--with-address-sanitizer`,
457-
:option:`--with-memory-sanitizer`, and/or
458-
:option:`--with-hwaddress-sanitizer` option.
456+
* "with ASan or MSan": sanitizer build as configured using the
457+
:option:`--with-address-sanitizer`,
458+
:option:`--with-hwaddress-sanitizer`, and/or
459+
:option:`--with-memory-sanitizer` option.
459460
460461
.. _customize-memory-allocators:
461462

0 commit comments

Comments
 (0)