summaryrefslogtreecommitdiffstats
path: root/libcxxabi/test/catch_const_pointer_nullptr.pass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [libcxxabi] When catching an exception of type nullptr_t with a handler ofRichard Smith2016-07-191-6/+12
| | | | | | | | | | | | | 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
* Suppress warnings about the operations currently under test.Eric Fiselier2016-06-151-0/+7
| | | | llvm-svn: 272819
* [libcxxabi] Introduce a -fno-exceptions libc++abi libary variantAsiri Rathnayake2016-05-311-0/+2
| | | | | | | | | | | | | | | | | Currently there is only support for a -fno-exceptions libc++ build. This is problematic for functions such as std::terminate() which are defined in libc++abi and using any of those functions throws away most of the benefits of using -fno-exceptions (code-size). This patch introduces a -fno-exceptions libc++abi build to address this issue. This new variant of libc++abi cannot be linked against any with-exceptions code as some symbols necessary for handling exceptions are missing in this library. Differential revision: http://reviews.llvm.org/D20677 Reviewers: EricWF, mclow.lists, bcraig llvm-svn: 271267
* Rename all of the tests in preparation for merging lit configs with libcxxJonathan Roelofs2015-01-211-0/+133
http://reviews.llvm.org/D7101 llvm-svn: 226691
OpenPOWER on IntegriCloud