X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3203ed1f4fb6f4617e94d5351661ba07e8b8f833..7097365f75e89b3b266987b2ec70b9dbc82bfded:/src/mc/mc_memory.cpp diff --git a/src/mc/mc_memory.cpp b/src/mc/mc_memory.cpp index a3ce18d275..866015fc2c 100644 --- a/src/mc/mc_memory.cpp +++ b/src/mc/mc_memory.cpp @@ -8,29 +8,25 @@ #include #include "xbt/log.h" -#include "xbt/dynar.h" -#include "xbt/virtu.h" #include "mc/mc.h" -#include "mc_object_info.h" -#include "mc_private.h" - -extern "C" { +#include "src/mc/mc_private.h" +#include "src/xbt/mmalloc/mmprivate.h" 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 */ -#include "src/xbt_modinter.h" void MC_memory_exit(void) { }