Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Move ignore_local_variable() into Process
[simgrid.git] / src / mc / Frame.hpp
index 734b933..77fcc05 100644 (file)
@@ -9,10 +9,12 @@
 
 #include <string>
 
+#include <xbt/base.h>
+
 #include "mc_forward.h"
-#include "mc_location.h"
-#include "mc/Variable.hpp"
-#include "mc/Frame.hpp"
+#include "src/mc/LocationList.hpp"
+#include "src/mc/Variable.hpp"
+#include "src/mc/Frame.hpp"
 
 namespace simgrid {
 namespace mc {
@@ -25,12 +27,15 @@ public:
   std::string name;
   void *low_pc;
   void *high_pc;
-  simgrid::mc::LocationList frame_base;
+  simgrid::dwarf::LocationList frame_base_location;
   std::vector<Variable> variables;
   unsigned long int id; /* DWARF offset of the subprogram */
   std::vector<Frame> scopes;
   unsigned long int abstract_origin_id;
   simgrid::mc::ObjectInformation* object_info;
+
+  void* frame_base(unw_cursor_t& unw_cursor) const;
+  void remove_variable(char* name);
 };
 
 inline