Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix the communication optimization.
[simgrid.git] / teshsuite / mc / dwarf / dwarf.cpp
index 7e1a2e5..09ad40e 100644 (file)
 #include <string.h>
 #include <assert.h>
 
-#include <xbt.h>
 #include <mc/mc.h>
 
 #include "mc/datatypes.h"
-#include "src/mc/mc_object_info.h"
 #include "src/mc/mc_private.h"
 
 #include "src/mc/Process.hpp"
@@ -70,7 +68,7 @@ static void test_local_variable(simgrid::mc::ObjectInformation* info, const char
 
   void* frame_base = subprogram->frame_base(*cursor);
   simgrid::dwarf::Location location = simgrid::dwarf::resolve(
-    var->location_list, info, cursor, frame_base, NULL, -1);
+    var->location_list, info, cursor, frame_base, nullptr, -1);
 
   xbt_assert(location.in_memory(),
     "Expected the variable %s of function %s to be in memory",