Revision tags: llvmorg-21-init, llvmorg-19.1.7 |
|
#
f9c2377f |
| 08-Jan-2025 |
Michael Jones <michaelrj@google.com> |
[libc][NFC] Cleanup time.h (#122027)
While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the
[libc][NFC] Cleanup time.h (#122027)
While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the time functions.
What's included: All uses of <time.h> in /src and /test removed (except for LibcTest.cpp) The various time constants have been moved to time_constants.h, and the `time_constants` namespace. struct tm gets its own type indirection header now.
show more ...
|
Revision tags: llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, 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 |
|
#
6d53fdea |
| 20-Oct-2023 |
lntue <35648136+lntue@users.noreply.github.com> |
[libc][NFC] Attempt to deflake gettimeofday_test. (#69719)
Only check if gettimeofday call succeeds.
|
#
ec10c36b |
| 19-Oct-2023 |
lntue <35648136+lntue@users.noreply.github.com> |
[libc][NFC] Forcing data type in gettimeofday_test when comparing the diff. (#69652)
|
Revision tags: 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 |
|
#
10fb71bd |
| 06-Sep-2023 |
Mikhail R. Gadelha <mikhail@igalia.com> |
[libc] Fix test passing negative value in timespec passed to nanosleep (#65346)
This test was setting tv_nsec to a negative value, which as per the
standard this is an EINVAL:
The value in the t
[libc] Fix test passing negative value in timespec passed to nanosleep (#65346)
This test was setting tv_nsec to a negative value, which as per the
standard this is an EINVAL:
The value in the tv_nsec field was not in the range [0, 999999999] or
tv_sec was negative.
https://man7.org/linux/man-pages/man2/nanosleep.2.html
show more ...
|
Revision tags: llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4 |
|
#
4f1fe19d |
| 15-May-2023 |
Siva Chandra Reddy <sivachandra@google.com> |
[libc] Make ErrnoSetterMatcher handle logging floating point values.
Along the way, couple of additional things have been done:
1. Move `ErrnoSetterMatcher.h` to `test/UnitTest` as all other matche
[libc] Make ErrnoSetterMatcher handle logging floating point values.
Along the way, couple of additional things have been done:
1. Move `ErrnoSetterMatcher.h` to `test/UnitTest` as all other matchers live there now. 2. `ErrnoSetterMatcher` ignores matching `errno` on GPUs.
Reviewed By: jhuber6
Differential Revision: https://reviews.llvm.org/D151129
show more ...
|
Revision tags: llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4 |
|
#
b98c1906 |
| 02-Mar-2023 |
Raman Tenneti <rtenneti@google.com> |
[libc][NFC] Switch use of errno in src/time and test/src/time to libc_errno.
Switch use of errno in src/time and test/src/time to libc_errno.
Reviewed By: sivachandra
Differential Revision: https:
[libc][NFC] Switch use of errno in src/time and test/src/time to libc_errno.
Switch use of errno in src/time and test/src/time to libc_errno.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D145192
show more ...
|
Revision tags: 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 |
|
#
dbd31935 |
| 15-Nov-2022 |
Raman Tenneti <rtenneti@google.com> |
[libc] cleanup changes to gettimeofday.
+ Deleted duplicate definitions of StructTimeVal and StructTimeValPtr. + Caled syscall clock_gettime to get timespec data. + Added tests to test for sleeping
[libc] cleanup changes to gettimeofday.
+ Deleted duplicate definitions of StructTimeVal and StructTimeValPtr. + Caled syscall clock_gettime to get timespec data. + Added tests to test for sleeping 200 and 1000 microseconds. + Fixed comments from https://reviews.llvm.org/D137881
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D138064
show more ...
|
#
78f172e4 |
| 12-Nov-2022 |
Raman Tenneti <rtenneti@google.com> |
[libc] Implement gettimeofday
Implement gettimeofday per .../onlinepubs/9699919799/functions/gettimeofday.html. This call clock_gettime to implement gettimeofday function.
Tested: Limited unit test
[libc] Implement gettimeofday
Implement gettimeofday per .../onlinepubs/9699919799/functions/gettimeofday.html. This call clock_gettime to implement gettimeofday function.
Tested: Limited unit test: This makes a call and checks that no error was returned. Used nanosleep for 100 microseconds and verfified it returns a value that elapses more than 100 microseconds and less than 300 microseconds.
Co-authored-by: Jeff Bailey <jeffbailey@google.com>
Differential Revision: https://reviews.llvm.org/D137881
show more ...
|