Skip to content

Commit

Permalink
dev-conf: use AddressSanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhill committed Jan 7, 2017
1 parent 4316d04 commit 8afbc07
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions dev-conf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@ set -e
./configure --clean
#export CFLAGS='-std=c99 -pedantic -Wshadow'
#export CXXFLAGS='-std=c++98 -pedantic'
./configure --enable-devel --enable-werror --disable-optimization
#--enable-sharedptr-debug #--enable-refcnt-debug

FSAN="-fsanitize=address"
export CPPFLAGS="$CPPFLAGS $FSAN"
export LDFLAGS="$LDFLAGS $FSAN"
./configure --enable-devel --enable-werror
#--disable-optimization
# --enable-sharedptr-debug #--enable-refcnt-debug

0 comments on commit 8afbc07

Please sign in to comment.