diff options
author | David Chisnall <dchisnall@pathscale.com> | 2013-01-12 03:45:17 +0000 |
---|---|---|
committer | David Chisnall <dchisnall@pathscale.com> | 2013-01-14 08:54:09 +0000 |
commit | 0a3f5337746f9457d004f5af395847e3a04acd31 (patch) | |
tree | b171c32ba6ce632d5ea71e7d46c1c9ba31f579d3 | |
parent | b9db3a010143160624f123763025ab544b69bd9a (diff) | |
download | libcxxrt-0a3f5337746f9457d004f5af395847e3a04acd31.tar.gz libcxxrt-0a3f5337746f9457d004f5af395847e3a04acd31.tar.bz2 libcxxrt-0a3f5337746f9457d004f5af395847e3a04acd31.tar.xz |
Fix the case where we rethrow an exception when none was caught.
-rw-r--r-- | src/exception.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exception.cc b/src/exception.cc index 0cb2535..4ccf38e 100644 --- a/src/exception.cc +++ b/src/exception.cc @@ -801,7 +801,7 @@ extern "C" void __cxa_decrement_exception_refcount(void* thrown_exception) */ extern "C" void __cxa_rethrow() { - __cxa_thread_info *ti = thread_info_fast(); + __cxa_thread_info *ti = thread_info(); __cxa_eh_globals *globals = &ti->globals; // Note: We don't remove this from the caught list here, because // __cxa_end_catch will be called when we unwind out of the try block. We |