]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake,ceph.in: preload libasan if WITH_ASAN
authorKefu Chai <kchai@redhat.com>
Mon, 22 Oct 2018 06:06:38 +0000 (14:06 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 22 Oct 2018 06:40:03 +0000 (14:40 +0800)
commitfd58e5d4ad2035ce66b6a3de8a0967e75cb985de
treed71dc6aa2abac522482778570fc36619b56edd0f
parente85146297708e59a41a463e1bd390d1e9de4d49c
cmake,ceph.in: preload libasan if WITH_ASAN

we need to preload libasan.so as the python exectuable is not likely to
be compiled with ASan enabled.
see:
https://github.com/google/sanitizers/wiki/AddressSanitizerAsDso#asan-and-ld_preload

just to ease the use of ASan, for fine-tuned behaviour, use
`ASAN_OPTIONS`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/FindSanitizers.cmake
src/ceph.in