summaryrefslogtreecommitdiff
path: root/runtime/GCCLibraries/crtend/Exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/GCCLibraries/crtend/Exception.h')
-rw-r--r--runtime/GCCLibraries/crtend/Exception.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/GCCLibraries/crtend/Exception.h b/runtime/GCCLibraries/crtend/Exception.h
index 4d886cd920..a348999174 100644
--- a/runtime/GCCLibraries/crtend/Exception.h
+++ b/runtime/GCCLibraries/crtend/Exception.h
@@ -31,6 +31,14 @@ struct llvm_exception {
// falls to zero, the exception is destroyed.
//
unsigned HandlerCount;
+
+ // isRethrown - This field is set on an exception if it has been 'throw;'n.
+ // This is needed because the exception might exit through a number of the
+ // end_catch statements matching the number of begin_catch statements that
+ // have been processed. When this happens, the exception should become
+ // uncaught, not dead.
+ //
+ int isRethrown;
};
enum {