Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "[mc] Fix initialisation of dwarf expression"
authorGabriel Corona <gabriel.corona@loria.fr>
Fri, 2 Oct 2015 10:04:10 +0000 (12:04 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Fri, 2 Oct 2015 11:15:18 +0000 (13:15 +0200)
This reverts commit 4a00aeabd069cdbd1927a3e8a433bb10f49362be.

src/mc/mc_libdw.cpp

index b27eb9f..2e55f15 100644 (file)
@@ -292,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: