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] Multiple .so support for region snapshots
[simgrid.git]
/
src
/
mc
/
mc_object_info.h
diff --git
a/src/mc/mc_object_info.h
b/src/mc/mc_object_info.h
index
57a83a8
..
ea77753
100644
(file)
--- a/
src/mc/mc_object_info.h
+++ b/
src/mc/mc_object_info.h
@@
-73,6
+73,12
@@
struct s_mc_object_info {
xbt_dynar_t functions_index;
};
xbt_dynar_t functions_index;
};
+static inline __attribute__ ((always_inline))
+bool MC_object_info_executable(mc_object_info_t info)
+{
+ return info->flags & MC_OBJECT_INFO_EXECUTABLE;
+}
+
/** Find the DWARF offset for this ELF object
*
* An offset is applied to address found in DWARF:
/** Find the DWARF offset for this ELF object
*
* An offset is applied to address found in DWARF: