Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Create a Member for for structure/class/union member
[simgrid.git] / src / mc / mc_member.cpp
index 3697e3a..2dc276b 100644 (file)
@@ -6,7 +6,7 @@
 
 #include <xbt/misc.h>
 
-#include "mc_dwarf.hpp"
+#include "mc_object_info.h"
 #include "mc_private.h"
 #include "mc/Type.hpp"
 
@@ -18,8 +18,9 @@
  * @param snapshot Snapshot (or NULL)
  * @return Process address of the given member of the 'object' struct/class
  */
-void *mc_member_resolve(const void *base, simgrid::mc::Type* type, simgrid::mc::Type* member,
-                        simgrid::mc::AddressSpace* address_space, int process_index)
+void *mc_member_resolve(
+    const void *base, simgrid::mc::Type* type, simgrid::mc::Member* member,
+    simgrid::mc::AddressSpace* address_space, int process_index)
 {
   // TODO, get rid of this?
   if (!member->has_offset_location())