Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / src / mc / mc_libdw.cpp
index 1f04ca0..2e55f15 100644 (file)
@@ -5,6 +5,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include <cstdint>
+#include <cinttypes>
 
 #include <algorithm>
 #include <memory>
@@ -291,7 +292,7 @@ static void MC_dwarf_fill_member_location(simgrid::mc::Type* type, simgrid::mc::
             ("Could not read location expression DW_AT_data_member_location in DW_TAG_member %s of type <%"
              PRIx64 ">%s", MC_dwarf_attr_integrate_string(child, DW_AT_name),
              (std::uint64_t) type->id, type->name.c_str());
-      member->location_expression = MC_dwarf_expression(expr, len);
+      MC_dwarf_expression(expr, len);
       break;
     }
   case MC_DW_CLASS_CONSTANT: