[CFI] Disable CFI checks for __cxa_decrement_exception_refcount
authorVlad Tsyrklevich <vlad@tsyrklevich.net>
Mon, 9 Apr 2018 22:11:28 +0000 (22:11 +0000)
committerVlad Tsyrklevich <vlad@tsyrklevich.net>
Mon, 9 Apr 2018 22:11:28 +0000 (22:11 +0000)
commitb89e9b5e2f3f844564bd6d3a4ca9972c206e9a4d
treea29b145e051a768bce7379b19fd2eae353f499a0
parent9a9c8233886d78c708d32272da9baee48882611e
[CFI] Disable CFI checks for __cxa_decrement_exception_refcount

Summary:
exception_header->exceptionDestructor is a void(*)(void*) function
pointer; however, it can point to destructors like std::
exception::~exception that don't match that type signature.

Reviewers: pcc, vitalybuka

Reviewed By: vitalybuka

Subscribers: kcc, christof, cfe-commits

Differential Revision: https://reviews.llvm.org/D45455

llvm-svn: 329629
libcxxabi/include/__cxxabi_config.h
libcxxabi/src/cxa_exception.cpp