mirror-llvm-project/libc/test/include
Jeff Bailey fe616e4d87
[libc] Implement alloca.h header (#210150)
Implemented the alloca.h header for LLVM libc.

* libc/include/llvm-libc-macros/alloca-macros.h: Defined alloca macro
using __builtin_alloca.
* libc/include/alloca.yaml: Added header specification.
* libc/include/CMakeLists.txt,
libc/include/llvm-libc-macros/CMakeLists.txt: Registered the new header
and macro targets.
* libc/config/linux/*/headers.txt: Enabled the header for Linux targets
(x86_64, aarch64, arm, i386, riscv).
* libc/test/include/alloca_test.cpp, libc/test/include/CMakeLists.txt:
Added and registered functional unit tests.

Tested by running the new unit and hermetic tests.

Assisted-by: Automated tooling, human reviewed.
2026-07-16 21:43:12 +01:00
..
sys
alloca_test.cpp [libc] Implement alloca.h header (#210150) 2026-07-16 21:43:12 +01:00
assert_test.cpp
CMakeLists.txt [libc] Implement alloca.h header (#210150) 2026-07-16 21:43:12 +01:00
complex_test.cpp [libc] Fix warnings for the GPU test suite (#181763) 2026-02-17 09:30:36 -06:00
fpclassify_test.c
fpclassify_test.cpp
fpclassifyf_test.cpp
fpclassifyl_test.cpp
FpClassifyTest.h
header-test-template.c
iscanonical_test.c
isfinite_test.c
isfinite_test.cpp
isfinitef_test.cpp
isfinitel_test.cpp
IsFiniteTest.h
isinf_test.c
isinf_test.cpp
isinff_test.cpp
isinfl_test.cpp
IsInfTest.h
isnan_test.c
isnan_test.cpp
isnanf_test.cpp
isnanl_test.cpp
IsNanTest.h
isnormal_test.c
isnormal_test.cpp
isnormalf_test.cpp
isnormall_test.cpp
IsNormalTest.h
issignaling_test.c
issubnormal_test.c
issubnormal_test.cpp
issubnormalf_test.cpp
issubnormall_test.cpp
IsSubnormalTest.h
iszero_test.c
iszero_test.cpp
iszerof_test.cpp
iszerol_test.cpp
IsZeroTest.h
math_constants_test.c
netinet_in_test.cpp [libc] Reimplement IN6_IS_ADDR_* macros using statement expressions (#209772) 2026-07-16 08:35:53 +02:00
sched_test.cpp [libc][sched] Fix generated scheduler prototypes (#195332) 2026-05-05 18:32:40 -07:00
signbit_test.c
signbit_test.cpp
signbitf_test.cpp
signbitl_test.cpp
SignbitTest.h
stdbit_stub.h
stdbit_test.c
stdbit_test.cpp
stdckdint_test.cpp
unistd_macros_test.cpp [libc] Define _POSIX_THREADS and support _SC_THREADS in sysconf (#201091) 2026-06-02 13:15:59 +00:00