Page MenuHomePhabricator

[WIP][libc++][format] DO NOT REVIEW
Needs ReviewPublic

Authored by Mordante on Apr 28 2022, 8:37 AM.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Contains a new approach of std::format's parser and formatters. This
approach saves over 10KB of the binary size.

This patch is still work-in-progress. This review is to test the CI.

Diff Detail

Unit TestsFailed

TimeTest
27,640 mslibcxx CI AIX (32-bit) > ibm-libc++-shared-cfg-in.libcxx/utilities/format/format_string/format_string_std::std_format_spec_string_unicode.pass.cpp
Script: -- : 'COMPILED WITH'; /opt/IBM/openxlC/17.1.0/bin/ibm-clang++_r /scratch/powerllvm/cpap8009/llvm-project/libcxx-ci/libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_string_unicode.pass.cpp --target=powerpc-ibm-aix -nostdinc++ -D__LIBC_NO_CPP_MATH_OVERLOADS__ -I /scratch/powerllvm/cpap8009/llvm-project/libcxx-ci/build/aix/include/c++/v1 -I /scratch/powerllvm/cpap8009/llvm-project/libcxx-ci/libcxx/test/support -std=c++2b -Werror -Wall -Wextra -Wshadow -Wundef -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-noexcept-type -Wno-atomic-alignment -Wno-user-defined-literals -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_DISABLE_AVAILABILITY -fcoroutines-ts -Werror=thread-safety -Wuser-defined-warnings -nostdlib++ -L /scratch/powerllvm/cpap8009/llvm-project/libcxx-ci/build/aix/lib -lc++ -lc++abi -latomic -Wl,-bbigtoc -o /scratch/powerllvm/cpap8009/llvm-project/libcxx-ci/build/aix/test/libcxx/utilities/format/format.string/format.string.std/Output/std_format_spec_string_unicode.pass.cpp.dir/t.tmp.exe
1,200,250 mslibcxx CI AIX (32-bit) > ibm-libc++-shared-cfg-in.std/algorithms/alg_modifying_operations/alg_transform::ranges.transform.pass.cpp
Script: -- : 'COMPILED WITH'; /opt/IBM/openxlC/17.1.0/bin/ibm-clang++_r /scratch/powerllvm/cpap8009/llvm-project/libcxx-ci/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ranges.transform.pass.cpp --target=powerpc-ibm-aix -nostdinc++ -D__LIBC_NO_CPP_MATH_OVERLOADS__ -I /scratch/powerllvm/cpap8009/llvm-project/libcxx-ci/build/aix/include/c++/v1 -I /scratch/powerllvm/cpap8009/llvm-project/libcxx-ci/libcxx/test/support -std=c++2b -Werror -Wall -Wextra -Wshadow -Wundef -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-noexcept-type -Wno-atomic-alignment -Wno-user-defined-literals -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_DISABLE_AVAILABILITY -fcoroutines-ts -Werror=thread-safety -Wuser-defined-warnings -nostdlib++ -L /scratch/powerllvm/cpap8009/llvm-project/libcxx-ci/build/aix/lib -lc++ -lc++abi -latomic -Wl,-bbigtoc -o /scratch/powerllvm/cpap8009/llvm-project/libcxx-ci/build/aix/test/std/algorithms/alg.modifying.operations/alg.transform/Output/ranges.transform.pass.cpp.dir/t.tmp.exe
1,200,270 mslibcxx CI AIX (64-bit) > ibm-libc++-shared-cfg-in.std/algorithms/alg_modifying_operations/alg_transform::ranges.transform.pass.cpp
Script: -- : 'COMPILED WITH'; /opt/IBM/openxlC/17.1.0/bin/ibm-clang++_r /scratch/powerllvm/cpap8008/llvm-project/libcxx-ci/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ranges.transform.pass.cpp --target=powerpc64-ibm-aix -nostdinc++ -D__LIBC_NO_CPP_MATH_OVERLOADS__ -I /scratch/powerllvm/cpap8008/llvm-project/libcxx-ci/build/aix/include/c++/v1 -I /scratch/powerllvm/cpap8008/llvm-project/libcxx-ci/libcxx/test/support -std=c++2b -Werror -Wall -Wextra -Wshadow -Wundef -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-noexcept-type -Wno-atomic-alignment -Wno-user-defined-literals -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_DISABLE_AVAILABILITY -fcoroutines-ts -Werror=thread-safety -Wuser-defined-warnings -nostdlib++ -L /scratch/powerllvm/cpap8008/llvm-project/libcxx-ci/build/aix/lib -lc++ -lc++abi -latomic -Wl,-bbigtoc -o /scratch/powerllvm/cpap8008/llvm-project/libcxx-ci/build/aix/test/std/algorithms/alg.modifying.operations/alg.transform/Output/ranges.transform.pass.cpp.dir/t.tmp.exe
14,800 mslibcxx CI MinGW (DLL) > llvm-libc++-mingw-cfg-in.libcxx::clang_tidy.sh.cpp
Script: -- : 'RUN: at line 13'; clang-tidy --version
2,590 mslibcxx CI MinGW (DLL) > llvm-libc++-mingw-cfg-in.libcxx/utilities/format/format_string/format_string_std::std_format_spec_string_unicode.pass.cpp
Script: -- : 'COMPILED WITH'; C:/llvm-mingw/bin/x86_64-w64-mingw32-clang++.exe C:\ws\w32-1\llvm-project\libcxx-ci\libcxx\test\libcxx\utilities\format\format.string\format.string.std\std_format_spec_string_unicode.pass.cpp --target=x86_64-w64-windows-gnu -nostdinc++ -I C:/ws/w32-1/llvm-project/libcxx-ci/build/mingw-dll/include/c++/v1 -I C:/ws/w32-1/llvm-project/libcxx-ci/build/mingw-dll/include/c++/v1 -I C:/ws/w32-1/llvm-project/libcxx-ci/libcxx/test/support -std=c++2b -Werror -Wall -Wextra -Wshadow -Wundef -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-noexcept-type -Wno-atomic-alignment -Wno-user-defined-literals -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_DISABLE_AVAILABILITY -fcoroutines-ts -Werror=thread-safety -Wuser-defined-warnings -nostdlib++ -L C:/ws/w32-1/llvm-project/libcxx-ci/build/mingw-dll/lib -lc++ -o C:\ws\w32-1\llvm-project\libcxx-ci\build\mingw-dll\test\libcxx\utilities\format\format.string\format.string.std\Output\std_format_spec_string_unicode.pass.cpp.dir\t.tmp.exe
View Full Test Results (7 Failed)

