From ff00d50c71255dd055527b806d9e2791013443d8 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Mon, 20 Jul 2015 15:11:52 +0200 Subject: [PATCH] [mc] Move some declarations in mc_object_info.h --- src/mc/mc_object_info.h | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/src/mc/mc_object_info.h b/src/mc/mc_object_info.h index 9ba2378353..a20c531179 100644 --- a/src/mc/mc_object_info.h +++ b/src/mc/mc_object_info.h @@ -141,23 +141,6 @@ public: }; -} -} - -XBT_INTERNAL std::shared_ptr MC_find_object_info( - std::vector const& maps, const char* name, int executable); -XBT_INTERNAL void MC_post_process_object_info(mc_process_t process, mc_object_info_t info); - -XBT_INTERNAL void MC_dwarf_get_variables(mc_object_info_t info); -XBT_INTERNAL void MC_dwarf_get_variables_libdw(mc_object_info_t info); -XBT_INTERNAL const char* MC_dwarf_attrname(int attr); -XBT_INTERNAL const char* MC_dwarf_tagname(int tag); - -XBT_INTERNAL void* mc_member_resolve(const void* base, mc_type_t type, mc_type_t member, mc_address_space_t snapshot, int process_index); - -namespace simgrid { -namespace mc { - class Variable { public: Variable(); @@ -197,6 +180,19 @@ public: } +XBT_INTERNAL std::shared_ptr MC_find_object_info( + std::vector const& maps, const char* name, int executable); +XBT_INTERNAL void MC_post_process_object_info(mc_process_t process, mc_object_info_t info); + +XBT_INTERNAL void MC_dwarf_get_variables(mc_object_info_t info); +XBT_INTERNAL void MC_dwarf_get_variables_libdw(mc_object_info_t info); +XBT_INTERNAL const char* MC_dwarf_attrname(int attr); +XBT_INTERNAL const char* MC_dwarf_tagname(int tag); + +XBT_INTERNAL void* mc_member_resolve( + const void* base, mc_type_t type, mc_type_t member, + mc_address_space_t snapshot, int process_index); + struct s_mc_function_index_item { void* low_pc, *high_pc; -- 2.20.1