]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
build/cmake: provide asan, tsan, ubsan builds 12615/head
authorMatt Benjamin <mbenjamin@redhat.com>
Thu, 22 Dec 2016 04:36:37 +0000 (23:36 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 30 Dec 2016 17:39:42 +0000 (12:39 -0500)
commit83b74f52501d0ac870d5278f04bc78b6dba6e7c0
tree6a9996a70f638cc78fa010f810a321eb8cd5c969
parent68bf649dd2b48910f04fe78501f7e443e8724c1c
build/cmake:  provide asan, tsan, ubsan builds

The options are taken from rocksdb, but updated to match the
instructions here:

https://gist.github.com/kwk/4171e37f4bcdf7705329

Added option to explicitly enable leak checking via
-fsanitize-leak, after review.  The behavior I've observed from
-fsanitize-address and libasan linkage included leak checking,
but perhaps this is not general or changing behavior.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
CMakeLists.txt