Back to index

glibc  2.9
Defines | Functions
jmpbuf-unwind.h File Reference
#include <setjmp.h>
#include <stdint.h>
#include <unwind.h>

Go to the source code of this file.

Defines

#define _JMPBUF_UNWINDS(_jmpbuf, _address, _demangle)   ((void *) (_address) < (void *) (((long int *) _jmpbuf)[0]))
#define _JMPBUF_CFA_UNWINDS_ADJ(_jmpbuf, _context, _adj)
#define _JMPBUF_UNWINDS_ADJ(_jmpbuf, _address, _adj)   ((uintptr_t)(_address) - (_adj) < (uintptr_t)(((long *)_jmpbuf)[0]) - (_adj))

Functions

void __libc_unwind_longjmp (sigjmp_buf env, int val) __attribute__((noreturn))

Define Documentation

#define _JMPBUF_CFA_UNWINDS_ADJ (   _jmpbuf,
  _context,
  _adj 
)
Value:
({ uintptr_t _cfa = (uintptr_t) _Unwind_GetCFA (_context) - (_adj);   \
     (_cfa < (uintptr_t)(((long *)(_jmpbuf))[0]) - (_adj)             \
      || (_cfa == (uintptr_t)(((long *)(_jmpbuf))[0]) - (_adj)        \
         && (uintptr_t) _Unwind_GetBSP (_context) - (_adj)            \
            >= (uintptr_t)(((long *)(_jmpbuf))[17]) - (_adj)));       \
  })

Definition at line 29 of file jmpbuf-unwind.h.

#define _JMPBUF_UNWINDS (   _jmpbuf,
  _address,
  _demangle 
)    ((void *) (_address) < (void *) (((long int *) _jmpbuf)[0]))

Definition at line 26 of file jmpbuf-unwind.h.

#define _JMPBUF_UNWINDS_ADJ (   _jmpbuf,
  _address,
  _adj 
)    ((uintptr_t)(_address) - (_adj) < (uintptr_t)(((long *)_jmpbuf)[0]) - (_adj))

Definition at line 37 of file jmpbuf-unwind.h.


Function Documentation

void __libc_unwind_longjmp ( sigjmp_buf  env,
int  val 
)

Here is the caller graph for this function: