Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion development-tools/clang.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,11 @@ Then, run ``./configure`` with the relevant flags:
* ASan: ``--with-address-sanitizer --without-pymalloc``
* UBsan: ``--with-undefined-behavior-sanitizer``

It is OK to specify both sanitizers.
The ``--without-pymalloc`` option is not necessary (tests should pass without it),
but disabling pymalloc helps ASan uncover more bugs (ASan does not track
individual allocations done by pymalloc).

It is OK to specify both sanitizers.

After that, run ``make`` and ``make test`` as usual.
Note that ``make`` itself may fail with a sanitizer failure,
Expand Down