llvm-project/libcxxabi
Richard Smith 2f984cab4f [libcxxabi] When catching an exception of type nullptr_t with a handler of
pointer-to-member type, produce a null value of the right type.

This fixes a bug where throwing an exception of type nullptr_t and catching it
as a pointer-to-member would not guarantee to produce a null value in the catch
handler. The fix is pretty simple: we statically allocate a constant null
pointer-to-data-member representation and a constant null
pointer-to-member-function representation, and produce the address of the
relevant value as the adjusted pointer for the exception.

llvm-svn: 276016
2016-07-19 20:19:37 +00:00
..
cmake libc++abi: add a top level option for using CompilerRT 2016-07-15 00:49:42 +00:00
include libc++abi: build with -fvisibility=hidden 2016-05-26 02:12:20 +00:00
lib Add ability to set OPTIONS for compile 2013-09-09 23:53:08 +00:00
src [libcxxabi] When catching an exception of type nullptr_t with a handler of 2016-07-19 20:19:37 +00:00
test [libcxxabi] When catching an exception of type nullptr_t with a handler of 2016-07-19 20:19:37 +00:00
www Update to new lists.llvm.org 2015-08-05 04:01:26 +00:00
.arcconfig Fix arc config to use https 2016-07-18 02:05:52 +00:00
.gitignore .gitignore: ignore vim swap files 2015-12-04 02:15:02 +00:00
CMakeLists.txt libc++abi: add a top level option for using CompilerRT 2016-07-15 00:49:42 +00:00
CREDITS.TXT Adding ABI support for __cxa_throw_bad_array_new_length. 2014-09-11 17:26:43 +00:00
LICENSE.TXT Update copyright year to 2016. 2016-03-30 22:40:47 +00:00