|
| 1 | +From 2e1e95d0cb01aa75d5ae06af459325afff6c0a78 Mon Sep 17 00:00:00 2001 |
| 2 | +From: =?UTF-8?q?Martin=20Storsj=C3=B6?= < [email protected]> |
| 3 | +Date: Fri, 23 May 2025 13:38:31 +0300 |
| 4 | +Subject: [PATCH 2/2] [libcxx] [test] Extend mingw target checks to cover the |
| 5 | + arm64ec architecture too |
| 6 | + |
| 7 | +--- |
| 8 | + .../new.delete/new.delete.array/sized_delete_array.pass.cpp | 1 + |
| 9 | + .../new.delete/new.delete.single/sized_delete.pass.cpp | 1 + |
| 10 | + 2 files changed, 2 insertions(+) |
| 11 | + |
| 12 | +diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp |
| 13 | +index dd0b1d60d28d..175cda39abc2 100644 |
| 14 | +--- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp |
| 15 | ++++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp |
| 16 | +@@ -19,6 +19,7 @@ |
| 17 | + // ADDITIONAL_COMPILE_FLAGS(target=i686-w64-windows-gnu): -fsized-deallocation |
| 18 | + // ADDITIONAL_COMPILE_FLAGS(target=aarch64-w64-windows-gnu): -fsized-deallocation |
| 19 | + // ADDITIONAL_COMPILE_FLAGS(target=armv7-w64-windows-gnu): -fsized-deallocation |
| 20 | ++// ADDITIONAL_COMPILE_FLAGS(target=arm64ec-w64-windows-gnu): -fsized-deallocation |
| 21 | + |
| 22 | + // Android clang-r536225 identifies as clang-19.0 but it predates the real |
| 23 | + // LLVM 19.0.0, so it also leaves sized deallocation off by default. |
| 24 | +diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp |
| 25 | +index 9469af1c78f3..29229650cc19 100644 |
| 26 | +--- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp |
| 27 | ++++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp |
| 28 | +@@ -19,6 +19,7 @@ |
| 29 | + // ADDITIONAL_COMPILE_FLAGS(target=i686-w64-windows-gnu): -fsized-deallocation |
| 30 | + // ADDITIONAL_COMPILE_FLAGS(target=aarch64-w64-windows-gnu): -fsized-deallocation |
| 31 | + // ADDITIONAL_COMPILE_FLAGS(target=armv7-w64-windows-gnu): -fsized-deallocation |
| 32 | ++// ADDITIONAL_COMPILE_FLAGS(target=arm64ec-w64-windows-gnu): -fsized-deallocation |
| 33 | + |
| 34 | + // Android clang-r536225 identifies as clang-19.0 but it predates the real |
| 35 | + // LLVM 19.0.0, so it also leaves sized deallocation off by default. |
| 36 | +-- |
| 37 | +2.43.0 |
| 38 | + |
0 commit comments