|
Revision tags: llvmorg-21-init, llvmorg-19.1.7, 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 |
|
| #
301db3de |
| 02-Aug-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
[libc] add simplified tid cache (#101620)
According to discussions on monthly meeting, we probably don't want to
cache `getpid` anymore. glibc removes their cache. bionic is hesitating
whether suc
[libc] add simplified tid cache (#101620)
According to discussions on monthly meeting, we probably don't want to
cache `getpid` anymore. glibc removes their cache. bionic is hesitating
whether such cache is to be removed. `getpid` is async-signal-safe, so
we must make sure it always work.
However, for `gettid`, we have more freedom. Moreover, we are using
`gettid` to examine deadlock such that the performance penalty is not
negligible here. Thus, this patch is separated from previous patch to
provide only `tid` caching. It is much more simplified. Hopefully,
previous build issues can be resolved easily.
show more ...
|
| #
3db5c1ee |
| 28-Jul-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
revert all tid changes (#100915)
|
|
Revision tags: llvmorg-19.1.0-rc1, llvmorg-20-init |
|
| #
29be889c |
| 20-Jul-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
reland "[libc] implement cached process/thread identity (#98989)" (#99765)
|
| #
415ca24f |
| 18-Jul-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
Revert "[libc] implement cached process/thread identity" (#99559)
Reverts llvm/llvm-project#98989
|
| #
5c9fc3cd |
| 18-Jul-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
[libc] implement cached process/thread identity (#98989)
migrated from https://github.com/llvm/llvm-project/pull/95965 due to
corrupted git history
|
| #
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 |
|
| #
f0a3954e |
| 02-Aug-2023 |
Michael Jones <michaelrj@google.com> |
[libc][cleanup] Fix most conversion warnings
This patch is large, but is almost entirely just adding casts to calls to syscall_impl. Much of the work was done programatically, with human checking wh
[libc][cleanup] Fix most conversion warnings
This patch is large, but is almost entirely just adding casts to calls to syscall_impl. Much of the work was done programatically, with human checking when the syntax or types got confusing.
Reviewed By: mcgrathr
Differential Revision: https://reviews.llvm.org/D156950
show more ...
|
|
Revision tags: llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2 |
|
| #
5b22df99 |
| 17-Apr-2023 |
Mikhail R. Gadelha <mikhail@igalia.com> |
[libc][NFC] Standardize missing syscalls error messages.
This patch standardizes the error messages when a syscall is not available to be in the format: "ABC and DEF syscalls are not available."
Re
[libc][NFC] Standardize missing syscalls error messages.
This patch standardizes the error messages when a syscall is not available to be in the format: "ABC and DEF syscalls are not available."
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D148373
show more ...
|
|
Revision tags: llvmorg-16.0.1, llvmorg-16.0.0 |
|
| #
1990ce74 |
| 15-Mar-2023 |
Mikhail R. Gadelha <mikhail@igalia.com> |
[libc] Enable __llvm_libc_syscall and fork
This patch enables the remaining calls from unistd.
The test cases had to be updated to: 1. Use SYS_symlinkat if SYS_symlink is not available 2. Use SYS_r
[libc] Enable __llvm_libc_syscall and fork
This patch enables the remaining calls from unistd.
The test cases had to be updated to: 1. Use SYS_symlinkat if SYS_symlink is not available 2. Use SYS_readlinkat if SYS_readlink is not available 3. Use SYS_unlinkat if SYS_unlink is not available 4. Use SYS_openat if SYS_open is not available
We also abort compilation if neither of the syscalls mentioned above are available.
Differential Revision: https://reviews.llvm.org/D146161
show more ...
|
|
Revision tags: llvmorg-16.0.0-rc4 |
|
| #
803437db |
| 02-Mar-2023 |
Michael Jones <michaelrj@google.com> |
[libc][obvious] Fix errno includes in unistd
Minor typo swapped quotes for angle brackets. This patch moves everything to quotes.
Differential Revision: https://reviews.llvm.org/D145188
|
| #
204587a3 |
| 01-Mar-2023 |
Siva Chandra Reddy <sivachandra@google.com> |
[libc][NFC] Switch use of errno in src/unistd and src/sys to libc_errno.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D145096
|
|
Revision tags: llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5 |
|
| #
4d25761b |
| 11-Nov-2022 |
Michael Jones <michaelrj@google.com> |
[libc] move fork into threads folder
Fork, as a thread function, should go in the threads folder. Additionally, it depends on the thread mutex, and it was causing build issues for targets where we d
[libc] move fork into threads folder
Fork, as a thread function, should go in the threads folder. Additionally, it depends on the thread mutex, and it was causing build issues for targets where we don't support threads.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D137867
show more ...
|
|
Revision tags: llvmorg-15.0.4, llvmorg-15.0.3 |
|
| #
438e5918 |
| 07-Oct-2022 |
Siva Chandra Reddy <sivachandra@google.com> |
[libc] Add implementation of pthread_atfork.
Reviewed By: michaelrj
Differential Revision: https://reviews.llvm.org/D135432
|
|
Revision tags: working, llvmorg-15.0.2 |
|
| #
e3638e83 |
| 04-Oct-2022 |
Siva Chandra Reddy <sivachandra@google.com> |
[libc] Add a minimal implementation of the POSIX fork function.
A very simple and minimal implementation of fork is added. Future changes will add more functionality to satisfy POSIX and Linux requi
[libc] Add a minimal implementation of the POSIX fork function.
A very simple and minimal implementation of fork is added. Future changes will add more functionality to satisfy POSIX and Linux requirements.
An implementation of wait and a few support macros in sys/wait.h have also been added to help with testing the fork function.
Reviewed By: lntue, michaelrj
Differential Revision: https://reviews.llvm.org/D135131
show more ...
|