Event Timeline

Mordante created this revision.Apr 28 2022, 8:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 28 2022, 8:37 AM
Herald added a subscriber: mgorny. · View Herald Transcript
Mordante requested review of this revision.Apr 28 2022, 8:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 28 2022, 8:37 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante updated this revision to Diff 425803.Apr 28 2022, 8:46 AM

Trigger CI.

Mordante updated this revision to Diff 425811.Apr 28 2022, 9:09 AM

Fixes linting issues.

Mordante updated this revision to Diff 425821.Apr 28 2022, 9:49 AM

Clang-tidy fixes.

Mordante updated this revision to Diff 425845.Apr 28 2022, 10:42 AM

More CI fixes.

Mordante updated this revision to Diff 426214.Apr 30 2022, 3:37 AM

Attempt to fix several CI issues.

Mordante updated this revision to Diff 426222.Apr 30 2022, 6:20 AM

Add some debug information.

Mordante updated this revision to Diff 426418.May 2 2022, 8:25 AM

More CI fixes.

Mordante updated this revision to Diff 426435.May 2 2022, 9:38 AM

Attempt more CI fixes.

Mordante updated this revision to Diff 426449.May 2 2022, 10:37 AM

Fixes copy-paste error.

Mordante updated this revision to Diff 427198.May 4 2022, 10:47 PM

Refactor and polish.

Mordante updated this revision to Diff 427205.May 4 2022, 11:19 PM

Fix CI error.