summaryrefslogtreecommitdiff
path: root/libc/test/src/string/strerror_test.cpp
AgeCommit message (Collapse)Author
2024-07-16[libc] Add `strerror` and `strerror_k` to the GPU (#99083)Joseph Huber
Summary: The GPU ignores `errno` primarily, but targets want these functions to be defined for certain C standard interfaces. This patch enables them and makes the test function on non-Linux targets.
2024-05-15[libc] Fix typo in test messageJoseph Huber
2024-05-15[libc] Fix GPU test build error (#92235)Jan Patrick Lehr
This fixes a build error on the AMDGPU buildbot introduced in PR https://github.com/llvm/llvm-project/pull/92172
2023-09-26[libc] Mass replace enclosing namespace (#67032)Guillaume Chatelet
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
2023-03-07[libc] Fix integer conversion error in testAlex Brachet
2023-02-07[libc][NFC] Move UnitTest and IntegrationTest to the 'test' directory.Siva Chandra Reddy
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.
2022-09-20[libc] add strerrorMichael Jones
Strerror maps error numbers to strings. Additionally, a utility for mapping errors to strings was added so that it could be reused for perror and similar. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D134074