[libcxx-commits] [libcxx] f244166 - [libc++] Handle armv7m in two architecture dependent tests
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Nov 24 13:40:52 PST 2021
Author: Louis Dionne
Date: 2021-11-24T16:40:26-05:00
New Revision: f244166c475dd3d2f9ea1be9979c1ab1a4a5ddcc
URL: https://github.com/llvm/llvm-project/commit/f244166c475dd3d2f9ea1be9979c1ab1a4a5ddcc
DIFF: https://github.com/llvm/llvm-project/commit/f244166c475dd3d2f9ea1be9979c1ab1a4a5ddcc.diff
LOG: [libc++] Handle armv7m in two architecture dependent tests
Added:
Modified:
libcxx/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp
libcxx/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp
Removed:
################################################################################
diff --git a/libcxx/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp b/libcxx/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp
index d8dd1ab9a559b..6c6b1d44cc8f1 100644
--- a/libcxx/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp
+++ b/libcxx/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp
@@ -17,7 +17,7 @@
# error "_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION should be defined on Apple platforms"
#endif
-#if defined(__x86_64__)
+#if defined(__x86_64__) || defined(__ARM_ARCH_7M__)
# if _LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION != 1
# error "_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION should be 1 (assume RTTI is merged) on Apple platforms"
# endif
diff --git a/libcxx/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp b/libcxx/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp
index 74ecac6316440..b35a50e0a5894 100644
--- a/libcxx/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp
+++ b/libcxx/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp
@@ -10,7 +10,7 @@
// UNSUPPORTED: libcpp-no-concepts
// The following platforms have sizeof(long double) == sizeof(double), so this test doesn't apply to them.
-// UNSUPPORTED: target={{arm64|armv8|armv7|powerpc|powerpc64}}-{{.+}}
+// UNSUPPORTED: target={{arm64|armv8|armv7|armv7m|powerpc|powerpc64}}-{{.+}}
// UNSUPPORTED: target=x86_64-pc-windows-{{.+}}
// <compare>
More information about the libcxx-commits
mailing list