| [libc] Reland #148948 "Implement barriers for pthreads" (#151021) Fixed build dependencies for pthread_barrier_t (add __barrier_type to cmake dependencies) | 11 个月前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc][NFC] Add stdint.h proxy header to fix dependency issue with <stdint.h> includes. (#150303) https://github.com/llvm/llvm-project/issues/149993 | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Reland #148948 "Implement barriers for pthreads" (#151021) Fixed build dependencies for pthread_barrier_t (add __barrier_type to cmake dependencies) | 11 个月前 |
| [libc] Reland #148948 "Implement barriers for pthreads" (#151021) Fixed build dependencies for pthread_barrier_t (add __barrier_type to cmake dependencies) | 11 个月前 |
| [libc] Reland #148948 "Implement barriers for pthreads" (#151021) Fixed build dependencies for pthread_barrier_t (add __barrier_type to cmake dependencies) | 11 个月前 |
| [libc] Reland #148948 "Implement barriers for pthreads" (#151021) Fixed build dependencies for pthread_barrier_t (add __barrier_type to cmake dependencies) | 11 个月前 |
| [libc] Reland #148948 "Implement barriers for pthreads" (#151021) Fixed build dependencies for pthread_barrier_t (add __barrier_type to cmake dependencies) | 11 个月前 |
| [libc] Reland #148948 "Implement barriers for pthreads" (#151021) Fixed build dependencies for pthread_barrier_t (add __barrier_type to cmake dependencies) | 11 个月前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [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. | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] remove errno.h includes (#110934) | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] remove errno.h includes (#110934) | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] remove errno.h includes (#110934) | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] remove errno.h includes (#110934) | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] remove errno.h includes (#110934) | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Refactor AUXV handling with new auxv.h header library (#162326) Closes https://github.com/llvm/llvm-project/issues/153666 This patch introduces a new centralized AUXV (auxiliary vector) handling mechanism for LLVM libc on Linux, replacing the previous scattered implementation across multiple files. ## Key Changes: ### New Files: - **libc/src/__support/OSUtil/linux/auxv.h**: New header library providing a clean interface for AUXV access with: - auxv::Entry struct for AUXV entries (type and value) - auxv::Vector class with iterator support for traversing AUXV - auxv::get() function for retrieving specific AUXV values - Thread-safe initialization with fallback mechanisms (prctl and /proc/self/auxv) ### Modified Files: 1. **libc/src/__support/OSUtil/linux/CMakeLists.txt**: - Added auxv header library declaration with proper dependencies: - libc.hdr.fcntl_macros - libc.src.__support.OSUtil.osutil - libc.src.__support.common - libc.src.__support.CPP.optional - libc.src.__support.threads.callonce 2. **libc/config/linux/app.h**: - Removed AuxEntry struct (moved to auxv.h as auxv::Entry) - Removed auxv_ptr from AppProperties struct - Simplified application properties structure 3. **libc/src/sys/auxv/linux/getauxval.cpp**: - Completely refactored to use new auxv.h interface - Removed ~200 lines of complex initialization code - Simplified to just call auxv::get() function - Removed dependencies to external symbols (mman, prctl, fcntl, read, close, open) 4. **libc/src/sys/auxv/linux/CMakeLists.txt**: - Updated dependencies to use new auxv header library - Removed dependencies to external symbols (prctl, mman, fcntl, unistd, etc.) 5. **libc/startup/linux/do_start.cpp**: - Updated to use new auxv::Vector interface - Changed from pointer-based to iterator-based AUXV traversal - Updated field names (aux_entry->id → aux_entry.type, aux_entry->value → aux_entry.val) - Added call to auxv::Vector::initialize_unsafe() for early AUXV setup 6. **libc/startup/linux/CMakeLists.txt**: - Added dependency on libc.src.__support.OSUtil.linux.auxv | 9 个月前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] add pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock … (#100543) | 1 年前 |
| [libc] add pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock … (#100543) | 1 年前 |
| [libc] add pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock … (#100543) | 1 年前 |
| [libc] add pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock … (#100543) | 1 年前 |
| [libc] remove errno.h includes (#110934) | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] remove errno.h includes (#110934) | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] remove errno.h includes (#110934) | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] remove errno.h includes (#110934) | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] remove errno.h includes (#110934) | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] remove errno.h includes (#110934) | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| | 1 年前 |
| [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. | 2 年前 |
| [libc] add spin lock family functions (#100509) This PR: - add entrypoints for pthread_spin_* - additionally, the fixes a typo that has been disabling lock related tests | 1 年前 |
| [libc] add spin lock family functions (#100509) This PR: - add entrypoints for pthread_spin_* - additionally, the fixes a typo that has been disabling lock related tests | 1 年前 |
| [libc] add spin lock family functions (#100509) This PR: - add entrypoints for pthread_spin_* - additionally, the fixes a typo that has been disabling lock related tests | 1 年前 |
| [libc] add spin lock family functions (#100509) This PR: - add entrypoints for pthread_spin_* - additionally, the fixes a typo that has been disabling lock related tests | 1 年前 |
| [libc] add spin lock family functions (#100509) This PR: - add entrypoints for pthread_spin_* - additionally, the fixes a typo that has been disabling lock related tests | 1 年前 |
| [libc] add spin lock family functions (#100509) This PR: - add entrypoints for pthread_spin_* - additionally, the fixes a typo that has been disabling lock related tests | 1 年前 |
| [libc] add spin lock family functions (#100509) This PR: - add entrypoints for pthread_spin_* - additionally, the fixes a typo that has been disabling lock related tests | 1 年前 |
| [libc] add spin lock family functions (#100509) This PR: - add entrypoints for pthread_spin_* - additionally, the fixes a typo that has been disabling lock related tests | 1 年前 |
| [libc] add spin lock family functions (#100509) This PR: - add entrypoints for pthread_spin_* - additionally, the fixes a typo that has been disabling lock related tests | 1 年前 |
| [libc] add spin lock family functions (#100509) This PR: - add entrypoints for pthread_spin_* - additionally, the fixes a typo that has been disabling lock related tests | 1 年前 |