1 /* Copyright (c) 2007-2015. The SimGrid Team.
2 * All rights reserved. */
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. */
7 #ifndef SIMGRID_MC_FRAME_HPP
8 #define SIMGRID_MC_FRAME_HPP
14 #include "src/mc/mc_forward.h"
15 #include "src/mc/LocationList.hpp"
16 #include "src/mc/Variable.hpp"
17 #include "src/mc/Frame.hpp"
30 simgrid::dwarf::LocationList frame_base_location;
31 std::vector<Variable> variables;
32 unsigned long int id; /* DWARF offset of the subprogram */
33 std::vector<Frame> scopes;
34 unsigned long int abstract_origin_id;
35 simgrid::mc::ObjectInformation* object_info;
37 void* frame_base(unw_cursor_t& unw_cursor) const;
38 void remove_variable(char* name);
45 this->low_pc = nullptr;
46 this->high_pc = nullptr;
48 this->abstract_origin_id = 0;
49 this->object_info = nullptr;