[all-commits] [llvm/llvm-project] 692584: [libc] Support configurable errno modes (#98287)
Petr Hosek via All-commits
all-commits at lists.llvm.org
Sat Jul 13 10:53:03 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 69258491d201bf6d96a8a9bac2ea80a1b14d9cd4
https://github.com/llvm/llvm-project/commit/69258491d201bf6d96a8a9bac2ea80a1b14d9cd4
Author: Petr Hosek <phosek at google.com>
Date: 2024-07-13 (Sat, 13 Jul 2024)
Changed paths:
M libc/config/baremetal/config.json
M libc/config/config.json
M libc/config/gpu/config.json
M libc/docs/configure.rst
M libc/include/errno.h.def
M libc/src/errno/CMakeLists.txt
A libc/src/errno/errno.h
M libc/src/errno/libc_errno.cpp
M libc/src/errno/libc_errno.h
Log Message:
-----------
[libc] Support configurable errno modes (#98287)
Rather than selecting the errno implementation based on the platform
which doesn't provide the necessary flexibility, make it configurable.
The errno value location is returned by `int *__llvm_libc_errno()` which
is a common design used by other C libraries.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list