A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mc] Rename frame->start into frame->id
[simgrid.git]
/
src
/
mc
/
mc_dwarf.c
diff --git
a/src/mc/mc_dwarf.c
b/src/mc/mc_dwarf.c
index
c5703af
..
ba10eff
100644
(file)
--- a/
src/mc/mc_dwarf.c
+++ b/
src/mc/mc_dwarf.c
@@
-777,7
+777,7
@@
static void MC_dwarf_handle_scope_die(mc_object_info_t info, Dwarf_Die* die, Dwa
dw_frame_t frame = xbt_new0(s_dw_frame_t, 1);
frame->tag = tag;
dw_frame_t frame = xbt_new0(s_dw_frame_t, 1);
frame->tag = tag;
- frame->
start
= dwarf_dieoffset(die);
+ frame->
id
= dwarf_dieoffset(die);
const char* name = MC_dwarf_attr_integrate_string(die, DW_AT_name);
if(name)
const char* name = MC_dwarf_attr_integrate_string(die, DW_AT_name);
if(name)
@@
-799,12
+799,11
@@
static void MC_dwarf_handle_scope_die(mc_object_info_t info, Dwarf_Die* die, Dwa
mc_dwarf_location_list_init(&frame->frame_base, info, die, &attr_frame_base);
}
mc_dwarf_location_list_init(&frame->frame_base, info, die, &attr_frame_base);
}
- frame->end = -1; // This one is now useless:
frame->scopes = xbt_dynar_new(sizeof(dw_frame_t), (void_f_pvoid_t) mc_frame_free_voipd);
// Register it:
if(klass==mc_tag_subprogram) {
frame->scopes = xbt_dynar_new(sizeof(dw_frame_t), (void_f_pvoid_t) mc_frame_free_voipd);
// Register it:
if(klass==mc_tag_subprogram) {
- char* key = bprintf("%" PRIx64, (uint64_t) frame->
start
);
+ char* key = bprintf("%" PRIx64, (uint64_t) frame->
id
);
xbt_dict_set(info->subprograms, key, frame, NULL);
xbt_free(key);
} else if(klass==mc_tag_scope) {
xbt_dict_set(info->subprograms, key, frame, NULL);
xbt_free(key);
} else if(klass==mc_tag_scope) {