Skip to content

Commit ec28b8f

Browse files
mstorsjotstellar
authored andcommitted
[libcxx] [test] Extend mingw workarounds for armv7/aarch64 too (#136419)
This would be more convenient, if ADDITIONAL_COMPILE_FLAGS(target=...) could be set with a regular expression, just like within e.g. XFAIL lines. (cherry picked from commit d6622df)
1 parent 8c2dc1b commit ec28b8f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
// ADDITIONAL_COMPILE_FLAGS(apple-clang-17): -fsized-deallocation
1818
// ADDITIONAL_COMPILE_FLAGS(target=x86_64-w64-windows-gnu): -fsized-deallocation
1919
// ADDITIONAL_COMPILE_FLAGS(target=i686-w64-windows-gnu): -fsized-deallocation
20+
// ADDITIONAL_COMPILE_FLAGS(target=aarch64-w64-windows-gnu): -fsized-deallocation
21+
// ADDITIONAL_COMPILE_FLAGS(target=armv7-w64-windows-gnu): -fsized-deallocation
2022

2123
// Android clang-r536225 identifies as clang-19.0 but it predates the real
2224
// LLVM 19.0.0, so it also leaves sized deallocation off by default.

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
// ADDITIONAL_COMPILE_FLAGS(apple-clang-17): -fsized-deallocation
1818
// ADDITIONAL_COMPILE_FLAGS(target=x86_64-w64-windows-gnu): -fsized-deallocation
1919
// ADDITIONAL_COMPILE_FLAGS(target=i686-w64-windows-gnu): -fsized-deallocation
20+
// ADDITIONAL_COMPILE_FLAGS(target=aarch64-w64-windows-gnu): -fsized-deallocation
21+
// ADDITIONAL_COMPILE_FLAGS(target=armv7-w64-windows-gnu): -fsized-deallocation
2022

2123
// Android clang-r536225 identifies as clang-19.0 but it predates the real
2224
// LLVM 19.0.0, so it also leaves sized deallocation off by default.

0 commit comments

Comments
 (0)