#
5ff3ff33 |
| 12-Jul-2024 |
Petr Hosek <phosek@google.com> |
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)
This is a part of #97655.
|
#
ce9035f5 |
| 12-Jul-2024 |
Mehdi Amini <joker.eph@gmail.com> |
Revert "[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration" (#98593)
Reverts llvm/llvm-project#98075
bots are broken
|
#
3f30effe |
| 11-Jul-2024 |
Petr Hosek <phosek@google.com> |
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98075)
This is a part of #97655.
|
Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2 |
|
#
b6bc9d72 |
| 26-Sep-2023 |
Guillaume Chatelet <gchatelet@google.com> |
[libc] Mass replace enclosing namespace (#67032)
This is step 4 of
https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079
|
Revision tags: llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init |
|
#
9902fc8d |
| 14-Jun-2023 |
Guillaume Chatelet <gchatelet@google.com> |
[libc] Enable custom logging in LibcTest
This patch mimics the behavior of Google Test and allow users to log custom messages after all flavors of ASSERT_ / EXPECT_.
Reviewed By: sivachandra, lntue
[libc] Enable custom logging in LibcTest
This patch mimics the behavior of Google Test and allow users to log custom messages after all flavors of ASSERT_ / EXPECT_.
Reviewed By: sivachandra, lntue
Differential Revision: https://reviews.llvm.org/D152630
show more ...
|
#
bdb07c98 |
| 14-Jun-2023 |
Guillaume Chatelet <gchatelet@google.com> |
Revert D152630 "[libc] Enable custom logging in LibcTest"
Failing buildbot https://lab.llvm.org/buildbot/#/builders/73/builds/49707 This reverts commit 9a7b4c934893d6bc571e1ce8efab2127ae5f4e45.
|
#
9a7b4c93 |
| 14-Jun-2023 |
Guillaume Chatelet <gchatelet@google.com> |
[libc] Enable custom logging in LibcTest
This patch mimics the behavior of Google Test and allow users to log custom messages after all flavors of ASSERT_ / EXPECT_.
Reviewed By: sivachandra, lntue
[libc] Enable custom logging in LibcTest
This patch mimics the behavior of Google Test and allow users to log custom messages after all flavors of ASSERT_ / EXPECT_.
Reviewed By: sivachandra, lntue
Differential Revision: https://reviews.llvm.org/D152630
show more ...
|
Revision tags: llvmorg-16.0.6, llvmorg-16.0.5 |
|
#
298843cd |
| 25-May-2023 |
Guillaume Chatelet <gchatelet@google.com> |
[libc][test] Drastically reduce mem test runtime
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D151450
|
Revision tags: llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1 |
|
#
4e298c32 |
| 18-Mar-2023 |
Roland McGrath <mcgrathr@google.com> |
[libc] Make string tests compatible with the Fuchsia build
Some test code was doing loose conversions caught by compiler warnings in the Fuchsia build. This included duplicated code in a few tests
[libc] Make string tests compatible with the Fuchsia build
Some test code was doing loose conversions caught by compiler warnings in the Fuchsia build. This included duplicated code in a few tests that was reconsolidated with the existing header file copy of the same functions.
The MemoryMatcher abstraction presumes gtest-style matcher support, which is not available in Fuchsia's zxtest library. It's avoided in favor of simpler memory-comparing assertions.
Reviewed By: abrachet
Differential Revision: https://reviews.llvm.org/D146343
show more ...
|
Revision tags: llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2 |
|
#
af1315c2 |
| 06-Feb-2023 |
Siva Chandra Reddy <sivachandra@google.com> |
[libc][NFC] Move UnitTest and IntegrationTest to the 'test' directory.
This part of the effort to make all test related pieces into the `test` directory. This helps is excluding test related pieces
[libc][NFC] Move UnitTest and IntegrationTest to the 'test' directory.
This part of the effort to make all test related pieces into the `test` directory. This helps is excluding test related pieces in a straight forward manner if LLVM_INCLUDE_TESTS is OFF. Future patches will also move the MPFR wrapper and testutils into the 'test' directory.
show more ...
|
Revision tags: llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4 |
|
#
3635195e |
| 27-Oct-2022 |
Guillaume Chatelet <gchatelet@google.com> |
[libc] Improve testing of mem functions
This patch extracts the testing logic from `op_tests.cpp` into `memory_check_utils.h` so we can reuse it for mem* function integration tests.
This makes test
[libc] Improve testing of mem functions
This patch extracts the testing logic from `op_tests.cpp` into `memory_check_utils.h` so we can reuse it for mem* function integration tests.
This makes testing consistent and thorough. For instance this catches a bug that got unnoticed during submission of D136595 and D135134. Integration test for memcmp was only testing a single size.
This also leverages ASAN to make sure that data is not read / written outside permitted boundaries
Differential Revision: https://reviews.llvm.org/D136865
show more ...
|
#
2e3b8b31 |
| 18-Oct-2022 |
Guillaume Chatelet <gchatelet@google.com> |
[libc][NFC] Use ASSERT instead of EXPECT in tests
|
Revision tags: llvmorg-15.0.3 |
|
#
d8415b02 |
| 14-Oct-2022 |
Sterling Augustine <saugustine@google.com> |
Revert "[libc] New version of the mem* framework"
This reverts commit https://reviews.llvm.org/D135134 (b3f1d58a131eb546aaf1ac165c77ccb89c40d758)
That revision appears to have broken Arm memcpy in
Revert "[libc] New version of the mem* framework"
This reverts commit https://reviews.llvm.org/D135134 (b3f1d58a131eb546aaf1ac165c77ccb89c40d758)
That revision appears to have broken Arm memcpy in some subtle ways. Am communicating with the original author to get a good reproduction.
show more ...
|
#
b3f1d58a |
| 14-Oct-2022 |
Guillaume Chatelet <gchatelet@google.com> |
[libc] New version of the mem* framework
This version is more composable and also simpler at the expense of being more explicit and more verbose. It also provides minimal implementations for ARM
[libc] New version of the mem* framework
This version is more composable and also simpler at the expense of being more explicit and more verbose. It also provides minimal implementations for ARM platforms.
Codegen can be checked here https://godbolt.org/z/chf1Y6eGM
Differential Revision: https://reviews.llvm.org/D135134
show more ...
|
#
6d252a48 |
| 14-Oct-2022 |
Guillaume Chatelet <gchatelet@google.com> |
Revert "[libc] New version of the mem* framework"
This reverts commit 9721687835a7df5da0c9482cf684c11b8ba97f75.
|
#
97216878 |
| 14-Oct-2022 |
Guillaume Chatelet <gchatelet@google.com> |
[libc] New version of the mem* framework
This version is more composable and also simpler at the expense of being more explicit and more verbose. It also provides minimal implementations for ARM pla
[libc] New version of the mem* framework
This version is more composable and also simpler at the expense of being more explicit and more verbose. It also provides minimal implementations for ARM platforms.
Codegen can be checked here https://godbolt.org/z/x19zvE59v
Differential Revision: https://reviews.llvm.org/D135134
show more ...
|
#
4fed4b09 |
| 14-Oct-2022 |
Guillaume Chatelet <gchatelet@google.com> |
Revert "[libc] New version of the mem* framework"
This reverts commit 98bf836f3127a346a81da5ae3e27246935298de4.
|
#
98bf836f |
| 13-Oct-2022 |
Guillaume Chatelet <gchatelet@google.com> |
[libc] New version of the mem* framework
This version is more composable and also simpler at the expense of being more explicit and more verbose. It also provides minimal implementations for ARM pla
[libc] New version of the mem* framework
This version is more composable and also simpler at the expense of being more explicit and more verbose. It also provides minimal implementations for ARM platforms.
Codegen can be checked here https://godbolt.org/z/x19zvE59v
Differential Revision: https://reviews.llvm.org/D135134
show more ...
|
#
9d1f6466 |
| 13-Oct-2022 |
Guillaume Chatelet <gchatelet@google.com> |
Revert "[libc] New version of the mem* framework"
This reverts commit d55f2d8ab076298cfd745c05c1b4dfd5583f8b9e.
|
#
d55f2d8a |
| 13-Oct-2022 |
Guillaume Chatelet <gchatelet@google.com> |
[libc] New version of the mem* framework
This version is more composable and also simpler at the expense of being more explicit and more verbose. It also provides minimal implementations for ARM pla
[libc] New version of the mem* framework
This version is more composable and also simpler at the expense of being more explicit and more verbose. It also provides minimal implementations for ARM platforms.
Codegen can be checked here https://godbolt.org/z/x19zvE59v
Differential Revision: https://reviews.llvm.org/D135134
show more ...
|
#
e431731e |
| 12-Oct-2022 |
Guillaume Chatelet <gchatelet@google.com> |
Revert "[libc] New version of the mem* framework"
This reverts commit 4c19439d249256db720e323a446e39d05496732f.
|
Revision tags: working, llvmorg-15.0.2 |
|
#
4c19439d |
| 04-Oct-2022 |
Guillaume Chatelet <gchatelet@google.com> |
[libc] New version of the mem* framework
This version is more composable and also simpler at the expense of being more explicit and more verbose. This patch is not meant to be submitted but gives an
[libc] New version of the mem* framework
This version is more composable and also simpler at the expense of being more explicit and more verbose. This patch is not meant to be submitted but gives an idea of the change. Codegen can be checked in https://godbolt.org/z/6z1dEoWbs by removing the "static inline" before individual functions.
Unittests are coming.
Suggested review order: - utils - op_base - op_builtin - op_generic - op_x86 / op_aarch64 - *_implementations.h
Differential Revision: https://reviews.llvm.org/D135134
show more ...
|
Revision tags: llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3 |
|
#
22bc0fde |
| 22-Aug-2022 |
Guillaume Chatelet <gchatelet@google.com> |
[NFC][libc] Switch mem* tests from ArrayRef to span
|
Revision tags: llvmorg-15.0.0-rc2 |
|
#
d3d498fb |
| 01-Aug-2022 |
Guillaume Chatelet <gchatelet@google.com> |
Reland [libc][NFC] Use STL case for array
This is a reland of https://reviews.llvm.org/D130773
|
#
de00bd57 |
| 01-Aug-2022 |
Guillaume Chatelet <gchatelet@google.com> |
Revert "[libc][NFC] Use STL case for array"
This reverts commit 7add0e5fdc5c7cb6f59f60cd436bf161cf9f9eb7.
|