diff options
Diffstat (limited to 'gcc-4.8/libstdc++-v3/libsupc++/eh_throw.cc')
-rw-r--r-- | gcc-4.8/libstdc++-v3/libsupc++/eh_throw.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc-4.8/libstdc++-v3/libsupc++/eh_throw.cc b/gcc-4.8/libstdc++-v3/libsupc++/eh_throw.cc index a79a025af..1d6a2df50 100644 --- a/gcc-4.8/libstdc++-v3/libsupc++/eh_throw.cc +++ b/gcc-4.8/libstdc++-v3/libsupc++/eh_throw.cc @@ -62,6 +62,9 @@ __cxxabiv1::__cxa_throw (void *obj, std::type_info *tinfo, { PROBE2 (throw, obj, tinfo); + __cxa_eh_globals *globals = __cxa_get_globals (); + globals->uncaughtExceptions += 1; + // Definitely a primary. __cxa_refcounted_exception *header = __get_refcounted_exception_header_from_obj (obj); |