Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
disable dlopen when under sanitizers
[simgrid.git] / tools / cmake / src / internal_config.h.in
index f064746..90d8c70 100644 (file)
@@ -3,7 +3,7 @@
 /* Warning: The file internal_config.h is AUTOMATICALLY GENERATED by Cmake. 
  * Edit the template instead: tools/cmake/src/internal_config.h.in          */
 
-/* Copyright (c) 2004-2016. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2004-2017. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 /* <valgrind/valgrind.h> */
 #cmakedefine01 HAVE_VALGRIND_H
 
+/* Address Sanitizer */
+#cmakedefine01 HAVE_SANITIZE_ADDRESS
+#cmakedefine01 HAVE_SANITIZE_ADDRESS_FIBER_SUPPORT
+
 /* Time portability */
 /* Function gettimeofday */
 #cmakedefine01 HAVE_GETTIMEOFDAY
@@ -33,7 +37,7 @@
 #cmakedefine01 HAVE_NANOSLEEP
 
 /* The usable context factories */
-#cmakedefine01 HAVE_BOOST_CONTEXTS
+#define HAVE_BOOST_CONTEXTS @HAVE_BOOST_CONTEXTS@
 #cmakedefine01 HAVE_RAW_CONTEXTS
 #cmakedefine01 HAVE_THREAD_CONTEXTS
 #cmakedefine01 HAVE_UCONTEXT_CONTEXTS
@@ -56,7 +60,7 @@
 
 /* Variable for SysV, raw and Boost contexts */
 /* Does the stack growth upward, or downward? */
-#cmakedefine01 PTH_STACKGROWTH
+#define PTH_STACKGROWTH @PTH_STACKGROWTH@
 
 /* MC variables */
 /* getdtablesize: get descriptor table size */
@@ -66,7 +70,7 @@
 /* process_vm_readv: transfer data between process address spaces */
 #cmakedefine01 HAVE_PROCESS_VM_READV
 /* Set to true if enable_model-checking is true and the dependencies available */
-#cmakedefine01 HAVE_MC
+#cmakedefine01 SIMGRID_HAVE_MC
 
 /* SMPI variables */
 /* SMPI enabled */
@@ -77,6 +81,8 @@
 #cmakedefine01 HAVE_PRIVATIZATION
 /* We have PAPI to fine-grain trace execution time */
 #cmakedefine01 HAVE_PAPI
+/* We have sendfile to efficiently copy files for dl-open privatization */
+#cmakedefine01 HAVE_SENDFILE
 
 /* Other function checks */
 /* Function backtrace */
 #cmakedefine01 HAVE_GRAPHVIZ
 /* The lib unwind library (for MC and backtrace display) */
 #cmakedefine01 HAVE_LIBUNWIND
+/* Whether we are built under a sanitizer (to disable dlopen privatization) */
+#cmakedefine01 HAVE_SANITIZER