Skip to content
Merged
Changes from all 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
4 changes: 4 additions & 0 deletions development-tools/clang.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ Then, run ``./configure`` with the relevant flags:
* ASan: ``--with-address-sanitizer --without-pymalloc``
* UBsan: ``--with-undefined-behavior-sanitizer``

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.
Expand Down
Loading