[libc++] Mark several tests as XFAIL on macosx10.7
Those tests fail when linking against a new dylib but running against macosx10.7. I believe this is caused by a duplicate definition of the RTTI for exception classes in libc++.dylib and libc++abi.dylib, but this matter still needs some investigation. This issue was not caught previously because all the tests always linked against the same dylib used for running (because LIT made it impossible to do otherwise before r349171). rdar://problem/46809586 llvm-svn: 354940
This commit is contained in:
parent
cf699b4534
commit
25838c6dac
|
@ -15,6 +15,10 @@
|
||||||
// void * do_allocate(size_t size, size_t align)
|
// void * do_allocate(size_t size, size_t align)
|
||||||
// void do_deallocate(void*, size_t, size_t)
|
// void do_deallocate(void*, size_t, size_t)
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <experimental/memory_resource>
|
#include <experimental/memory_resource>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// const_reference at(size_type pos) const;
|
// const_reference at(size_type pos) const;
|
||||||
// reference at(size_type pos);
|
// reference at(size_type pos);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -12,6 +12,11 @@
|
||||||
// void reserve();
|
// void reserve();
|
||||||
// void reserve(size_type res_arg);
|
// void reserve(size_type res_arg);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
|
|
||||||
// void resize(size_type n);
|
// void resize(size_type n);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
|
|
||||||
// void resize(size_type n, charT c);
|
// void resize(size_type n, charT c);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -16,6 +16,11 @@
|
||||||
// size_type pos,
|
// size_type pos,
|
||||||
// const Allocator& a = Allocator());
|
// const Allocator& a = Allocator());
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// template <class T>
|
// template <class T>
|
||||||
// basic_string& append(const T& t, size_type pos, size_type n=npos); // C++17
|
// basic_string& append(const T& t, size_type pos, size_type n=npos); // C++17
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
|
@ -12,6 +12,11 @@
|
||||||
// append(const basic_string<charT,traits>& str, size_type pos, size_type n = npos);
|
// append(const basic_string<charT,traits>& str, size_type pos, size_type n = npos);
|
||||||
// the "= npos" was added for C++14
|
// the "= npos" was added for C++14
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// template <class T>
|
// template <class T>
|
||||||
// basic_string& assign(const T& t, size_type pos, size_type n=npos); // C++17
|
// basic_string& assign(const T& t, size_type pos, size_type n=npos); // C++17
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -12,6 +12,11 @@
|
||||||
// assign(const basic_string<charT,traits>& str, size_type pos, size_type n=npos);
|
// assign(const basic_string<charT,traits>& str, size_type pos, size_type n=npos);
|
||||||
// the =npos was added for C++14
|
// the =npos was added for C++14
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
|
|
||||||
// size_type copy(charT* s, size_type n, size_type pos = 0) const;
|
// size_type copy(charT* s, size_type n, size_type pos = 0) const;
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// basic_string<charT,traits,Allocator>&
|
// basic_string<charT,traits,Allocator>&
|
||||||
// erase(size_type pos = 0, size_type n = npos);
|
// erase(size_type pos = 0, size_type n = npos);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -13,6 +13,11 @@
|
||||||
//
|
//
|
||||||
// Mostly we're testing string_view here
|
// Mostly we're testing string_view here
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// basic_string<charT,traits,Allocator>&
|
// basic_string<charT,traits,Allocator>&
|
||||||
// insert(size_type pos, const charT* s);
|
// insert(size_type pos, const charT* s);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// basic_string<charT,traits,Allocator>&
|
// basic_string<charT,traits,Allocator>&
|
||||||
// insert(size_type pos, const charT* s, size_type n);
|
// insert(size_type pos, const charT* s, size_type n);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// basic_string<charT,traits,Allocator>&
|
// basic_string<charT,traits,Allocator>&
|
||||||
// insert(size_type pos, size_type n, charT c);
|
// insert(size_type pos, size_type n, charT c);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// basic_string<charT,traits,Allocator>&
|
// basic_string<charT,traits,Allocator>&
|
||||||
// insert(size_type pos1, const basic_string& str);
|
// insert(size_type pos1, const basic_string& str);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -13,6 +13,11 @@
|
||||||
// size_type pos2, size_type n=npos);
|
// size_type pos2, size_type n=npos);
|
||||||
// the "=npos" was added in C++14
|
// the "=npos" was added in C++14
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// basic_string<charT,traits,Allocator>&
|
// basic_string<charT,traits,Allocator>&
|
||||||
// insert(size_type pos, string_view sv);
|
// insert(size_type pos, string_view sv);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -14,6 +14,11 @@
|
||||||
//
|
//
|
||||||
// Mostly we're testing string_view here
|
// Mostly we're testing string_view here
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// basic_string<charT,traits,Allocator>&
|
// basic_string<charT,traits,Allocator>&
|
||||||
// replace(size_type pos, size_type n1, const charT* s);
|
// replace(size_type pos, size_type n1, const charT* s);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// basic_string<charT,traits,Allocator>&
|
// basic_string<charT,traits,Allocator>&
|
||||||
// replace(size_type pos, size_type n1, const charT* s, size_type n2);
|
// replace(size_type pos, size_type n1, const charT* s, size_type n2);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// basic_string<charT,traits,Allocator>&
|
// basic_string<charT,traits,Allocator>&
|
||||||
// replace(size_type pos, size_type n1, size_type n2, charT c);
|
// replace(size_type pos, size_type n1, size_type n2, charT c);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// basic_string<charT,traits,Allocator>&
|
// basic_string<charT,traits,Allocator>&
|
||||||
// replace(size_type pos1, size_type n1, const basic_string<charT,traits,Allocator>& str);
|
// replace(size_type pos1, size_type n1, const basic_string<charT,traits,Allocator>& str);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -13,6 +13,11 @@
|
||||||
// size_type pos2, size_type n2=npos);
|
// size_type pos2, size_type n2=npos);
|
||||||
// the "=npos" was added in C++14
|
// the "=npos" was added in C++14
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// basic_string<charT,traits,Allocator>&
|
// basic_string<charT,traits,Allocator>&
|
||||||
// replace(size_type pos1, size_type n1, basic_string_view<charT,traits> sv);
|
// replace(size_type pos1, size_type n1, basic_string_view<charT,traits> sv);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
|
|
||||||
// int compare(size_type pos, size_type n1, const charT *s) const;
|
// int compare(size_type pos, size_type n1, const charT *s) const;
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
|
|
||||||
// int compare(size_type pos, size_type n1, const charT *s, size_type n2) const;
|
// int compare(size_type pos, size_type n1, const charT *s, size_type n2) const;
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
|
|
||||||
// int compare(size_type pos1, size_type n1, const basic_string& str) const;
|
// int compare(size_type pos1, size_type n1, const basic_string& str) const;
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -12,6 +12,11 @@
|
||||||
// size_type pos2, size_type n2=npos) const;
|
// size_type pos2, size_type n2=npos) const;
|
||||||
// the "=npos" was added in C++14
|
// the "=npos" was added in C++14
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
|
|
||||||
// int compare(size_type pos1, size_type n1, basic_string_vew sv) const;
|
// int compare(size_type pos1, size_type n1, basic_string_vew sv) const;
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
|
|
||||||
// basic_string substr(size_type pos = 0, size_type n = npos) const;
|
// basic_string substr(size_type pos = 0, size_type n = npos) const;
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// double stod(const string& str, size_t *idx = 0);
|
// double stod(const string& str, size_t *idx = 0);
|
||||||
// double stod(const wstring& str, size_t *idx = 0);
|
// double stod(const wstring& str, size_t *idx = 0);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// int stoi(const string& str, size_t *idx = 0, int base = 10);
|
// int stoi(const string& str, size_t *idx = 0, int base = 10);
|
||||||
// int stoi(const wstring& str, size_t *idx = 0, int base = 10);
|
// int stoi(const wstring& str, size_t *idx = 0, int base = 10);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
// long double stold(const string& str, size_t *idx = 0);
|
// long double stold(const string& str, size_t *idx = 0);
|
||||||
// long double stold(const wstring& str, size_t *idx = 0);
|
// long double stold(const wstring& str, size_t *idx = 0);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
|
@ -12,6 +12,11 @@
|
||||||
// allocator:
|
// allocator:
|
||||||
// pointer allocate(size_type n, allocator<void>::const_pointer hint=0);
|
// pointer allocate(size_type n, allocator<void>::const_pointer hint=0);
|
||||||
|
|
||||||
|
// When back-deploying to macosx10.7, the RTTI for exception classes
|
||||||
|
// incorrectly provided by libc++.dylib is mixed with the one in
|
||||||
|
// libc++abi.dylib and exceptions are not caught properly.
|
||||||
|
// XFAIL: with_system_cxx_lib=macosx10.7
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue