Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
unwind_ia64.h File Reference
#include <inttypes.h>
Include dependency graph for unwind_ia64.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __unw_table_entry_struct
struct  __unw_info_struct

Defines

#define __UNW_VERSION   0x01
#define __UNW_OK   0x00
#define __UNW_INTERNAL_ERROR   0x01
#define __UNW_MALLOC_ERROR   0x02
#define __UNW_REALLOC_ERROR   0x03
#define __UNW_MMAP_ERROR   0x04
#define __UNW_SYSCALL_ERROR   0x05
#define __UNW_NULL_ERROR   0x06
#define __UNW_INV_ARG_ERROR   0x07
#define __UNW_INV_SIZE_ERROR   0x08
#define __UNW_INV_OP_ERROR   0x09
#define __UNW_INV_ALIGNMENT_ERROR   0x0a
#define __UNW_INV_VERSION_ERROR   0x0b
#define __UNW_NOT_FOUND_ERROR   0x0c
#define __UNW_IS_HEADER(x)   (!((x) & 0x80))
#define __UNW_IS_PROLOGUE_HEADER(x)
#define __UNW_IS_BODY_HEADER(x)
#define __UNW_IS_R1(x)   (0x00 == ((x) & 0xc0))
#define __UNW_IS_R2(x)   (0x40 == ((x) & 0xe0))
#define __UNW_IS_R3(x)   (0x60 == ((x) & 0xe0))
#define __UNW_IS_P1(x)   (0x80 == ((x) & 0xe0))
#define __UNW_IS_P2(x)   (0xa0 == ((x) & 0xf0))
#define __UNW_IS_P3(x)   (0xb0 == ((x) & 0xf8))
#define __UNW_IS_P4(x)   (0xb8 == ((x) & 0xff))
#define __UNW_IS_P5(x)   (0xb9 == ((x) & 0xff))
#define __UNW_IS_P6(x)   (0xc0 == ((x) & 0xe0))
#define __UNW_IS_P7(x)   (0xe0 == ((x) & 0xf0))
#define __UNW_IS_P8(x)   (0xf0 == ((x) & 0xff))
#define __UNW_IS_P9(x)   (0xf1 == ((x) & 0xff))
#define __UNW_IS_P10(x)   (0xff == ((x) & 0xff))
#define __UNW_IS_B1(x)   (0x80 == ((x) & 0xc0))
#define __UNW_IS_B2(x)   (0xc0 == ((x) & 0xe0))
#define __UNW_IS_B3(x)   (0xe0 == ((x) & 0xff))
#define __UNW_IS_B4(x)   (0xf0 == ((x) & 0xf7))
#define __UNW_IS_X1(x)   (0xf9 == ((x) & 0xff))
#define __UNW_IS_X2(x)   (0xfa == ((x) & 0xff))
#define __UNW_IS_X3(x)   (0xfb == ((x) & 0xff))
#define __UNW_IS_X4(x)   (0xfc == ((x) & 0xff))
#define __UNW_VER(x)   ((x) >> 48)
#define __UNW_FLAG_EHANDLER(x)   ((x) & 0x0000000100000000L)
#define __UNW_FLAG_UHANDLER(x)   ((x) & 0x0000000200000000L)
#define __UNW_LENGTH(x)   ((x) & 0x00000000ffffffffL)

Typedefs

typedef uint64_t __unw_addr_t
typedef uint64_t __unw_dbl_word_t
typedef uint32_t __unw_word_t
typedef int32_t __unw_error_t
typedef struct
__unw_table_entry_struct 
__unw_table_entry_t
typedef struct __unw_info_struct __unw_info_t

Functions

uint64_t __leb128_decode (char *, uint64_t, uint64_t *)
uint64_t __leb128_encode (char *, uint64_t, uint64_t)
__unw_error_t unwind_process (__unw_error_t(*)(char *, uint64_t, char *, uint64_t, void *), void *)
__unw_error_t unwind_dump2ascii (char *, uint64_t, char *, uint64_t, void *)

Define Documentation

#define __UNW_FLAG_EHANDLER (   x)    ((x) & 0x0000000100000000L)

Definition at line 130 of file unwind_ia64.h.

#define __UNW_FLAG_UHANDLER (   x)    ((x) & 0x0000000200000000L)

Definition at line 131 of file unwind_ia64.h.

#define __UNW_INTERNAL_ERROR   0x01

Definition at line 56 of file unwind_ia64.h.

#define __UNW_INV_ALIGNMENT_ERROR   0x0a

Definition at line 65 of file unwind_ia64.h.

#define __UNW_INV_ARG_ERROR   0x07

Definition at line 62 of file unwind_ia64.h.

#define __UNW_INV_OP_ERROR   0x09

Definition at line 64 of file unwind_ia64.h.

#define __UNW_INV_SIZE_ERROR   0x08

Definition at line 63 of file unwind_ia64.h.

#define __UNW_INV_VERSION_ERROR   0x0b

Definition at line 66 of file unwind_ia64.h.

#define __UNW_IS_B1 (   x)    (0x80 == ((x) & 0xc0))

Definition at line 119 of file unwind_ia64.h.

#define __UNW_IS_B2 (   x)    (0xc0 == ((x) & 0xe0))

Definition at line 120 of file unwind_ia64.h.

