Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Check if ASan is enabled from CMake, and define variables.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 28 Sep 2017 13:53:22 +0000 (15:53 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 28 Sep 2017 15:08:38 +0000 (17:08 +0200)
commit68123963f3f6ed0447459cb86e87f330dfe26ffd
tree079c3dcf0be6d0f48029b0eeb9f96702e255cb46
parente36a2202155d007c72d9f54fdddf3f422a8503f8
Check if ASan is enabled from CMake, and define variables.

HAVE_SANITIZE_ADDRESS if AddressSanitizer is enabled
HAVE_SANITIZE_ADDRESS_FIBER_SUPPORT if current ASan version includes Fiber annotation interface

Update smpi_memory.cpp in consequence.
CMakeLists.txt
src/smpi/internals/smpi_memory.cpp
tools/cmake/DefinePackages.cmake
tools/cmake/GCCFlags.cmake
tools/cmake/src/internal_config.h.in
tools/cmake/test_prog/prog_asan.cpp [new file with mode: 0644]