lntue
d87eea35fa
[libc] Move libc_errno.h to libc/src/__support and make LIBC_ERRNO_MODE_SYSTEM to be header-only. ( #143187 )
...
This is the first step in preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
2025-06-11 16:25:27 -04:00
Job Henandez Lara
46944b0cbc
[libc] remove errno.h includes ( #110934 )
2024-10-05 19:31:36 -04:00
Petr Hosek
5ff3ff33ff
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration ( #98597 )
...
This is a part of #97655 .
2024-07-12 09:28:41 -07:00
Mehdi Amini
ce9035f5bd
Revert "[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration" ( #98593 )
...
Reverts llvm/llvm-project#98075
bots are broken
2024-07-12 09:12:13 +02:00
Petr Hosek
3f30effe1b
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration ( #98075 )
...
This is a part of #97655 .
2024-07-11 12:35:22 -07:00
Guillaume Chatelet
b6bc9d72f6
[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
2023-09-26 11:45:04 +02:00
Noah Goldstein
6a185718d4
Support custom attributes in pthread_create
...
Only functional for stack growsdown (same as before), but custom
`stack`, `stacksize`, `guardsize`, and `detachstate` all should be
working.
Differential Revision: https://reviews.llvm.org/D148290
2023-05-22 15:54:19 -05:00
Siva Chandra Reddy
2e4ef9b6ef
[libc][NFC] Add a few compiler warning flags.
...
A bunch of cleanup to supress the new warnings is also done.
Reviewed By: abrachet
Differential Revision: https://reviews.llvm.org/D130723
2022-08-04 23:46:38 +00:00
Siva Chandra Reddy
f4580c6d5a
[libc][NFC] Remove the templatization from the linux implementation of thread.
...
This enables setting up a single "self" thread object to be returned by
API like thrd_self and pthread_self.
2022-06-24 08:22:53 +00:00
Siva Chandra Reddy
70c8d12b79
[libc] Add pthread_create and pthread_join functions.
...
They do not yet support all the feature/attributes in pthread_attr_t.
Future changes will add such support.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D126718
2022-06-02 01:47:24 +00:00