From: Daniel G. <dan...@gm...> - 2015-04-05 16:38:17
|
On Sun, Apr 05, 2015 at 06:16:16PM +0300, Paul Fertser wrote: > To my surprise, I found that Clang already has the needed facilities > and they provide awesome diagnostics (with colour highligting): > > $ ./configure CC=clang CFLAGS="-fno-omit-frame-pointer \ > -fsanitize=address -fsanitize=undefined -ggdb3" The sanitizers for addresses and undefined behavior (as well as the one for threads) have already been ported to GCC. They are included since GCC 4.8 and 4.9 respectively. Best regards, Daniel |