SSiva Chandra Reddy[libc] Add dirent.h functions opendir, readdir, closedir and dirfd.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc] Add dirent.h functions opendir, readdir, closedir and dirfd. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D130459 | 3 年前 | |
[libc] Add dirent.h functions opendir, readdir, closedir and dirfd. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D130459 | 3 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 | |
[libc] Add exit and atexit Often atexit is implemented using __cxa_atexit. I have not implemented __cxa_atexit here because it potentially requires more discussion. It is unique for llvm-libc (I think) that it is an exported symbol that wouldn’t be defined in any spec file because it doesn’t have a header. Implementing it will be trivial given what is here already, but I figured it would be more contentious so it can be implemented later. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D119512 | 4 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 | |
[libc][NFC] Add a static assert for futex size. | 4 年前 | |
[libc] Add the pthread_mutex_t type. Simple implementations of the functions pthread_mutex_init, pthread_mutex_destroy, pthread_mutex_lock and pthread_mutex_unlock have have also been added. Future patches will extend these functions to add features required by the POSIX specification. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D126235 | 4 年前 | |
[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 | 3 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 | |
[libc][NFC] Move thread platform data pointer to thread attributes. Along the way, added constexpr constructors to the Thread data structures. | 3 年前 | |
[libc] Add a class "Atomic" as a simple equivalent of std::atomic. Only the methods currently required by the libc have been added. Most of the existing uses of atomic operations have been switched over to this new class. A future change will clean up the rest of uses. This change now allows building mutex and condition variable code with a C++ compiler which does not have stdatomic.h, for example g++. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D120642 | 4 年前 | |
[libc] Add the implementation of the GNU extension function fopencookie. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124141 | 4 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 | |
[libc] Move type definitions to their own self contained header files. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117282 | 4 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 | |
[libc] Move type definitions to their own self contained header files. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117282 | 4 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 | |
[libc] Add dirent.h functions opendir, readdir, closedir and dirfd. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D130459 | 3 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 | |
[libc] Add POSIX close, fsync, open, read and write functions. They are implemented as simple syscall wrappers. The file creation macros have been put in a header file as a temporary solution until we have a cleaner approach to listing platform relevant macros. Reviewed By: abrachet Differential Revision: https://reviews.llvm.org/D118396 | 4 年前 | |
[libc][NFC] Add a platform independent thread support library. The idea is that, other parts of the libc which require thread/lock support will be able to use this platform independent setup. With this change, only the linux implementation of a mutex type has been moved to the new library. Because of this, there is some duplication between the new library and src/threads/linux. A follow up change will move all of src/threads/linux to the new library. The duplication should be eliminated with that move. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D120795 | 4 年前 | |
[libc] Add the implementation of the GNU extension function fopencookie. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124141 | 4 年前 | |
[libc] Move type definitions to their own self contained header files. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117282 | 4 年前 | |
[libc] Remove the remaining uses of stdatomic.h. New methods to the Atomic class have been added as required. Futex related types have been consolidated at a common place. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D120705 | 4 年前 | |
[libc] Add a definition of pthread_attr_t and its getters and setters. Not all attributes have been added to phtread_attr_t in this patch. They will be added gradually in future patches. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D123423 | 4 年前 | |
[libc] Add the pthread_mutex_t type. Simple implementations of the functions pthread_mutex_init, pthread_mutex_destroy, pthread_mutex_lock and pthread_mutex_unlock have have also been added. Future patches will extend these functions to add features required by the POSIX specification. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D126235 | 4 年前 | |
[libc] Add pthread_mutexattr_t type and its setters and getters. A simple implementation of the getters and setters has been added. More logic can be added to them in future as required. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D122969 | 4 年前 | |
[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 | 3 年前 | |
[libc] Move type definitions to their own self contained header files. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117282 | 4 年前 | |
[libc] Move type definitions to their own self contained header files. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117282 | 4 年前 | |
[libc] Add dirent.h functions opendir, readdir, closedir and dirfd. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D130459 | 3 年前 | |
[libc][NFC] Add 'struct_' prefix to type headers defining struct types. This allows header generator to generate type inclusion boiler plate in a straightforward manner. | 4 年前 | |
[libc][NFC] Add 'struct_' prefix to type headers defining struct types. This allows header generator to generate type inclusion boiler plate in a straightforward manner. | 4 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 | |
[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 | 3 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 |