HPCToolkit
unwind.h File Reference
#include <ucontext.h>
#include <unwind/common/unw-datatypes.h>
#include <hpcrun/utilities/ip-normalized.h>
Include dependency graph for unwind.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  step_state {
  STEP_ERROR = -1, STEP_STOP = 0, STEP_OK = 1, STEP_TROLL = 2,
  STEP_STOP_WEAK = 3
}
 

Functions

void hpcrun_unw_init ()
 
int hpcrun_unw_get_ip_norm_reg (hpcrun_unw_cursor_t *c, ip_normalized_t *reg_value)
 
int hpcrun_unw_get_ip_unnorm_reg (hpcrun_unw_cursor_t *c, void **reg_value)
 
void * hpcrun_unw_get_ra_loc (hpcrun_unw_cursor_t *c)
 
void hpcrun_unw_init_cursor (hpcrun_unw_cursor_t *cursor, void *context)
 
step_state hpcrun_unw_step (hpcrun_unw_cursor_t *c)
 

Enumeration Type Documentation

◆ step_state

enum step_state
Enumerator
STEP_ERROR 
STEP_STOP 
STEP_OK 
STEP_TROLL 
STEP_STOP_WEAK 

Definition at line 124 of file unwind.h.

Function Documentation

◆ hpcrun_unw_get_ip_norm_reg()

int hpcrun_unw_get_ip_norm_reg ( hpcrun_unw_cursor_t c,
ip_normalized_t reg_value 
)

Definition at line 143 of file libunw-unwind.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_unw_get_ip_unnorm_reg()

int hpcrun_unw_get_ip_unnorm_reg ( hpcrun_unw_cursor_t c,
void **  reg_value 
)

Definition at line 136 of file libunw-unwind.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_unw_get_ra_loc()

void* hpcrun_unw_get_ra_loc ( hpcrun_unw_cursor_t c)

Definition at line 154 of file libunw-unwind.c.

Here is the caller graph for this function:

◆ hpcrun_unw_init()

void hpcrun_unw_init ( )

Definition at line 116 of file libunw-unwind.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_unw_init_cursor()

void hpcrun_unw_init_cursor ( hpcrun_unw_cursor_t cursor,
void *  context 
)

Definition at line 168 of file libunw-unwind.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_unw_step()

step_state hpcrun_unw_step ( hpcrun_unw_cursor_t c)

Definition at line 174 of file libunw-unwind.c.

Here is the call graph for this function:
Here is the caller graph for this function: