[cfe-dev] LibC++ v4.0 testing and exceptions

Martin J. O'Riordan via cfe-dev cfe-dev at lists.llvm.org
Tue Jan 31 10:04:14 PST 2017


Others are failing because of 'align_val_t' - it looks to be like these are
C++17 tests, but the tests are not being disabled when I use '-std=c++14'.
My target it cross-compiled and out-of-tree, so the CMake based
configuration for the tests is not useful.  Previously the tests
automatically excluded themselves based on the STDC++ version chosen, is
this intended for the current tests?

 

Thanks,

 

            MartinO

 

From: Martin J. O'Riordan [mailto:martin.oriordan at movidius.com] 
Sent: 31 January 2017 17:48
To: 'cfe-dev' <cfe-dev at lists.llvm.org>
Subject: LibC++ v4.0 testing and exceptions

 

I have started testing our LibC++ v4.0 implementation, and I am seeing a
very large number of tests failing because the test uses 'try' or some other
EH related feature.  However, my platform does not (and cannot) support
Exception Handling.  Previous releases used '_LIBCPP_NO_EXCEPTIONS' in the
tests to determine if the implementation supported EH or not, but this seems
not to be the case for the most recent v4.0 RC1 release.

 

At the moment this appears to be the cause of 309 regressions I am seeing.
Has LibC++ dropped support for platforms that do not support EH?

 

Thanks,

 

            MartinO

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170131/2e6ebacf/attachment.html>


More information about the cfe-dev mailing list