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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user