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] Move heap_ignore to Process
[simgrid.git]
/
src
/
mc
/
Type.hpp
diff --git
a/src/mc/Type.hpp
b/src/mc/Type.hpp
index
540bf4c
..
a3bffd5
100644
(file)
--- a/
src/mc/Type.hpp
+++ b/
src/mc/Type.hpp
@@
-13,19
+13,22
@@
#include <xbt/base.h>
#include "mc_forward.h"
#include <xbt/base.h>
#include "mc_forward.h"
-#include "
mc_location.h
"
+#include "
src/mc/LocationList.hpp
"
namespace simgrid {
namespace mc {
namespace simgrid {
namespace mc {
-/** Represent a member of a structure (or inheritance) */
+/** A member of a structure, union
+ *
+ * Inheritance is seen as a special member as well.
+ */
class Member {
public:
Member() : inheritance(false), byte_size(0), type_id(0) {}
bool inheritance;
std::string name;
class Member {
public:
Member() : inheritance(false), byte_size(0), type_id(0) {}
bool inheritance;
std::string name;
- simgrid::
mc
::DwarfExpression location_expression;
+ simgrid::
dwarf
::DwarfExpression location_expression;
std::size_t byte_size; // Do we really need this?
unsigned type_id;
simgrid::mc::Type* type;
std::size_t byte_size; // Do we really need this?
unsigned type_id;
simgrid::mc::Type* type;
@@
-52,10
+55,7
@@
public:
}
};
}
};
-/** Represents a type in the program
- *
- * It is currently used to represent members of structs and unions as well.
- */
+/** A type in the model-checked program */
class Type {
public:
Type();
class Type {
public:
Type();