[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_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 <type_traits>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// const_reference at(size_type pos) const;
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -12,6 +12,11 @@
|
|||
// void reserve();
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -16,6 +16,11 @@
|
|||
// size_type pos,
|
||||
// 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 <stdexcept>
|
||||
#include <algorithm>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// template <class T>
|
||||
// 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 <stdexcept>
|
||||
|
|
|
@ -12,6 +12,11 @@
|
|||
// append(const basic_string<charT,traits>& str, size_type pos, size_type n = npos);
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// template <class T>
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -12,6 +12,11 @@
|
|||
// assign(const basic_string<charT,traits>& str, size_type pos, size_type n=npos);
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
|
||||
// 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 <stdexcept>
|
||||
#include <algorithm>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// basic_string<charT,traits,Allocator>&
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -13,6 +13,11 @@
|
|||
//
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// basic_string<charT,traits,Allocator>&
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// basic_string<charT,traits,Allocator>&
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// basic_string<charT,traits,Allocator>&
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// basic_string<charT,traits,Allocator>&
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -13,6 +13,11 @@
|
|||
// size_type pos2, size_type n=npos);
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// basic_string<charT,traits,Allocator>&
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -14,6 +14,11 @@
|
|||
//
|
||||
// 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 <stdexcept>
|
||||
#include <algorithm>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// basic_string<charT,traits,Allocator>&
|
||||
// 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 <stdexcept>
|
||||
#include <algorithm>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// basic_string<charT,traits,Allocator>&
|
||||
// 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 <stdexcept>
|
||||
#include <algorithm>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// basic_string<charT,traits,Allocator>&
|
||||
// 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 <stdexcept>
|
||||
#include <algorithm>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// basic_string<charT,traits,Allocator>&
|
||||
// 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 <stdexcept>
|
||||
#include <algorithm>
|
||||
|
|
|
@ -13,6 +13,11 @@
|
|||
// size_type pos2, size_type n2=npos);
|
||||
// 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 <stdexcept>
|
||||
#include <algorithm>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// basic_string<charT,traits,Allocator>&
|
||||
// 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 <stdexcept>
|
||||
#include <algorithm>
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -12,6 +12,11 @@
|
|||
// size_type pos2, size_type n2=npos) const;
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
|
||||
// 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 <stdexcept>
|
||||
#include <cassert>
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
|
||||
// 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 <stdexcept>
|
||||
#include <algorithm>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// double stod(const string& 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 <cmath>
|
||||
#include <cassert>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// int stoi(const string& 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 <cassert>
|
||||
#include <stdexcept>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// long double stold(const string& 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 <string>
|
||||
|
|
|
@ -12,6 +12,11 @@
|
|||
// allocator:
|
||||
// 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 <cassert>
|
||||
|
||||
|
|
Loading…
Reference in New Issue