[libc++] Handle armv7m in two architecture dependent tests
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 24 Nov 2021 21:38:55 +0000 (16:38 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Wed, 24 Nov 2021 21:40:26 +0000 (16:40 -0500)
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

index d8dd1ab9a559b3d24d04c79e7fe3521bd8c4538b..6c6b1d44cc8f183dc068b657f3a404a976088a4a 100644 (file)
@@ -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
index 74ecac6316440c406ad3baec661aace025e513d8..b35a50e0a5894c568d3fde203e1cffff3ee284c3 100644 (file)
@@ -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>