Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
dfab0940be147ae9749ae9a7bb2b56e468a438af
[simgrid.git] / src / mc / mc_object_info.cpp
1 /* Copyright (c) 2014-2015. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #include <stddef.h>
8
9 #include <xbt/dynar.h>
10
11 #include "mc_object_info.h"
12 #include "mc_private.h"
13 #include "mc/Frame.hpp"
14 #include "mc/Type.hpp"
15 #include "mc/Variable.hpp"
16
17 namespace simgrid {
18 namespace mc {
19
20 // Type
21
22 Type::Type()
23 {
24   this->type = 0;
25   this->id = 0;
26   this->byte_size = 0;
27   this->element_count = 0;
28   this->is_pointer_type = 0;
29   this->type_id = 0;
30   this->subtype = nullptr;
31   this->full_type = nullptr;
32 }
33
34 // Type
35
36 Variable::Variable()
37 {
38   this->dwarf_offset = 0;
39   this->global = 0;
40   this->type = nullptr;
41   this->type_id = 0;
42   this->address = nullptr;
43   this->start_scope = 0;
44   this->object_info = nullptr;
45 }
46
47 // Frame
48
49 Frame::Frame()
50 {
51   this->tag = 0;
52   this->low_pc = nullptr;
53   this->high_pc = nullptr;
54   this->id = 0;
55   this->abstract_origin_id = 0;
56   this->object_info = nullptr;
57 }
58
59 }
60 }