[all-commits] [llvm/llvm-project] 21be7e: [libc] Implement BSD extensions in <err.h> (#199055)
Jeff Bailey via All-commits
all-commits at lists.llvm.org
Wed Jul 8 22:09:22 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 21be7ef4473615a774f7c26beeebba3161b72322
https://github.com/llvm/llvm-project/commit/21be7ef4473615a774f7c26beeebba3161b72322
Author: Jeff Bailey <jbailey at raspberryginger.com>
Date: 2026-07-09 (Thu, 09 Jul 2026)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/include/CMakeLists.txt
A libc/include/err.yaml
M libc/src/CMakeLists.txt
A libc/src/err/CMakeLists.txt
A libc/src/err/err.cpp
A libc/src/err/err.h
A libc/src/err/errx.cpp
A libc/src/err/errx.h
A libc/src/err/report.cpp
A libc/src/err/report.h
A libc/src/err/verr.cpp
A libc/src/err/verr.h
A libc/src/err/verrx.cpp
A libc/src/err/verrx.h
A libc/src/err/vwarn.cpp
A libc/src/err/vwarn.h
A libc/src/err/vwarnx.cpp
A libc/src/err/vwarnx.h
A libc/src/err/warn.cpp
A libc/src/err/warn.h
A libc/src/err/warnx.cpp
A libc/src/err/warnx.h
M libc/test/src/CMakeLists.txt
A libc/test/src/err/CMakeLists.txt
A libc/test/src/err/err_test.cpp
A libc/test/src/err/errx_test.cpp
A libc/test/src/err/verr_test.cpp
A libc/test/src/err/verrx_test.cpp
A libc/test/src/err/vwarn_test.cpp
A libc/test/src/err/vwarnx_test.cpp
A libc/test/src/err/warn_test.cpp
A libc/test/src/err/warnx_test.cpp
Log Message:
-----------
[libc] Implement BSD extensions in <err.h> (#199055)
Implemented the BSD-extension functions defined in <err.h>:
- err, errx, verr, verrx
- warn, warnx, vwarn, vwarnx
Added an internal reporting helper in src/__support/Err. The err family
functions call internal::exit directly to satisfy [[noreturn]]
requirements. Enabled these entrypoints for aarch64, riscv, and x86_64.
Assisted-by: Automated tooling, human reviewed.
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