From db3d8bcae043395025191ea3e4360c495d2584d9 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Mon, 5 Oct 2015 15:57:42 +0200 Subject: [PATCH] [mc] Fix location expression initialization --- src/mc/mc_dwarf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mc/mc_dwarf.cpp b/src/mc/mc_dwarf.cpp index b806b0e00a..774eb33d82 100644 --- a/src/mc/mc_dwarf.cpp +++ b/src/mc/mc_dwarf.cpp @@ -506,7 +506,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), (uint64_t) type->id, type->name.c_str()); - simgrid::mc::DwarfExpression(expr, expr+len); + member->location_expression = simgrid::mc::DwarfExpression(expr, expr+len); break; } case MC_DW_CLASS_CONSTANT: -- 2.20.1