Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ASan supposely works with swapcontext and ASM manual contexts
[simgrid.git] / CMakeLists.txt
index 166dfae..80ff66e 100644 (file)
@@ -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)