[all-commits] [llvm/llvm-project] 448eab: [libcxx] [test] Fix max_size.pass.cpp for other Wi...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu May 5 13:21:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 448eabd754852b6939ac5c54d8e71b6e3ff9b78a
      https://github.com/llvm/llvm-project/commit/448eabd754852b6939ac5c54d8e71b6e3ff9b78a
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-05-05 (Thu, 05 May 2022)

  Changed paths:
    M libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Fix max_size.pass.cpp for other Windows architectures

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.

Differential Revision: https://reviews.llvm.org/D124989


  Commit: aeb4907ed658ad5538f8cd569facae5beaab2940
      https://github.com/llvm/llvm-project/commit/aeb4907ed658ad5538f8cd569facae5beaab2940
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-05-05 (Thu, 05 May 2022)

  Changed paths:
    M libcxxabi/include/__cxxabi_config.h
    M libcxxabi/include/cxxabi.h
    M libcxxabi/src/cxa_exception.cpp
    M libcxxabi/src/cxa_exception.h

  Log Message:
  -----------
  [libcxxabi] Use the right calling convention for exception destructors on i386 Windows

On Windows on i386, C++ member functions use a different calling
convention (`__thiscall`) than the default one for regular functions
(`__cdecl`). (On Windows on architectures other than i386, both calling
convention attributes are no-ops.)

This matches how libstdc++ declares these types.

This fixes the std/thread/futures/futures.{shared,unique}_future/dtor.pass.cpp
tests on i386 mingw.

Differential Revision: https://reviews.llvm.org/D124990


  Commit: 9dfbccf052baa2b5f5658052a1ee3c96ff644b99
      https://github.com/llvm/llvm-project/commit/9dfbccf052baa2b5f5658052a1ee3c96ff644b99
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-05-05 (Thu, 05 May 2022)

  Changed paths:
    M libcxx/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp

  Log Message:
  -----------
  [libcxx] [test] Extend the UNSUPPORTED lines in strong_order_long_double.verify.cpp for non-x86_64 Windows

Differential Revision: https://reviews.llvm.org/D124992


  Commit: 07c96a3113b23df1a7b176f3c68ac6db27bc332a
      https://github.com/llvm/llvm-project/commit/07c96a3113b23df1a7b176f3c68ac6db27bc332a
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-05-05 (Thu, 05 May 2022)

  Changed paths:
    M libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Narrow down an XFAIL for clang-cl configurations

This test only fails on x86_64 clang-cl, not for i386.

(The root cause is still not explored, thus the FIXME is still
relevant.)

Differential Revision: https://reviews.llvm.org/D124994


Compare: https://github.com/llvm/llvm-project/compare/5140e0d219be...07c96a3113b2


More information about the All-commits mailing list