Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

eh_personality.cc File Reference

#include <bits/c++config.h>
#include <cstdlib>
#include "unwind-cxx.h"

Include dependency graph for eh_personality.cc:

Include dependency graph

Go to the source code of this file.

Compounds

struct  lsda_header_info

Defines

#define DW_EH_PE_absptr   0x00
#define DW_EH_PE_omit   0xff
#define DW_EH_PE_uleb128   0x01
#define DW_EH_PE_udata2   0x02
#define DW_EH_PE_udata4   0x03
#define DW_EH_PE_udata8   0x04
#define DW_EH_PE_sleb128   0x09
#define DW_EH_PE_sdata2   0x0A
#define DW_EH_PE_sdata4   0x0B
#define DW_EH_PE_sdata8   0x0C
#define DW_EH_PE_signed   0x08
#define DW_EH_PE_pcrel   0x10
#define DW_EH_PE_textrel   0x20
#define DW_EH_PE_datarel   0x30
#define DW_EH_PE_funcrel   0x40
#define PERSONALITY_FUNCTION   __gxx_personality_v0

Functions

unsigned int size_of_encoded_value (unsigned char encoding)
const unsigned char* read_encoded_value (_Unwind_Context *context, unsigned char encoding, const unsigned char *p, _Unwind_Ptr *val)
const unsigned char* read_uleb128 (const unsigned char *p, _Unwind_Ptr *val)
const unsigned char* read_sleb128 (const unsigned char *p, _Unwind_Ptr *val)
const unsigned char* parse_lsda_header (_Unwind_Context *context, const unsigned char *p, lsda_header_info *info)
const std::type_info* get_ttype_entry (_Unwind_Context *context, lsda_header_info *info, long i)
bool check_exception_spec (_Unwind_Context *context, lsda_header_info *info, const std::type_info *throw_type, long filter_value)
_Unwind_Reason_Code PERSONALITY_FUNCTION (int version, _Unwind_Action actions, _Unwind_Exception_Class exception_class, struct _Unwind_Exception *ue_header, struct _Unwind_Context *context)
void __cxa_call_unexpected (_Unwind_Exception *exc_obj)


Define Documentation

#define DW_EH_PE_absptr   0x00
 

Definition at line 42 of file eh_personality.cc.

#define DW_EH_PE_datarel   0x30
 

Definition at line 57 of file eh_personality.cc.

#define DW_EH_PE_funcrel   0x40
 

Definition at line 58 of file eh_personality.cc.

#define DW_EH_PE_omit   0xff
 

Definition at line 43 of file eh_personality.cc.

#define DW_EH_PE_pcrel   0x10
 

Definition at line 55 of file eh_personality.cc.

#define DW_EH_PE_sdata2   0x0A
 

Definition at line 50 of file eh_personality.cc.

#define DW_EH_PE_sdata4   0x0B
 

Definition at line 51 of file eh_personality.cc.

#define DW_EH_PE_sdata8   0x0C
 

Definition at line 52 of file eh_personality.cc.

#define DW_EH_PE_signed   0x08
 

Definition at line 53 of file eh_personality.cc.

#define DW_EH_PE_sleb128   0x09
 

Definition at line 49 of file eh_personality.cc.

#define DW_EH_PE_textrel   0x20
 

Definition at line 56 of file eh_personality.cc.

#define DW_EH_PE_udata2   0x02
 

Definition at line 46 of file eh_personality.cc.

#define DW_EH_PE_udata4   0x03
 

Definition at line 47 of file eh_personality.cc.

#define DW_EH_PE_udata8   0x04
 

Definition at line 48 of file eh_personality.cc.

#define DW_EH_PE_uleb128   0x01
 

Definition at line 45 of file eh_personality.cc.

#define PERSONALITY_FUNCTION   __gxx_personality_v0
 

Definition at line 296 of file eh_personality.cc.


Function Documentation

_Unwind_Reason_Code PERSONALITY_FUNCTION ( int version,
_Unwind_Action actions,
_Unwind_Exception_Class exception_class,
struct _Unwind_Exception * ue_header,
struct _Unwind_Context * context )
 

Definition at line 300 of file eh_personality.cc.

void __cxa_call_unexpected ( _Unwind_Exception * exc_obj )
 

Definition at line 559 of file eh_personality.cc.

bool check_exception_spec ( _Unwind_Context * context,
lsda_header_info * info,
const std::type_info * throw_type,
long filter_value ) [static]
 

Definition at line 265 of file eh_personality.cc.

Referenced by PERSONALITY_FUNCTION(), and __cxxabiv1::__cxa_call_unexpected().

const std::type_info* get_ttype_entry ( _Unwind_Context * context,
lsda_header_info * info,
long i ) [static]
 

Definition at line 254 of file eh_personality.cc.

Referenced by PERSONALITY_FUNCTION(), and check_exception_spec().

const unsigned char* parse_lsda_header ( _Unwind_Context * context,
const unsigned char * p,
lsda_header_info * info ) [static]
 

Definition at line 219 of file eh_personality.cc.

Referenced by PERSONALITY_FUNCTION(), and __cxxabiv1::__cxa_call_unexpected().

const unsigned char* read_encoded_value ( _Unwind_Context * context,
unsigned char encoding,
const unsigned char * p,
_Unwind_Ptr * val ) [static]
 

Definition at line 78 of file eh_personality.cc.

Referenced by PERSONALITY_FUNCTION(), get_ttype_entry(), parse_lsda_header(), read_sleb128(), and read_uleb128().

const unsigned char* read_sleb128 ( const unsigned char * p,
_Unwind_Ptr * val ) [inline, static]
 

Definition at line 202 of file eh_personality.cc.

Referenced by PERSONALITY_FUNCTION().

const unsigned char* read_uleb128 ( const unsigned char * p,
_Unwind_Ptr * val ) [inline, static]
 

Definition at line 196 of file eh_personality.cc.

Referenced by PERSONALITY_FUNCTION(), check_exception_spec(), and parse_lsda_header().

unsigned int size_of_encoded_value ( unsigned char encoding ) [static]
 

Definition at line 61 of file eh_personality.cc.

Referenced by get_ttype_entry().


Generated at Tue May 1 16:28:50 2001 for libstdc++-v3 by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001