HPCToolkit
_mcontext.h File Reference

Go to the source code of this file.

Macros

#define GET_MCONTEXT(context)   (&((ucontext_t *)context)->uc_mcontext)
 
#define MCONTEXT_PC(mctxt)   ((void *) mctxt->sc_rip)
 
#define MCONTEXT_BP(mctxt)   ((void **) mctxt->sc_rbp)
 
#define MCONTEXT_SP(mctxt)   ((void **) mctxt->sc_rsp)
 

Macro Definition Documentation

◆ GET_MCONTEXT

#define GET_MCONTEXT (   context)    (&((ucontext_t *)context)->uc_mcontext)

Definition at line 50 of file _mcontext.h.

◆ MCONTEXT_BP

#define MCONTEXT_BP (   mctxt)    ((void **) mctxt->sc_rbp)

Definition at line 59 of file _mcontext.h.

◆ MCONTEXT_PC

#define MCONTEXT_PC (   mctxt)    ((void *) mctxt->sc_rip)

Definition at line 58 of file _mcontext.h.

◆ MCONTEXT_SP

#define MCONTEXT_SP (   mctxt)    ((void **) mctxt->sc_rsp)

Definition at line 60 of file _mcontext.h.