X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f43536687685f8e4ff5c43fa22e571750327e5ed..a511865336e83ac3654632265ed00b8f0bf0eccc:/src/mc/ObjectInformation.hpp diff --git a/src/mc/ObjectInformation.hpp b/src/mc/ObjectInformation.hpp index d589dacd7c..9a55d87bfc 100644 --- a/src/mc/ObjectInformation.hpp +++ b/src/mc/ObjectInformation.hpp @@ -9,15 +9,17 @@ #include #include +#include #include #include -#include "mc/mc_forward.h" -#include "mc/Type.hpp" -#include "mc/Frame.hpp" +#include "src/xbt/memory_map.hpp" +#include "src/mc/mc_forward.hpp" +#include "src/mc/Type.hpp" +#include "src/mc/Frame.hpp" -#include "smpi/private.h" +#include "src/smpi/private.h" namespace simgrid { namespace mc { @@ -88,22 +90,20 @@ public: return this->flags & simgrid::mc::ObjectInformation::Executable; } - bool privatized() const - { -#ifdef HAVE_SMPI - return this->executable() && smpi_privatize_global_variables; -#else - return false; -#endif - } - void* base_address() const; simgrid::mc::Frame* find_function(const void *ip) const; simgrid::mc::Variable* find_variable(const char* name) const; - + void remove_global_variable(const char* name); + void remove_local_variable( + const char* name, const char* scope); }; +XBT_PRIVATE std::shared_ptr createObjectInformation( + std::vector const& maps, const char* name); +XBT_PRIVATE void postProcessObjectInformation( + simgrid::mc::Process* process, simgrid::mc::ObjectInformation* info); + } }