X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/301989b17111d6a39df60385a4c2e73fcff8cd86..6050383ef0dc59e1ca54d02bcf6bccb993593add:/src/mc/mc_memory.cpp diff --git a/src/mc/mc_memory.cpp b/src/mc/mc_memory.cpp index 7cc36bd612..1db534b1c4 100644 --- a/src/mc/mc_memory.cpp +++ b/src/mc/mc_memory.cpp @@ -8,24 +8,21 @@ #include #include "xbt/log.h" -#include "xbt/dynar.h" -#include "xbt/virtu.h" #include "mc/mc.h" #include "src/mc/mc_private.h" -extern "C" { - XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_memory, mc, "Logging specific to MC (memory)"); +extern "C" { + /* Initialize the model-checker memory subsystem */ /* It creates the two heap regions: std_heap and mc_heap */ void MC_memory_init() { - if (!malloc_use_mmalloc()) { + if (!malloc_use_mmalloc()) xbt_die("Model-checking support is not enabled: run with simgrid-mc."); - } } /* Finalize the memory subsystem */