X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ae19c0900634fedd66327d68b3202e4d8f9c186d..f43536687685f8e4ff5c43fa22e571750327e5ed:/src/mc/mc_unw.h diff --git a/src/mc/mc_unw.h b/src/mc/mc_unw.h index 9f85f72d1e..1a22b84376 100644 --- a/src/mc/mc_unw.h +++ b/src/mc/mc_unw.h @@ -26,6 +26,8 @@ * much here. */ +#include + #include "mc_process.h" SG_BEGIN_DECL() @@ -43,7 +45,7 @@ SG_BEGIN_DECL() * * It works with `void*` contexts allocated with `_UPT_create(pid)`. */ -extern unw_accessors_t mc_unw_vmread_accessors; +extern XBT_PRIVATE unw_accessors_t mc_unw_vmread_accessors; /** Virtual table for our `libunwind` implementation * @@ -52,26 +54,26 @@ extern unw_accessors_t mc_unw_vmread_accessors; * * It works with the `s_mc_unw_context_t` context. */ -extern XBT_INTERNAL unw_accessors_t mc_unw_accessors; +extern XBT_PRIVATE unw_accessors_t mc_unw_accessors; // ***** Libunwind context /** A `libunwind` context */ -typedef struct s_mc_unw_context { +typedef struct XBT_PRIVATE s_mc_unw_context { simgrid::mc::AddressSpace* address_space; simgrid::mc::Process* process; unw_context_t context; } s_mc_unw_context_t, *mc_unw_context_t; /** Initialises an already allocated context */ -XBT_INTERNAL int mc_unw_init_context( +XBT_PRIVATE int mc_unw_init_context( mc_unw_context_t context, simgrid::mc::Process* process, unw_context_t* c); // ***** Libunwind cursor /** Initialises a `libunwind` cursor */ -XBT_INTERNAL int mc_unw_init_cursor(unw_cursor_t *cursor, mc_unw_context_t context); +XBT_PRIVATE int mc_unw_init_cursor(unw_cursor_t *cursor, mc_unw_context_t context); SG_END_DECL()