From: Gabriel Corona Date: Thu, 17 Sep 2015 12:20:10 +0000 (+0200) Subject: [mc] Fix initialisation of dwarf expression X-Git-Tag: v3_12~183^2~6 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4a00aeabd069cdbd1927a3e8a433bb10f49362be [mc] Fix initialisation of dwarf expression --- diff --git a/src/mc/mc_libdw.cpp b/src/mc/mc_libdw.cpp index 4cdf9a41c5..1f04ca04ec 100644 --- a/src/mc/mc_libdw.cpp +++ b/src/mc/mc_libdw.cpp @@ -291,7 +291,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()); - MC_dwarf_expression(expr, len); + member->location_expression = MC_dwarf_expression(expr, len); break; } case MC_DW_CLASS_CONSTANT: