Back to index

glibc  2.9
Functions | Variables
unwind-resume.c File Reference
#include <dlfcn.h>
#include <stdio.h>
#include <unwind.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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 *)

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 55 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 47 of file unwind-resume.c.

static void init ( void  ) [static]

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

  void *resume, *personality;
  void *handle;

  handle = __libc_dlopen ("");

  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 26 of file unwind-resume.c.

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

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