Back to index

glibc  2.9
Defines | Functions | Variables
unwind-resume.c File Reference
#include <dlfcn.h>
#include <stdio.h>
#include <unwind.h>

Go to the source code of this file.


#define LIBGCC_S_SO   ""


static void init (void)
void _Unwind_Resume (struct _Unwind_Exception *exc)
_Unwind_Reason_Code __gcc_personality_v0 (int version, _Unwind_Action actions, _Unwind_Exception_Class exception_class, struct _Unwind_Exception *ue_header, struct _Unwind_Context *context)


static void(* libgcc_s_resume )(struct _Unwind_Exception *exc)
static _Unwind_Reason_Code(* libgcc_s_personality )(int, _Unwind_Action, _Unwind_Exception_Class, struct _Unwind_Exception *, struct _Unwind_Context *)

Define Documentation

#define LIBGCC_S_SO   ""

Definition at line 23 of file unwind-resume.c.

Function Documentation

_Unwind_Reason_Code __gcc_personality_v0 ( int  version,
_Unwind_Action  actions,
_Unwind_Exception_Class  exception_class,
struct _Unwind_Exception ue_header,
struct _Unwind_Context context 

Definition at line 61 of file unwind-resume.c.

  if (__builtin_expect (libgcc_s_personality == NULL, 0))
    init ();
  return libgcc_s_personality (version, actions, exception_class,
                            ue_header, context);
void _Unwind_Resume ( struct _Unwind_Exception exc)

Definition at line 53 of file unwind-resume.c.

Here is the call graph for this function:

static void init ( void  ) [static]

Definition at line 36 of file unwind-resume.c.

  void *resume, *personality;
  void *handle;

  handle = __libc_dlopen (LIBGCC_S_SO);

  if (handle == NULL
      || (resume = __libc_dlsym (handle, "_Unwind_Resume")) == NULL
      || (personality = __libc_dlsym (handle, "__gcc_personality_v0")) == NULL)
    __libc_fatal (" must be installed for pthread_cancel to work\n");

  libgcc_s_resume = resume;
  libgcc_s_personality = personality;

Here is the call graph for this function:

Variable Documentation

Definition at line 27 of file unwind-resume.c.

void(* libgcc_s_resume)(struct _Unwind_Exception *exc) [static]

Definition at line 25 of file unwind-resume.c.