Changeset 6028


Ignore:
Timestamp:
May 10, 2018, 8:32:15 PM (11 days ago)
Author:
cameron
Message:

Address Sanitizer is the root of Evil False Positives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/CMakeLists.txt

    r6026 r6028  
    237237SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_DEBUG} -O1 -g -fno-omit-frame-pointer -fno-optimize-sibling-calls")
    238238
    239 UNSET(HAS_ADDRESS_SANITIZER)
    240 CHECK_INCLUDE_FILE_CXX("sanitizer/asan_interface.h" HAS_ADDRESS_SANITIZER)
    241 IF (HAS_ADDRESS_SANITIZER)
    242 SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DHAS_ADDRESS_SANITIZER -fsanitize=address")
    243 ENDIF()
     239#UNSET(HAS_ADDRESS_SANITIZER)
     240#CHECK_INCLUDE_FILE_CXX("sanitizer/asan_interface.h" HAS_ADDRESS_SANITIZER)
     241#IF (HAS_ADDRESS_SANITIZER)
     242#SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DHAS_ADDRESS_SANITIZER -fsanitize=address")
     243#ENDIF()
    244244
    245245
Note: See TracChangeset for help on using the changeset viewer.