We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdfc99f commit 2a0fcd8Copy full SHA for 2a0fcd8
development-tools/clang.rst
@@ -103,7 +103,11 @@ Then, run ``./configure`` with the relevant flags:
103
* ASan: ``--with-address-sanitizer --without-pymalloc``
104
* UBsan: ``--with-undefined-behavior-sanitizer``
105
106
-It is OK to specify both sanitizers.
+Disabling pymalloc for ASan helps uncover more bugs since it is more effective
107
+with the system allocator (pymalloc doesn't add padding in between the allocated
108
+objects and doesn't poison/annotate the memory it manages for ASan).
109
+
110
+It is also OK to specify both sanitizers.
111
112
After that, run ``make`` and ``make test`` as usual.
113
Note that ``make`` itself may fail with a sanitizer failure,
0 commit comments