X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1ba8e265192b67c6903d48faeabe9e1d626bcd3d..4fd2f97dd395fdec3a097054bb19ab70e7e99380:/src/mc/mc_hash.c diff --git a/src/mc/mc_hash.c b/src/mc/mc_hash.c index 5b824aeb12..c4ba6c6294 100644 --- a/src/mc/mc_hash.c +++ b/src/mc/mc_hash.c @@ -241,7 +241,8 @@ static void mc_hash_stack_frame( XBT_DEBUG("Hash local variable %s", variable->name); - void* variable_address = (void*) mc_dwarf_resolve_locations(&variable->locations, unw_cursor, frame_pointer, NULL); + void* variable_address = (void*) mc_dwarf_resolve_locations( + &variable->locations, variable->object_info, unw_cursor, frame_pointer, NULL); dw_type_t type = variable->type; if(type==NULL) { @@ -251,6 +252,8 @@ static void mc_hash_stack_frame( mc_hash_value(hash, state, info, variable_address, type); } + + // TODO, handle nested scopes } static void mc_hash_stack(mc_hash_t *hash, mc_snapshot_stack_t stack, mc_hashing_state* state) {