/cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.31/CxxUtils/src/exctrace/exctrace_collector.cxx File Reference

Generate stack trace backs from a caught exception --- collector module. More...

#include <dlfcn.h>
#include <execinfo.h>
#include <cstdio>
#include <typeinfo>

Classes

struct  CxxUtils::extrace_init

Namespaces

namespace  CxxUtils
 

Copy the elements of a sequence for which a predicate is true.


Typedefs

typedef void throwfn (void *, std::type_info *, void(*dest)(void *))

Functions

void __cxa_throw (void *thrown_exception, std::type_info *tinfo, void(*dest)(void *))

Variables

int exctrace_last_depth = 0
void * exctrace_last_trace [bt_depth]

Detailed Description

Generate stack trace backs from a caught exception --- collector module.

Author:
scott snyder <snyder@bnl.gov>
Date:
Oct, 2009 When preloaded, this module hooks into the __cxa_throw function used by the abi to throw exceptions so that it records stack back traces in static variables. These can later be accessed with CxxUtils::exctrace.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1