Re-enable ASan leak detection, add Massif heap profiling target
#286: Change detect_leaks=0 to detect_leaks=1 in asan-test target. LSAN suppressions for CPython intentional leaks (interned strings, type objects, small int cache, etc.) were already in sanitizers/asan.supp. Now that #266 and #275 are fixed, real McRogueFace leaks will be caught. #284: Add make massif-test target that runs stress_test_suite.py under Valgrind Massif for heap profiling. Output goes to build-debug/massif.out, viewable with ms_print. Closes #286, closes #284 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e7462e37a3
commit
188b312af0
2 changed files with 329 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
|||
# McRogueFace AddressSanitizer Suppression File
|
||||
#
|
||||
# Minimal — most CPython false positives are handled by:
|
||||
# CPython false positives are handled by:
|
||||
# - PYTHONMALLOC=malloc (bypasses pymalloc)
|
||||
# - detect_leaks=0 (CPython has intentional lifetime leaks)
|
||||
# - LSAN suppressions below (CPython has intentional lifetime leaks)
|
||||
#
|
||||
# Usage (via ASAN_OPTIONS or LSAN_OPTIONS):
|
||||
# LSAN_OPTIONS="suppressions=sanitizers/asan.supp"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue