Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' into S4U
[simgrid.git] / src / mc / mc_object_info.h
1 /* Copyright (c) 2007-2015. The SimGrid Team.
2  * All rights reserved.                                                     */
3
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. */
6
7 #ifndef SIMGRID_MC_OBJECT_INFO_H
8 #define SIMGRID_MC_OBJECT_INFO_H
9
10 #include <vector>
11 #include <memory>
12
13 #include <xbt/base.h>
14
15 #include "mc_forward.hpp"
16 #include "mc_memory_map.h"
17
18 XBT_INTERNAL std::shared_ptr<simgrid::mc::ObjectInformation> MC_find_object_info(
19   std::vector<simgrid::mc::VmMap> const& maps, const char* name, int executable);
20 XBT_INTERNAL void MC_post_process_object_info(simgrid::mc::Process* process, simgrid::mc::ObjectInformation* info);
21
22 XBT_INTERNAL void MC_dwarf_get_variables(simgrid::mc::ObjectInformation* info);
23 XBT_INTERNAL void MC_dwarf_get_variables_libdw(simgrid::mc::ObjectInformation* info);
24
25 XBT_INTERNAL const char* MC_dwarf_attrname(int attr);
26 XBT_INTERNAL const char* MC_dwarf_tagname(int tag);
27
28 XBT_INTERNAL void* mc_member_resolve(
29   const void* base, simgrid::mc::Type* type, simgrid::mc::Type* member,
30   simgrid::mc::AddressSpace* snapshot, int process_index);
31
32 #endif