#define __UNW_IS_B3 (   x)    (0xe0 == ((x) & 0xff))

Definition at line 121 of file unwind_ia64.h.

#define __UNW_IS_B4 (   x)    (0xf0 == ((x) & 0xf7))

Definition at line 122 of file unwind_ia64.h.

#define __UNW_IS_BODY_HEADER (   x)
Value:
((0x20 == ((x) & 0xe0)) \
                                || (0x61 == (x)))

Definition at line 102 of file unwind_ia64.h.

#define __UNW_IS_HEADER (   x)    (!((x) & 0x80))

Definition at line 94 of file unwind_ia64.h.

#define __UNW_IS_P1 (   x)    (0x80 == ((x) & 0xe0))

Definition at line 109 of file unwind_ia64.h.

#define __UNW_IS_P10 (   x)    (0xff == ((x) & 0xff))

Definition at line 118 of file unwind_ia64.h.

#define __UNW_IS_P2 (   x)    (0xa0 == ((x) & 0xf0))

Definition at line 110 of file unwind_ia64.h.

#define __UNW_IS_P3 (   x)    (0xb0 == ((x) & 0xf8))

Definition at line 111 of file unwind_ia64.h.

#define __UNW_IS_P4 (   x)    (0xb8 == ((x) & 0xff))

Definition at line 112 of file unwind_ia64.h.

#define __UNW_IS_P5 (   x)    (0xb9 == ((x) & 0xff))

Definition at line 113 of file unwind_ia64.h.

#define __UNW_IS_P6 (   x)    (0xc0 == ((x) & 0xe0))

Definition at line 114 of file unwind_ia64.h.

#define __UNW_IS_P7 (   x)    (0xe0 == ((x) & 0xf0))

Definition at line 115 of file unwind_ia64.h.

#define __UNW_IS_P8 (   x)    (0xf0 == ((x) & 0xff))

Definition at line 116 of file unwind_ia64.h.

#define __UNW_IS_P9 (   x)    (0xf1 == ((x) & 0xff))

Definition at line 117 of file unwind_ia64.h.

#define __UNW_IS_PROLOGUE_HEADER (   x)
Value:
((0x00 == ((x) & 0xe0)) \
                                || (0x40 == ((x) & 0xf8)) \
                                || (0x60 == (x)))

Definition at line 97 of file unwind_ia64.h.

#define __UNW_IS_R1 (   x)    (0x00 == ((x) & 0xc0))

Definition at line 106 of file unwind_ia64.h.

#define __UNW_IS_R2 (   x)    (0x40 == ((x) & 0xe0))

Definition at line 107 of file unwind_ia64.h.

#define __UNW_IS_R3 (   x)    (0x60 == ((x) & 0xe0))

Definition at line 108 of file unwind_ia64.h.

#define __UNW_IS_X1 (   x)    (0xf9 == ((x) & 0xff))

Definition at line 123 of file unwind_ia64.h.

#define __UNW_IS_X2 (   x)    (0xfa == ((x) & 0xff))

Definition at line 124 of file unwind_ia64.h.

#define __UNW_IS_X3 (   x)    (0xfb == ((x) & 0xff))

Definition at line 125 of file unwind_ia64.h.

#define __UNW_IS_X4 (   x)    (0xfc == ((x) & 0xff))

Definition at line 126 of file unwind_ia64.h.

#define __UNW_LENGTH (   x)    ((x) & 0x00000000ffffffffL)

Definition at line 132 of file unwind_ia64.h.

#define __UNW_MALLOC_ERROR   0x02

Definition at line 57 of file unwind_ia64.h.

#define __UNW_MMAP_ERROR   0x04

Definition at line 59 of file unwind_ia64.h.

#define __UNW_NOT_FOUND_ERROR   0x0c

Definition at line 67 of file unwind_ia64.h.

#define __UNW_NULL_ERROR   0x06

Definition at line 61 of file unwind_ia64.h.

#define __UNW_OK   0x00

Definition at line 55 of file unwind_ia64.h.

#define __UNW_REALLOC_ERROR   0x03

Definition at line 58 of file unwind_ia64.h.

#define __UNW_SYSCALL_ERROR   0x05

Definition at line 60 of file unwind_ia64.h.

#define __UNW_VER (   x)    ((x) >> 48)

Definition at line 129 of file unwind_ia64.h.

#define __UNW_VERSION   0x01

Definition at line 52 of file unwind_ia64.h.


Typedef Documentation

typedef uint64_t __unw_addr_t

Definition at line 73 of file unwind_ia64.h.

typedef uint64_t __unw_dbl_word_t

Definition at line 75 of file unwind_ia64.h.

typedef int32_t __unw_error_t

Definition at line 77 of file unwind_ia64.h.

Definition at line 76 of file unwind_ia64.h.


Function Documentation

uint64_t __leb128_decode ( char *  ,
uint64_t  ,
uint64_t *   
)
uint64_t __leb128_encode ( char *  ,
uint64_t  ,
uint64_t   
)
__unw_error_t unwind_dump2ascii ( char *  ,
uint64_t  ,
char *  ,
uint64_t  ,
void *   
)

Referenced by Em_End_Unwind().

__unw_error_t unwind_process ( __unw_error_t(*)(char *, uint64_t, char *, uint64_t, void *)  ,
void *   
)

Referenced by Em_End_Unwind().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines