diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-11-02 23:41:51 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-11-02 23:41:51 +0000 |
commit | c320e4c36c06bc0019fc06eaf00eb064727cfcc0 (patch) | |
tree | 0e19e37ba3da6ba3ca9006cf02789390097d3199 /test/libcxxabi | |
parent | 8b9be6632eaacf36aa6f2f974d46a470403fcf68 (diff) |
[p0012] Implement ABI support for throwing a noexcept function pointer and
catching as non-noexcept
This implements the following proposal from cxx-abi-dev:
http://sourcerytools.com/pipermail/cxx-abi-dev/2016-October/002988.html
... which is necessary for complete support of http://wg21.link/p0012,
specifically throwing noexcept function and member function pointers and
catching them as non-noexcept pointers.
Differential Review: https://reviews.llvm.org/D26178
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@285867 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/libcxxabi')
-rw-r--r-- | test/libcxxabi/test/config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/libcxxabi/test/config.py b/test/libcxxabi/test/config.py index 3d5a235..7cb1e9b 100644 --- a/test/libcxxabi/test/config.py +++ b/test/libcxxabi/test/config.py @@ -37,6 +37,8 @@ class Configuration(LibcxxConfiguration): super(Configuration, self).configure_features() if not self.get_lit_bool('enable_exceptions', True): self.config.available_features.add('libcxxabi-no-exceptions') + if not self.cxx.addCompileFlagIfSupported(['-Xclang', '-mqualified-function-type-info']): + self.config.available_features.add("libcxxabi-no-qualified-function-types") def configure_compile_flags(self): self.cxx.compile_flags += ['-DLIBCXXABI_NO_TIMER'] |