buildsys,journal: allow -fsanitize=address without VALGRIND defined
authorCristian Rodríguez <crrodriguez@opensuse.org>
Fri, 5 Aug 2016 16:10:41 +0000 (16:10 +0000)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 10 Jan 2024 21:39:36 +0000 (22:39 +0100)
commit423c89e95604842effd5ef5fba45bf1f6086c188
tree33928ae4cb8aeb80d4f34dc0b8947ed6d8f63099
parent0a6477d8b577c38e42e061d693263f85e57371e3
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