From: Martin Quinson Date: Tue, 5 Jun 2018 22:04:43 +0000 (+0200) Subject: ASan supposely works with swapcontext and ASM manual contexts X-Git-Tag: v3.20~131^2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1e29a1b09fff0b315c9e60aafa992941ecc7fe8f ASan supposely works with swapcontext and ASM manual contexts --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 166dfae0b5..80ff66e1ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -209,7 +209,7 @@ IF(CMAKE_SYSTEM_PROCESSOR MATCHES ".86|AMD64|amd64") if (WIN32) message(STATUS "Disable fast raw contexts on Windows.") elseif(enable_address_sanitizer) - message(STATUS "Disable fast raw contexts with ASan") + message(STATUS "Disable fast raw contexts with ASan (FIXME: we should implement the wrappers as explained in https://github.com/google/sanitizers/issues/189)") else() set(HAVE_RAW_CONTEXTS 1) endif() @@ -508,7 +508,7 @@ elseif(APPLE) message(STATUS "No ucontext factory: Apple don't want us to use them.") set(HAVE_UCONTEXT_H 0) elseif(enable_address_sanitizer) - message(STATUS "No ucontext factory: ASan does not support it (see http://code.google.com/p/address-sanitizer/issues/detail?id=189)") + message(STATUS "No ucontext factory: ASan needs us to write the wrappers as explained in https://github.com/google/sanitizers/issues/189") else() try_compile(compile_makecontext ${CMAKE_BINARY_DIR} ${CMAKE_HOME_DIRECTORY}/tools/cmake/test_prog/prog_makecontext.c OUTPUT_VARIABLE compile_makecontext_output)