Hacker News new | past | comments | ask | show | jobs | submit login

This has changed since 2011. Both GCC and LLVM/Clang support

export CFLAGS="-ggdb -fsanitize=address"

And few other "sanitizers". They add a runtime to the binary so you get the backtrace, detect runtime "silent" errors (undefined behaviors) and overall help develop C/C++ programs.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: