summaryrefslogtreecommitdiff
path: root/test/incomplete_type.sh.cpp
AgeCommit message (Collapse)Author
2017-07-06Fix incomplete type test on OS X; workaround weird DYLD_LIBRARY_PATH behaviorEric Fiselier
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@307230 91177308-0d34-0410-b5e6-96231b3b80d8
2017-06-22Add some catch(...) blocks to the tests so that if they fail, we get a good ↵Marshall Clow
error message. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@305977 91177308-0d34-0410-b5e6-96231b3b80d8
2017-05-10Fix use of removed SH test replacement %execEric Fiselier
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@302629 91177308-0d34-0410-b5e6-96231b3b80d8
2016-07-19[libcxxabi] When catching an exception of type nullptr_t with a handler ofRichard Smith
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. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@276016 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-31[libcxxabi] Introduce a -fno-exceptions libc++abi libary variantAsiri Rathnayake
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 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@271267 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-20Fix link flags order in RUN command.Eric Fiselier
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@258277 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-19Recommit r256322: Fix PR25898 - Check for incomplete pointers types in ↵Eric Fiselier
can_catch(...) This patch re-commits r256322 and r256323. They were reverted due to a OS X test failure. The test failure has been fixed by libc++ commit r258217. This patch also adds some additional tests. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@258249 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-15Revert r256322 (and follow-up 256323), the test it added does not pass on OS X.Nico Weber
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@257896 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-23Add new tests for throwing incomplete pointer typesEric Fiselier
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@256323 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-23Fix PR25898 - Check for incomplete pointers types in can_catch(...)Eric Fiselier
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@256322 91177308-0d34-0410-b5e6-96231b3b80d8