Whole document tree
    

Whole document tree

eh_alloc.cc File Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

eh_alloc.cc File Reference

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

Include dependency graph for eh_alloc.cc:

Include dependency graph

Go to the source code of this file.

Defines

#define EMERGENCY_OBJ_SIZE   1024
#define EMERGENCY_OBJ_COUNT   64
#define EMERGENCY_OBJ_COUNT   4

Typedefs

typedef unsigned int bitmask_type
typedef char one_buffer[EMERGENCY_OBJ_SIZE] __attribute__ ((aligned))

Functions

void * __cxa_allocate_exception (std::size_t thrown_size)
void __cxa_free_exception (void *vptr)

Variables

one_buffer emergency_buffer [EMERGENCY_OBJ_COUNT]
bitmask_type emergency_used


Define Documentation

#define EMERGENCY_OBJ_COUNT   4
 

Definition at line 64 of file eh_alloc.cc.

#define EMERGENCY_OBJ_COUNT   64
 

Definition at line 64 of file eh_alloc.cc.

Referenced by __cxxabiv1::__cxa_allocate_exception().

#define EMERGENCY_OBJ_SIZE   1024
 

Definition at line 58 of file eh_alloc.cc.

Referenced by __cxxabiv1::__cxa_allocate_exception(), and __cxxabiv1::__cxa_free_exception().


Typedef Documentation

typedef char one_buffer [EMERGENCY_OBJ_SIZE] __attribute__((aligned))
 

Definition at line 74 of file eh_alloc.cc.

typedef unsigned int bitmask_type
 

Definition at line 68 of file eh_alloc.cc.

Referenced by __cxxabiv1::__cxa_allocate_exception().


Function Documentation

void* __cxa_allocate_exception std::size_t    thrown_size
 

Definition at line 97 of file eh_alloc.cc.

References bitmask_type, emergency_buffer, EMERGENCY_OBJ_COUNT, EMERGENCY_OBJ_SIZE, emergency_used, malloc(), and std::terminate().

void __cxa_free_exception void *    vptr
 

Definition at line 144 of file eh_alloc.cc.

References emergency_buffer, EMERGENCY_OBJ_SIZE, emergency_used, and free().

Referenced by __gxx_exception_cleanup().


Variable Documentation

one_buffer emergency_buffer[EMERGENCY_OBJ_COUNT] [static]
 

Definition at line 75 of file eh_alloc.cc.

Referenced by __cxxabiv1::__cxa_allocate_exception(), and __cxxabiv1::__cxa_free_exception().

bitmask_type emergency_used [static]
 

Definition at line 76 of file eh_alloc.cc.

Referenced by __cxxabiv1::__cxa_allocate_exception(), and __cxxabiv1::__cxa_free_exception().


Generated on Mon Apr 8 03:12:33 2002 for libstdc++-v3 Source by doxygen1.2.15