[all-commits] [llvm/llvm-project] f5f3a5: [libcxx] [test] Disable some allocation checks in ...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Mon Mar 15 09:53:19 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5f3a59837f41a1225833c55e3d0ac39db663626
https://github.com/llvm/llvm-project/commit/f5f3a59837f41a1225833c55e3d0ac39db663626
Author: Martin Storsjö <martin at martin.st>
Date: 2021-03-15 (Mon, 15 Mar 2021)
Changed paths:
M libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp
M libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp
M libcxx/test/std/input.output/filesystems/class.path/path.member/path.concat.pass.cpp
M libcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/string_alloc.pass.cpp
M libcxx/test/support/test_macros.h
Log Message:
-----------
[libcxx] [test] Disable some allocation checks in class.path tests on windows
On windows, the path internal representation is wchar_t, and
input/output often goes through utf8 inbetween, which causes extra
allocations.
MS STL also fails a number of strict allocation checks, so this
shouldn't be a standards compliance issue.
Differential Revision: https://reviews.llvm.org/D98398
Commit: d07e5c23b40078dcae13f76b091c9e18763ae44a
https://github.com/llvm/llvm-project/commit/d07e5c23b40078dcae13f76b091c9e18763ae44a
Author: Martin Storsjö <martin at martin.st>
Date: 2021-03-15 (Mon, 15 Mar 2021)
Changed paths:
M libcxx/test/support/platform_support.h
Log Message:
-----------
[libcxx] [test] Fix the get_temp_file_name() function for mingw
Add the missing includes for getting the defines and functions used
in the mingw version of get_temp_file_name().
This fixes 31 tests when built in a mingw configuration.
Also remove a redundant ifdef; _WIN32 is defined in mingw targets too.
Differential Revision: https://reviews.llvm.org/D97456
Compare: https://github.com/llvm/llvm-project/compare/a4312686683a...d07e5c23b400
More information about the All-commits
mailing list