aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/go-defer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/go-defer.h')
-rw-r--r--libgo/runtime/go-defer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgo/runtime/go-defer.h b/libgo/runtime/go-defer.h
index 0b20e8f6e78..3298ce95059 100644
--- a/libgo/runtime/go-defer.h
+++ b/libgo/runtime/go-defer.h
@@ -34,4 +34,10 @@ struct __go_defer_stack
set by __go_set_defer_retaddr which is called by the thunks
created by defer statements. */
const void *__retaddr;
+
+ /* Set to true if a function created by reflect.MakeFunc is
+ permitted to recover. The return address of such a function
+ function will be somewhere in libffi, so __retaddr is not
+ useful. */
+ _Bool __makefunc_can_recover;
};