This is an archive of the discontinued LLVM Phabricator instance.

make detect_leaks=1 the default for the lsan test suite
ClosedPublic

Authored by fjricci on Apr 20 2017, 9:08 AM.

Details

Summary

This already appears to be the case in all .cc test files,
it was probably left out of the .c test files accidentally. Make it a global
default, instead of manually adding it to each individual test.

This is needed to force leak detection for Darwin tests, where leak detection
is disabled by default.

Diff Detail

Repository
rL LLVM

Event Timeline

fjricci created this revision.Apr 20 2017, 9:08 AM
alekseyshl accepted this revision.Apr 20 2017, 1:46 PM
This revision is now accepted and ready to land.Apr 20 2017, 1:46 PM
This revision was automatically updated to reflect the committed changes.