HPCToolkit
_mcontext.h File Reference
#include <stdlib.h>
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
#include <ucontext.h>
#include <lib/isa-lean/power/instruction-set.h>
Include dependency graph for _mcontext.h:

Go to the source code of this file.

Macros

#define UCONTEXT_REG(uc, reg)   ((uc)->uc_mcontext.gp_regs[reg])
 

Functions

static void * ucontext_pc (ucontext_t *context)
 
static void ** ucontext_fp (ucontext_t *context)
 
static void ** ucontext_sp (ucontext_t *context)
 
static void * getNxtPCFromSP (void **sp)
 
static bool isPossibleParentSP (void **sp, void **parent_sp)
 

Macro Definition Documentation

◆ UCONTEXT_REG

#define UCONTEXT_REG (   uc,
  reg 
)    ((uc)->uc_mcontext.gp_regs[reg])

Definition at line 62 of file _mcontext.h.

Function Documentation

◆ getNxtPCFromSP()

static void* getNxtPCFromSP ( void **  sp)
inlinestatic

Definition at line 93 of file _mcontext.h.

Here is the caller graph for this function:

◆ isPossibleParentSP()

static bool isPossibleParentSP ( void **  sp,
void **  parent_sp 
)
inlinestatic

Definition at line 105 of file _mcontext.h.

Here is the caller graph for this function:

◆ ucontext_fp()

static void** ucontext_fp ( ucontext_t *  context)
inlinestatic

Definition at line 77 of file _mcontext.h.

◆ ucontext_pc()

static void* ucontext_pc ( ucontext_t *  context)
inlinestatic

Definition at line 70 of file _mcontext.h.

◆ ucontext_sp()

static void** ucontext_sp ( ucontext_t *  context)
inlinestatic

Definition at line 84 of file _mcontext.h.

Here is the caller graph for this function: