X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ab0bf820128e74dc5e7d9e6413b88bca2621a34e..1e1a18a0b8d75deb509860d08b75a27df4e935c8:/src/mc/mc_unw.h diff --git a/src/mc/mc_unw.h b/src/mc/mc_unw.h index 3470bd8580..d27fbd1ce9 100644 --- a/src/mc/mc_unw.h +++ b/src/mc/mc_unw.h @@ -26,29 +26,27 @@ * much here. */ +#include + #include #include -#include "src/mc/Process.hpp" +#include "src/mc/mc_forward.hpp" + +namespace simgrid { +namespace unw { + +XBT_PRIVATE unw_addr_space_t create_addr_space(); +XBT_PRIVATE void* create_context(unw_addr_space_t as, pid_t pid); + +} +} SG_BEGIN_DECL() // ***** Libunwind namespace -/** Virtual table for our `libunwind-process_vm_readv` implementation. - * - * This implementation reuse most the code of `libunwind-ptrace` but - * does not use ptrace() to read the target process memory by - * `process_vm_readv()` or `/dev/${pid}/mem` if possible. - * - * Does not support any MC-specific behaviour (privatisation, snapshots) - * and `ucontext_t`. - * - * It works with `void*` contexts allocated with `_UPT_create(pid)`. - */ -extern XBT_PRIVATE unw_accessors_t mc_unw_vmread_accessors; - /** Virtual table for our `libunwind` implementation * * Stack unwinding on a `simgrid::mc::Process*` (for memory, unwinding information)