From 25838c6dacca8203b4478ac2c16e563b51c3708b Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Wed, 27 Feb 2019 00:57:57 +0000 Subject: [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 --- libcxx/test/std/strings/basic.string/string.access/at.pass.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libcxx/test/std/strings/basic.string/string.access/at.pass.cpp') diff --git a/libcxx/test/std/strings/basic.string/string.access/at.pass.cpp b/libcxx/test/std/strings/basic.string/string.access/at.pass.cpp index 514d1a894ce..2105a1504f4 100644 --- a/libcxx/test/std/strings/basic.string/string.access/at.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.access/at.pass.cpp @@ -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 #include #include -- cgit v1.2.3