aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Driver/ObjCRuntime.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Driver/ObjCRuntime.h')
-rw-r--r--include/clang/Driver/ObjCRuntime.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/clang/Driver/ObjCRuntime.h b/include/clang/Driver/ObjCRuntime.h
index 241354f15e..5516460433 100644
--- a/include/clang/Driver/ObjCRuntime.h
+++ b/include/clang/Driver/ObjCRuntime.h
@@ -30,7 +30,14 @@ public:
/// True if the runtime supports ARC zeroing __weak.
unsigned HasWeak : 1;
- ObjCRuntime() : RuntimeKind(NeXT), HasARC(false), HasWeak(false) {}
+ /// True if the runtime provides the following entrypoint:
+ /// void objc_terminate(void);
+ /// If available, this will be called instead of abort() when an
+ /// exception is thrown out of an EH cleanup.
+ unsigned HasTerminate : 1;
+
+ ObjCRuntime() : RuntimeKind(NeXT), HasARC(false), HasWeak(false),
+ HasTerminate(false) {}
};
}