clang was complaining about C-linkage functions with non-C-linkage return/parameter types.
#include "mc_object_info.h"
#include "mc_private.h"
-extern "C" {
-
static void MC_dwarf_register_global_variable(mc_object_info_t info, dw_variable_t variable);
static void MC_register_variable(mc_object_info_t info, dw_frame_t frame, dw_variable_t variable);
static void MC_dwarf_register_non_global_variable(mc_object_info_t info, dw_frame_t frame, dw_variable_t variable);
}
}
-
-}
#include <simgrid_config.h>
#include "mc_base.h"
#include "mc_forward.h"
-#include "mc_object_info.h"
-#include "mc_forward.h"
#include "AddressSpace.hpp"
SG_BEGIN_DECL()
#include "mc_object_info.h"
#include "mc_private.h"
-extern "C" {
-
/** Resolve snapshot in the process address space
*
* @param object Process address of the struct/class
else
return (void *) state.stack[state.stack_size - 1];
}
-
-}
#include "mc_object_info.h"
#include "mc_private.h"
-extern "C" {
-
dw_frame_t MC_file_object_info_find_function(mc_object_info_t info, const void *ip)
{
xbt_dynar_t dynar = info->functions_index;
return NULL;
}
-
-}
#include "mc_process.h"
#include "../smpi/private.h"
-SG_BEGIN_DECL();
-
// ***** Type
typedef int e_dw_type_type;
XBT_INTERNAL std::shared_ptr<s_mc_object_info_t> MC_find_object_info(
std::vector<simgrid::mc::VmMap> const& maps, const char* name, int executable);
+
XBT_INTERNAL void MC_free_object_info(mc_object_info_t* p);
XBT_INTERNAL dw_frame_t MC_file_object_info_find_function(mc_object_info_t info, const void *ip);
XBT_INTERNAL void mc_frame_free(dw_frame_t freme);
-SG_END_DECL()
-
#endif