]> granicus.if.org Git - clang/commit
Call objc_terminate() instead of abort() when a cleanup throws an
authorJohn McCall <rjmccall@apple.com>
Wed, 6 Jul 2011 01:22:26 +0000 (01:22 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 6 Jul 2011 01:22:26 +0000 (01:22 +0000)
commit256a76e0b0e0c9e65a3122917d553ef10bc84d29
treeeed80264ac453d3e22cd9e9d1b364c41e1a12c5a
parentc06e0743431b28c96e0bbe27cc07851d2e0d2681
Call objc_terminate() instead of abort() when a cleanup throws an
exception in Objective-C;  in Objective-C++ we still use std::terminate().
This is only available in very recent runtimes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134456 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/CC1Options.td
include/clang/Driver/ObjCRuntime.h
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/CGException.cpp
lib/Driver/ToolChain.cpp
lib/Driver/ToolChains.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGenObjC/terminate.m [new file with mode: 0644]