diff options
| author | Louis Dionne <ldionne@apple.com> | 2019-02-27 00:57:57 +0000 |
|---|---|---|
| committer | Louis Dionne <ldionne@apple.com> | 2019-02-27 00:57:57 +0000 |
| commit | 25838c6dacca8203b4478ac2c16e563b51c3708b (patch) | |
| tree | 567b029c88ce0f8677340c7618697b95de0f86e4 /libcxx/test/std/strings/basic.string/string.modifiers/string_append | |
| parent | cf699b4534e6e0285d1a6899b5237c5fd9100ab7 (diff) | |
| download | bcm5719-llvm-25838c6dacca8203b4478ac2c16e563b51c3708b.tar.gz bcm5719-llvm-25838c6dacca8203b4478ac2c16e563b51c3708b.zip | |
[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
Diffstat (limited to 'libcxx/test/std/strings/basic.string/string.modifiers/string_append')
2 files changed, 10 insertions, 0 deletions
diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/T_size_size.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/T_size_size.pass.cpp index 43752406362..a165d92fffc 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/T_size_size.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/T_size_size.pass.cpp @@ -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> diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp index 37985d00115..84bd37a320d 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp @@ -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> |

