[libcxx-commits] [PATCH] D124989: [libcxx] [test] Fix max_size.pass.cpp for other Windows architectures

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 5 00:20:37 PDT 2022


mstorsjo created this revision.
mstorsjo added reviewers: ldionne, Mordante.
Herald added subscribers: pengfei, kristof.beyls.
Herald added a project: All.
mstorsjo requested review of this revision.
Herald added a project: libc++.
Herald added a reviewer: libc++.

All current Windows architectures (i386, x86_64, arm, arm64) get
the full_size() behaviour here. x86_64 (the only one tested in CI
currently) is handled by the first ifdef at the top, but handle
Windows in general on all other architectures later.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124989

Files:
  libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp


Index: libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp
===================================================================
--- libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp
+++ libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp
@@ -80,6 +80,8 @@
 #   endif
 # elif defined(__powerpc__) || defined(__powerpc64__)
   half_size();
+# elif defined(_WIN32)
+  full_size();
 # else
 #   error "Your target system seems to be unsupported."
 # endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124989.427223.patch
Type: text/x-patch
Size: 519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220505/4e9f44c1/attachment.bin>


More information about the libcxx-commits mailing list