diff options
Diffstat (limited to 'runtime/GCCLibraries/libexception/Exception.h')
-rw-r--r-- | runtime/GCCLibraries/libexception/Exception.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/GCCLibraries/libexception/Exception.h b/runtime/GCCLibraries/libexception/Exception.h index 4d886cd920..a348999174 100644 --- a/runtime/GCCLibraries/libexception/Exception.h +++ b/runtime/GCCLibraries/libexception/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 { |