3 ms·
> Basically every project I'm involved in has a "make check-valgrind" rule This the exact scenario where address sanitizer makes more sense. I stopped using Va
by unmole 3y ago
> Basically every project I'm involved in has a "make check-valgrind" rule
This the exact scenario where address sanitizer makes more sense. I stopped using Valgrind because ASan catches more issues, doesn't report false positives and is much much faster.
- rwmj 3y agoExcept you have to recompile everything so you're not testing the same binaries that you're going to ship. That's exactly the reason to use valgrind.
- unmole 3y agoHaving separate debug and release targets is hardly new.
- rwmj 3y agoAnd is still a terrible idea. I build everything with debugging symbols (albeit in a separate debuginfo downloadable), and debug messages can be turned on at any time. Saved my bacon countless times in production environments.