buildsys,journal: allow -fsanitize=address without VALGRIND defined 96/171896/1 accepted/tizen/unified/20180309.064126 submit/tizen/20180308.045612 submit/tizen/20180309.010635
authorCristian Rodríguez <crrodriguez@opensuse.org>
Fri, 5 Aug 2016 16:10:41 +0000 (16:10 +0000)
committerINSUN PYO <insun.pyo@samsung.com>
Thu, 8 Mar 2018 04:41:55 +0000 (13:41 +0900)
commitf4577e5d8425453b7767d4c1caea51172484d17d
tree56f6d14aff1c4ab59b7c51341e60263adbb8667c
parent5c6917c3eea45689513a3f538496879cc758ca89
buildsys,journal: allow -fsanitize=address without VALGRIND defined

Fixed (master) versions of libtool pass -fsanitize=address correctly
into CFLAGS and LDFLAGS allowing ASAN to be used without any special
configure tricks..however ASAN triggers in lookup3.c for the same
reasons valgrind does. take the alternative codepath if
__SANITIZE_ADDRESS__ is defined as well.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I1eb6c14a7d91b4d34fdc792620fe57a329037fa4
src/journal/lookup3.c