Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1557 asan openmp suppression #1647

Merged
merged 2 commits into from
Jan 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake-modules/SetCXXCompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions cmake/load_bundled_libraries.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ 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()

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()
Expand Down
1 change: 1 addition & 0 deletions tests/lsan.supp
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
leak:MPIDI_CH3U_Receive_data_unexpected
leak:libmpi.so