X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b3a2217b5c973d5a79c43d555162d2d516aa2631..39aa88227f8cff926c10773ec34cf8decb85a05b:/src/mc/mc_object_info.cpp diff --git a/src/mc/mc_object_info.cpp b/src/mc/mc_object_info.cpp index 6034269268..3d3703c3c6 100644 --- a/src/mc/mc_object_info.cpp +++ b/src/mc/mc_object_info.cpp @@ -35,6 +35,7 @@ Type::Type() this->byte_size = 0; this->element_count = 0; this->is_pointer_type = 0; + this->type_id = 0; this->subtype = nullptr; this->full_type = nullptr; } @@ -46,6 +47,7 @@ Variable::Variable() this->dwarf_offset = 0; this->global = 0; this->type = nullptr; + this->type_id = 0; this->address = nullptr; this->start_scope = 0; this->object_info = nullptr; @@ -68,7 +70,6 @@ Frame::Frame() ObjectInformation::ObjectInformation() { this->flags = 0; - this->file_name = nullptr; this->start = nullptr; this->end = nullptr; this->start_exec = nullptr; @@ -77,34 +78,21 @@ ObjectInformation::ObjectInformation() this->end_rw = nullptr; this->start_ro = nullptr; this->end_ro = nullptr; - this->subprograms = xbt_dict_new_homogeneous(mc_frame_free); - this->types = xbt_dict_new_homogeneous((void (*)(void *)) mc_type_free); - this->full_types_by_name = xbt_dict_new_homogeneous(NULL); - this->functions_index = nullptr; -} - -ObjectInformation::~ObjectInformation() -{ - xbt_free(this->file_name); - xbt_dict_free(&this->subprograms); - xbt_dict_free(&this->types); - xbt_dict_free(&this->full_types_by_name); - xbt_dynar_free(&this->functions_index); } /** Find the DWARF offset for this ELF object * * An offset is applied to address found in DWARF: * - *