mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 18:38:30 +08:00
[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 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@354940 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user