diff --git a/cmake-modules/SetCXXCompilerFlags.cmake b/cmake-modules/SetCXXCompilerFlags.cmake index 818a3c3d16..d8b88759b7 100644 --- a/cmake-modules/SetCXXCompilerFlags.cmake +++ b/cmake-modules/SetCXXCompilerFlags.cmake @@ -23,7 +23,7 @@ elseif (NOT ${CMAKE_CXX_COMPILER_ID} MATCHES "Intel") endif () if (vt_asan_enabled) - list(APPEND TARGET_PUBLIC_CXX_FLAGS -fsanitize=address -fno-omit-frame-pointer) + list(APPEND TARGET_PUBLIC_CXX_FLAGS -fsanitize=address -fno-omit-frame-pointer -fno-optimize-sibling-calls) endif() if (vt_ubsan_enabled) diff --git a/cmake/load_bundled_libraries.cmake b/cmake/load_bundled_libraries.cmake index 5802db556a..9dc1224d6a 100644 --- a/cmake/load_bundled_libraries.cmake +++ b/cmake/load_bundled_libraries.cmake @@ -52,7 +52,7 @@ if (vt_asan_enabled) if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - message(STATUS "Building with address sanitizer enabled") + message(STATUS "Building VT with AddressSanitizer enabled") endif() endif() @@ -60,7 +60,7 @@ if (vt_ubsan_enabled) if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - message(STATUS "Building with undefined behavior sanitizer enabled") + message(STATUS "Building VT with UndefinedBehaviorSanitizer enabled") else() message(SEND_ERROR "Cannot use UBSan without clang or gcc >= 4.8") endif() diff --git a/tests/lsan.supp b/tests/lsan.supp index b121627013..e8f9861595 100644 --- a/tests/lsan.supp +++ b/tests/lsan.supp @@ -1 +1,2 @@ leak:MPIDI_CH3U_Receive_data_unexpected +leak:libmpi.so