git: 9f50fc326cf2 - stable/14 - Adjust llvm-project main llvmorg-21-init-19288-gface93e724f4, part 3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 May 2026 23:04:18 UTC
The branch stable/14 has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=9f50fc326cf220a84629066a9336856ecc4f1af5
commit 9f50fc326cf220a84629066a9336856ecc4f1af5
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2025-12-09 14:04:07 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2026-05-29 22:59:35 +0000
Adjust llvm-project main llvmorg-21-init-19288-gface93e724f4, part 3
This adjusts the llvmorg-21-init-19288-gface93e724f4 import: add more
items to the libc/ top-level directory.
PR: 292067
MFC after: 1 month
(cherry picked from commit bb722a7d0f1642bff6487f943ad0427799a6e5bf)
---
contrib/llvm-project/libc/hdr/errno_macros.h | 28 +
contrib/llvm-project/libc/hdr/fcntl_macros.h | 22 +
contrib/llvm-project/libc/hdr/fcntl_overlay.h | 47 +
contrib/llvm-project/libc/hdr/fenv_macros.h | 61 +
contrib/llvm-project/libc/hdr/float_macros.h | 22 +
contrib/llvm-project/libc/hdr/func/aligned_alloc.h | 22 +
contrib/llvm-project/libc/hdr/func/free.h | 22 +
contrib/llvm-project/libc/hdr/func/malloc.h | 24 +
contrib/llvm-project/libc/hdr/func/realloc.h | 24 +
contrib/llvm-project/libc/hdr/limits_macros.h | 22 +
contrib/llvm-project/libc/hdr/link_macros.h | 22 +
contrib/llvm-project/libc/hdr/locale_macros.h | 22 +
.../llvm-project/libc/hdr/math_function_macros.h | 27 +
contrib/llvm-project/libc/hdr/math_macros.h | 48 +
contrib/llvm-project/libc/hdr/offsetof_macros.h | 23 +
contrib/llvm-project/libc/hdr/sched_macros.h | 22 +
contrib/llvm-project/libc/hdr/signal_macros.h | 22 +
contrib/llvm-project/libc/hdr/stdio_macros.h | 23 +
contrib/llvm-project/libc/hdr/stdio_overlay.h | 69 +
contrib/llvm-project/libc/hdr/stdlib_macros.h | 22 +
contrib/llvm-project/libc/hdr/stdlib_overlay.h | 46 +
contrib/llvm-project/libc/hdr/sys_auxv_macros.h | 22 +
contrib/llvm-project/libc/hdr/sys_epoll_macros.h | 22 +
contrib/llvm-project/libc/hdr/sys_ioctl_macros.h | 22 +
contrib/llvm-project/libc/hdr/sys_stat_macros.h | 22 +
contrib/llvm-project/libc/hdr/time_macros.h | 28 +
contrib/llvm-project/libc/hdr/types/ACTION.h | 22 +
contrib/llvm-project/libc/hdr/types/ENTRY.h | 22 +
contrib/llvm-project/libc/hdr/types/FILE.h | 22 +
.../llvm-project/libc/hdr/types/atexithandler_t.h | 22 +
contrib/llvm-project/libc/hdr/types/char32_t.h | 22 +
contrib/llvm-project/libc/hdr/types/char8_t.h | 14 +
contrib/llvm-project/libc/hdr/types/clock_t.h | 22 +
contrib/llvm-project/libc/hdr/types/clockid_t.h | 23 +
.../libc/hdr/types/cookie_io_functions_t.h | 22 +
contrib/llvm-project/libc/hdr/types/cpu_set_t.h | 22 +
contrib/llvm-project/libc/hdr/types/div_t.h | 22 +
contrib/llvm-project/libc/hdr/types/fenv_t.h | 22 +
contrib/llvm-project/libc/hdr/types/fexcept_t.h | 22 +
contrib/llvm-project/libc/hdr/types/jmp_buf.h | 22 +
contrib/llvm-project/libc/hdr/types/ldiv_t.h | 22 +
contrib/llvm-project/libc/hdr/types/lldiv_t.h | 22 +
contrib/llvm-project/libc/hdr/types/locale_t.h | 22 +
contrib/llvm-project/libc/hdr/types/mbstate_t.h | 22 +
contrib/llvm-project/libc/hdr/types/mode_t.h | 22 +
contrib/llvm-project/libc/hdr/types/nfds_t.h | 23 +
contrib/llvm-project/libc/hdr/types/off_t.h | 22 +
contrib/llvm-project/libc/hdr/types/pid_t.h | 22 +
contrib/llvm-project/libc/hdr/types/sigset_t.h | 21 +
contrib/llvm-project/libc/hdr/types/size_t.h | 23 +
contrib/llvm-project/libc/hdr/types/socklen_t.h | 21 +
contrib/llvm-project/libc/hdr/types/ssize_t.h | 21 +
contrib/llvm-project/libc/hdr/types/stack_t.h | 23 +
.../libc/hdr/types/struct_dl_phdr_info.h | 21 +
.../libc/hdr/types/struct_epoll_event.h | 21 +
.../libc/hdr/types/struct_f_owner_ex.h | 21 +
contrib/llvm-project/libc/hdr/types/struct_flock.h | 21 +
.../llvm-project/libc/hdr/types/struct_flock64.h | 21 +
contrib/llvm-project/libc/hdr/types/struct_iovec.h | 21 +
.../llvm-project/libc/hdr/types/struct_itimerval.h | 21 +
.../llvm-project/libc/hdr/types/struct_msghdr.h | 21 +
.../llvm-project/libc/hdr/types/struct_pollfd.h | 23 +
.../llvm-project/libc/hdr/types/struct_sigaction.h | 21 +
.../llvm-project/libc/hdr/types/struct_sockaddr.h | 21 +
.../llvm-project/libc/hdr/types/struct_timespec.h | 21 +
.../llvm-project/libc/hdr/types/struct_timeval.h | 21 +
contrib/llvm-project/libc/hdr/types/struct_tm.h | 21 +
contrib/llvm-project/libc/hdr/types/suseconds_t.h | 22 +
contrib/llvm-project/libc/hdr/types/time_t.h | 22 +
contrib/llvm-project/libc/hdr/types/uid_t.h | 22 +
contrib/llvm-project/libc/hdr/types/wchar_t.h | 23 +
contrib/llvm-project/libc/hdr/types/wint_t.h | 23 +
contrib/llvm-project/libc/hdr/uchar_overlay.h | 69 +
contrib/llvm-project/libc/hdr/unistd_macros.h | 22 +
contrib/llvm-project/libc/hdr/unistd_overlay.h | 69 +
contrib/llvm-project/libc/hdr/wchar_macros.h | 22 +
contrib/llvm-project/libc/hdr/wchar_overlay.h | 69 +
.../llvm-project/libc/include/__llvm-libc-common.h | 98 +
.../libc/include/llvm-libc-macros/EFIAPI-macros.h | 18 +
.../libc/include/llvm-libc-macros/assert-macros.h | 14 +
.../llvm-libc-macros/baremetal/time-macros.h | 26 +
.../libc/include/llvm-libc-macros/complex-macros.h | 24 +
.../include/llvm-libc-macros/containerof-macro.h | 20 +
.../libc/include/llvm-libc-macros/dlfcn-macros.h | 23 +
.../libc/include/llvm-libc-macros/elf-macros.h | 18 +
.../libc/include/llvm-libc-macros/endian-macros.h | 50 +
.../include/llvm-libc-macros/error-number-macros.h | 8 +
.../libc/include/llvm-libc-macros/fcntl-macros.h | 8 +
.../include/llvm-libc-macros/features-macros.h | 12 +
.../libc/include/llvm-libc-macros/fenv-macros.h | 28 +
.../include/llvm-libc-macros/file-seek-macros.h | 16 +
.../libc/include/llvm-libc-macros/float-macros.h | 178 +
.../libc/include/llvm-libc-macros/float16-macros.h | 27 +
.../llvm-libc-macros/generic-error-number-macros.h | 48 +
.../include/llvm-libc-macros/gpu/signal-macros.h | 28 +
.../include/llvm-libc-macros/gpu/time-macros.h | 17 +
.../include/llvm-libc-macros/inttypes-macros.h | 420 +
.../libc/include/llvm-libc-macros/limits-macros.h | 246 +
.../libc/include/llvm-libc-macros/link-macros.h | 20 +
.../llvm-libc-macros/linux/error-number-macros.h | 32 +
.../include/llvm-libc-macros/linux/fcntl-macros.h | 105 +
.../include/llvm-libc-macros/linux/poll-macros.h | 65 +
.../include/llvm-libc-macros/linux/sched-macros.h | 37 +
.../include/llvm-libc-macros/linux/signal-macros.h | 101 +
.../llvm-libc-macros/linux/sys-epoll-macros.h | 40 +
.../llvm-libc-macros/linux/sys-ioctl-macros.h | 20 +
.../llvm-libc-macros/linux/sys-random-macros.h | 17 +
.../llvm-libc-macros/linux/sys-resource-macros.h | 31 +
.../llvm-libc-macros/linux/sys-socket-macros.h | 28 +
.../llvm-libc-macros/linux/sys-stat-macros.h | 48 +
.../llvm-libc-macros/linux/sys-time-macros.h | 53 +
.../llvm-libc-macros/linux/sys-wait-macros.h | 27 +
.../llvm-libc-macros/linux/termios-macros.h | 167 +
.../include/llvm-libc-macros/linux/time-macros.h | 26 +
.../include/llvm-libc-macros/linux/unistd-macros.h | 57 +
.../libc/include/llvm-libc-macros/locale-macros.h | 32 +
.../libc/include/llvm-libc-macros/malloc-macros.h | 17 +
.../llvm-libc-macros/math-function-macros.h | 37 +
.../libc/include/llvm-libc-macros/math-macros.h | 53 +
.../libc/include/llvm-libc-macros/null-macro.h | 15 +
.../libc/include/llvm-libc-macros/offsetof-macro.h | 15 +
.../libc/include/llvm-libc-macros/poll-macros.h | 16 +
.../libc/include/llvm-libc-macros/pthread-macros.h | 65 +
.../libc/include/llvm-libc-macros/sched-macros.h | 16 +
.../libc/include/llvm-libc-macros/signal-macros.h | 18 +
.../libc/include/llvm-libc-macros/stdbit-macros.h | 316 +
.../include/llvm-libc-macros/stdckdint-macros.h | 27 +
.../libc/include/llvm-libc-macros/stdfix-macros.h | 367 +
.../libc/include/llvm-libc-macros/stdint-macros.h | 878 +
.../libc/include/llvm-libc-macros/stdio-macros.h | 58 +
.../libc/include/llvm-libc-macros/stdlib-macros.h | 27 +
.../include/llvm-libc-macros/sys-auxv-macros.h | 43 +
.../include/llvm-libc-macros/sys-epoll-macros.h | 16 +
.../include/llvm-libc-macros/sys-ioctl-macros.h | 16 +
.../include/llvm-libc-macros/sys-mman-macros.h | 48 +
.../include/llvm-libc-macros/sys-queue-macros.h | 262 +
.../include/llvm-libc-macros/sys-random-macros.h | 16 +
.../include/llvm-libc-macros/sys-resource-macros.h | 16 +
.../include/llvm-libc-macros/sys-select-macros.h | 35 +
.../include/llvm-libc-macros/sys-socket-macros.h | 16 +
.../include/llvm-libc-macros/sys-stat-macros.h | 16 +
.../include/llvm-libc-macros/sys-time-macros.h | 16 +
.../include/llvm-libc-macros/sys-wait-macros.h | 16 +
.../include/llvm-libc-macros/sysexits-macros.h | 29 +
.../libc/include/llvm-libc-macros/termios-macros.h | 16 +
.../libc/include/llvm-libc-macros/time-macros.h | 21 +
.../libc/include/llvm-libc-macros/unistd-macros.h | 12 +
.../libc/include/llvm-libc-macros/wchar-macros.h | 18 +
.../llvm-libc-macros/windows/time-macros-ext.h | 17 +
.../libc/include/llvm-libc-types/ACTION.h | 14 +
.../libc/include/llvm-libc-types/DIR.h | 14 +
.../include/llvm-libc-types/EFI_ALLOCATE_TYPE.h | 19 +
.../include/llvm-libc-types/EFI_BOOT_SERVICES.h | 250 +
.../libc/include/llvm-libc-types/EFI_CAPSULE.h | 26 +
.../llvm-libc-types/EFI_CONFIGURATION_TABLE.h | 19 +
.../llvm-libc-types/EFI_DEVICE_PATH_PROTOCOL.h | 23 +
.../libc/include/llvm-libc-types/EFI_EVENT.h | 21 +
.../libc/include/llvm-libc-types/EFI_GUID.h | 21 +
.../libc/include/llvm-libc-types/EFI_HANDLE.h | 14 +
.../include/llvm-libc-types/EFI_INTERFACE_TYPE.h | 16 +
.../llvm-libc-types/EFI_LOCATE_SEARCH_TYPE.h | 18 +
.../llvm-libc-types/EFI_MEMORY_DESCRIPTOR.h | 43 +
.../libc/include/llvm-libc-types/EFI_MEMORY_TYPE.h | 32 +
.../EFI_OPEN_PROTOCOL_INFORMATION_ENTRY.h | 22 +
.../include/llvm-libc-types/EFI_PHYSICAL_ADDRESS.h | 16 +
.../include/llvm-libc-types/EFI_RUNTIME_SERVICES.h | 137 +
.../EFI_SIMPLE_TEXT_INPUT_PROTOCOL.h | 39 +
.../EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.h | 64 +
.../libc/include/llvm-libc-types/EFI_STATUS.h | 60 +
.../include/llvm-libc-types/EFI_SYSTEM_TABLE.h | 65 +
.../include/llvm-libc-types/EFI_TABLE_HEADER.h | 22 +
.../libc/include/llvm-libc-types/EFI_TIME.h | 37 +
.../libc/include/llvm-libc-types/EFI_TIMER_DELAY.h | 18 +
.../libc/include/llvm-libc-types/EFI_TPL.h | 21 +
.../include/llvm-libc-types/EFI_VIRTUAL_ADDRESS.h | 16 +
.../libc/include/llvm-libc-types/ENTRY.h | 17 +
.../libc/include/llvm-libc-types/FILE.h | 14 +
.../libc/include/llvm-libc-types/VISIT.h | 14 +
.../include/llvm-libc-types/__atexithandler_t.h | 14 +
.../include/llvm-libc-types/__atfork_callback_t.h | 14 +
.../include/llvm-libc-types/__call_once_func_t.h | 14 +
.../llvm-libc-types/__dl_iterate_phdr_callback_t.h | 19 +
.../libc/include/llvm-libc-types/__exec_argv_t.h | 14 +
.../libc/include/llvm-libc-types/__exec_envp_t.h | 14 +
.../libc/include/llvm-libc-types/__futex_word.h | 20 +
.../libc/include/llvm-libc-types/__getoptargv_t.h | 14 +
.../libc/include/llvm-libc-types/__mutex_type.h | 29 +
.../llvm-libc-types/__pthread_once_func_t.h | 14 +
.../include/llvm-libc-types/__pthread_start_t.h | 14 +
.../include/llvm-libc-types/__pthread_tss_dtor_t.h | 14 +
.../include/llvm-libc-types/__qsortcompare_t.h | 14 +
.../include/llvm-libc-types/__qsortrcompare_t.h | 14 +
.../include/llvm-libc-types/__search_compare_t.h | 14 +
.../libc/include/llvm-libc-types/__thread_type.h | 16 +
.../libc/include/llvm-libc-types/blkcnt_t.h | 14 +
.../libc/include/llvm-libc-types/blksize_t.h | 14 +
.../libc/include/llvm-libc-types/cc_t.h | 14 +
.../libc/include/llvm-libc-types/cfloat128.h | 44 +
.../libc/include/llvm-libc-types/cfloat16.h | 21 +
.../libc/include/llvm-libc-types/char16_t.h | 17 +
.../libc/include/llvm-libc-types/char32_t.h | 17 +
.../libc/include/llvm-libc-types/char8_t.h | 16 +
.../libc/include/llvm-libc-types/clock_t.h | 14 +
.../libc/include/llvm-libc-types/clockid_t.h | 14 +
.../libc/include/llvm-libc-types/cnd_t.h | 20 +
.../llvm-libc-types/cookie_io_functions_t.h | 28 +
.../libc/include/llvm-libc-types/cpu_set_t.h | 21 +
.../libc/include/llvm-libc-types/dev_t.h | 14 +
.../libc/include/llvm-libc-types/div_t.h | 17 +
.../libc/include/llvm-libc-types/double_t.h | 24 +
.../libc/include/llvm-libc-types/fd_set.h | 18 +
.../libc/include/llvm-libc-types/fenv_t.h | 36 +
.../libc/include/llvm-libc-types/fexcept_t.h | 18 +
.../libc/include/llvm-libc-types/float128.h | 36 +
.../libc/include/llvm-libc-types/float_t.h | 24 +
.../libc/include/llvm-libc-types/fsblkcnt_t.h | 14 +
.../libc/include/llvm-libc-types/fsfilcnt_t.h | 14 +
.../libc/include/llvm-libc-types/gid_t.h | 14 +
.../libc/include/llvm-libc-types/imaxdiv_t.h | 17 +
.../libc/include/llvm-libc-types/ino_t.h | 14 +
.../libc/include/llvm-libc-types/jmp_buf.h | 84 +
.../libc/include/llvm-libc-types/ldiv_t.h | 17 +
.../libc/include/llvm-libc-types/lldiv_t.h | 17 +
.../libc/include/llvm-libc-types/locale_t.h | 22 +
.../libc/include/llvm-libc-types/mbstate_t.h | 20 +
.../libc/include/llvm-libc-types/mode_t.h | 14 +
.../libc/include/llvm-libc-types/mtx_t.h | 16 +
.../libc/include/llvm-libc-types/nfds_t.h | 14 +
.../libc/include/llvm-libc-types/nlink_t.h | 14 +
.../libc/include/llvm-libc-types/off64_t.h | 14 +
.../libc/include/llvm-libc-types/off_t.h | 14 +
.../libc/include/llvm-libc-types/once_flag.h | 20 +
.../libc/include/llvm-libc-types/pid_t.h | 14 +
.../llvm-libc-types/posix_spawn_file_actions_t.h | 17 +
.../include/llvm-libc-types/posix_spawnattr_t.h | 16 +
.../libc/include/llvm-libc-types/pthread_attr_t.h | 21 +
.../include/llvm-libc-types/pthread_condattr_t.h | 18 +
.../libc/include/llvm-libc-types/pthread_key_t.h | 14 +
.../libc/include/llvm-libc-types/pthread_mutex_t.h | 16 +
.../include/llvm-libc-types/pthread_mutexattr_t.h | 16 +
.../libc/include/llvm-libc-types/pthread_once_t.h | 20 +
.../include/llvm-libc-types/pthread_rwlock_t.h | 26 +
.../include/llvm-libc-types/pthread_rwlockattr_t.h | 16 +
.../include/llvm-libc-types/pthread_spinlock_t.h | 17 +
.../libc/include/llvm-libc-types/pthread_t.h | 16 +
.../libc/include/llvm-libc-types/rlim_t.h | 14 +
.../libc/include/llvm-libc-types/sa_family_t.h | 19 +
.../libc/include/llvm-libc-types/sig_atomic_t.h | 14 +
.../libc/include/llvm-libc-types/sighandler_t.h | 17 +
.../libc/include/llvm-libc-types/siginfo_t.h | 109 +
.../libc/include/llvm-libc-types/sigset_t.h | 20 +
.../libc/include/llvm-libc-types/size_t.h | 14 +
.../libc/include/llvm-libc-types/socklen_t.h | 18 +
.../libc/include/llvm-libc-types/speed_t.h | 14 +
.../libc/include/llvm-libc-types/ssize_t.h | 14 +
.../libc/include/llvm-libc-types/stack_t.h | 22 +
.../libc/include/llvm-libc-types/stdfix-types.h | 25 +
.../libc/include/llvm-libc-types/struct_dirent.h | 29 +
.../include/llvm-libc-types/struct_dl_phdr_info.h | 30 +
.../include/llvm-libc-types/struct_epoll_data.h | 21 +
.../include/llvm-libc-types/struct_epoll_event.h | 23 +
.../include/llvm-libc-types/struct_f_owner_ex.h | 25 +
.../libc/include/llvm-libc-types/struct_flock.h | 25 +
.../libc/include/llvm-libc-types/struct_flock64.h | 25 +
.../include/llvm-libc-types/struct_hsearch_data.h | 17 +
.../libc/include/llvm-libc-types/struct_iovec.h | 19 +
.../include/llvm-libc-types/struct_itimerval.h | 19 +
.../libc/include/llvm-libc-types/struct_lconv.h | 39 +
.../libc/include/llvm-libc-types/struct_msghdr.h | 26 +
.../libc/include/llvm-libc-types/struct_pollfd.h | 18 +
.../libc/include/llvm-libc-types/struct_rlimit.h | 19 +
.../libc/include/llvm-libc-types/struct_rusage.h | 37 +
.../include/llvm-libc-types/struct_sched_param.h | 21 +
.../include/llvm-libc-types/struct_sigaction.h | 28 +
.../libc/include/llvm-libc-types/struct_sockaddr.h | 21 +
.../include/llvm-libc-types/struct_sockaddr_un.h | 22 +
.../libc/include/llvm-libc-types/struct_stat.h | 39 +
.../libc/include/llvm-libc-types/struct_statvfs.h | 29 +
.../libc/include/llvm-libc-types/struct_termios.h | 32 +
.../libc/include/llvm-libc-types/struct_timespec.h | 20 +
.../libc/include/llvm-libc-types/struct_timeval.h | 20 +
.../libc/include/llvm-libc-types/struct_tm.h | 25 +
.../libc/include/llvm-libc-types/struct_utsname.h | 34 +
.../libc/include/llvm-libc-types/suseconds_t.h | 19 +
.../libc/include/llvm-libc-types/tcflag_t.h | 14 +
.../include/llvm-libc-types/test_rpc_opcodes_t.h | 21 +
.../libc/include/llvm-libc-types/thrd_start_t.h | 14 +
.../libc/include/llvm-libc-types/thrd_t.h | 16 +
.../libc/include/llvm-libc-types/time_t.h | 18 +
.../libc/include/llvm-libc-types/time_t_32.h | 14 +
.../libc/include/llvm-libc-types/time_t_64.h | 14 +
.../libc/include/llvm-libc-types/tss_dtor_t.h | 14 +
.../libc/include/llvm-libc-types/tss_t.h | 14 +
.../libc/include/llvm-libc-types/uid_t.h | 14 +
.../libc/include/llvm-libc-types/union_sigval.h | 17 +
.../libc/include/llvm-libc-types/wchar_t.h | 19 +
.../libc/include/llvm-libc-types/wint_t.h | 14 +
contrib/llvm-project/libc/include/sys/queue.h | 14 +
.../llvm-project/libc/src/__support/CPP/README.md | 13 +
.../libc/src/__support/CPP/algorithm.h | 49 +
.../llvm-project/libc/src/__support/CPP/array.h | 80 +
.../llvm-project/libc/src/__support/CPP/atomic.h | 430 +
contrib/llvm-project/libc/src/__support/CPP/bit.h | 298 +
.../llvm-project/libc/src/__support/CPP/bitset.h | 94 +
.../llvm-project/libc/src/__support/CPP/cstddef.h | 74 +
.../llvm-project/libc/src/__support/CPP/expected.h | 60 +
.../libc/src/__support/CPP/functional.h | 71 +
.../llvm-project/libc/src/__support/CPP/iterator.h | 99 +
.../llvm-project/libc/src/__support/CPP/limits.h | 92 +
.../llvm-project/libc/src/__support/CPP/mutex.h | 51 +
.../llvm-project/libc/src/__support/CPP/new.cpp | 44 +
contrib/llvm-project/libc/src/__support/CPP/new.h | 130 +
.../llvm-project/libc/src/__support/CPP/optional.h | 139 +
contrib/llvm-project/libc/src/__support/CPP/span.h | 131 +
.../llvm-project/libc/src/__support/CPP/string.h | 234 +
.../libc/src/__support/CPP/string_view.h | 222 +
.../libc/src/__support/CPP/stringstream.h | 96 +
.../libc/src/__support/CPP/type_traits.h | 70 +
.../CPP/type_traits/add_lvalue_reference.h | 33 +
.../src/__support/CPP/type_traits/add_pointer.h | 30 +
.../CPP/type_traits/add_rvalue_reference.h | 32 +
.../__support/CPP/type_traits/aligned_storage.h | 30 +
.../src/__support/CPP/type_traits/always_false.h | 32 +
.../src/__support/CPP/type_traits/bool_constant.h | 23 +
.../src/__support/CPP/type_traits/conditional.h | 28 +
.../libc/src/__support/CPP/type_traits/decay.h | 40 +
.../libc/src/__support/CPP/type_traits/enable_if.h | 26 +
.../src/__support/CPP/type_traits/false_type.h | 23 +
.../has_unique_object_representations.h | 30 +
.../__support/CPP/type_traits/integral_constant.h | 26 +
.../libc/src/__support/CPP/type_traits/invoke.h | 67 +
.../src/__support/CPP/type_traits/invoke_result.h | 29 +
.../src/__support/CPP/type_traits/is_arithmetic.h | 30 +
.../libc/src/__support/CPP/type_traits/is_array.h | 31 +
.../src/__support/CPP/type_traits/is_base_of.h | 47 +
.../libc/src/__support/CPP/type_traits/is_class.h | 32 +
.../src/__support/CPP/type_traits/is_complex.h | 53 +
.../libc/src/__support/CPP/type_traits/is_const.h | 28 +
.../CPP/type_traits/is_constant_evaluated.h | 24 +
.../src/__support/CPP/type_traits/is_convertible.h | 48 +
.../__support/CPP/type_traits/is_copy_assignable.h | 32 +
.../CPP/type_traits/is_copy_constructible.h | 31 +
.../__support/CPP/type_traits/is_destructible.h | 68 +
.../libc/src/__support/CPP/type_traits/is_enum.h | 26 +
.../src/__support/CPP/type_traits/is_fixed_point.h | 49 +
.../__support/CPP/type_traits/is_floating_point.h | 49 +
.../src/__support/CPP/type_traits/is_function.h | 35 +
.../src/__support/CPP/type_traits/is_integral.h | 43 +
.../CPP/type_traits/is_lvalue_reference.h | 35 +
.../__support/CPP/type_traits/is_member_pointer.h | 33 +
.../__support/CPP/type_traits/is_move_assignable.h | 33 +
.../CPP/type_traits/is_move_constructible.h | 31 +
.../__support/CPP/type_traits/is_null_pointer.h | 29 +
.../libc/src/__support/CPP/type_traits/is_object.h | 33 +
.../src/__support/CPP/type_traits/is_pointer.h | 31 +
.../src/__support/CPP/type_traits/is_reference.h | 34 +
.../CPP/type_traits/is_rvalue_reference.h | 35 +
.../libc/src/__support/CPP/type_traits/is_same.h | 28 +
.../libc/src/__support/CPP/type_traits/is_scalar.h | 35 +
.../libc/src/__support/CPP/type_traits/is_signed.h | 54 +
.../CPP/type_traits/is_trivially_constructible.h | 25 +
.../CPP/type_traits/is_trivially_copyable.h | 29 +
.../CPP/type_traits/is_trivially_destructible.h | 37 +
.../libc/src/__support/CPP/type_traits/is_union.h | 26 +
.../src/__support/CPP/type_traits/is_unsigned.h | 56 +
.../libc/src/__support/CPP/type_traits/is_void.h | 27 +
.../src/__support/CPP/type_traits/make_signed.h | 41 +
.../src/__support/CPP/type_traits/make_unsigned.h | 46 +
.../__support/CPP/type_traits/remove_all_extents.h | 41 +
.../libc/src/__support/CPP/type_traits/remove_cv.h | 28 +
.../src/__support/CPP/type_traits/remove_cvref.h | 27 +
.../src/__support/CPP/type_traits/remove_extent.h | 28 +
.../__support/CPP/type_traits/remove_reference.h | 27 +
.../libc/src/__support/CPP/type_traits/true_type.h | 23 +
.../src/__support/CPP/type_traits/type_identity.h | 24 +
.../libc/src/__support/CPP/type_traits/void_t.h | 29 +
.../llvm-project/libc/src/__support/CPP/utility.h | 18 +
.../libc/src/__support/CPP/utility/declval.h | 27 +
.../libc/src/__support/CPP/utility/forward.h | 35 +
.../libc/src/__support/CPP/utility/in_place.h | 39 +
.../src/__support/CPP/utility/integer_sequence.h | 40 +
.../libc/src/__support/CPP/utility/move.h | 27 +
.../libc/src/__support/FPUtil/BasicOperations.h | 396 +
.../FPUtil/DivisionAndRemainderOperations.h | 121 +
.../libc/src/__support/FPUtil/FEnvImpl.h | 114 +
.../llvm-project/libc/src/__support/FPUtil/FMA.h | 52 +
.../libc/src/__support/FPUtil/FPBits.h | 857 +
.../llvm-project/libc/src/__support/FPUtil/Hypot.h | 268 +
.../src/__support/FPUtil/ManipulationFunctions.h | 279 +
.../__support/FPUtil/NearestIntegerOperations.h | 411 +
.../libc/src/__support/FPUtil/NormalFloat.h | 273 +
.../libc/src/__support/FPUtil/PolyEval.h | 54 +
.../libc/src/__support/FPUtil/aarch64/FEnvImpl.h | 285 +
.../__support/FPUtil/aarch64/fenv_darwin_impl.h | 297 +
.../src/__support/FPUtil/aarch64/nearest_integer.h | 38 +
.../libc/src/__support/FPUtil/aarch64/sqrt.h | 45 +
.../libc/src/__support/FPUtil/arm/FEnvImpl.h | 266 +
.../libc/src/__support/FPUtil/arm/sqrt.h | 45 +
.../libc/src/__support/FPUtil/bfloat16.h | 65 +
.../llvm-project/libc/src/__support/FPUtil/cast.h | 76 +
.../libc/src/__support/FPUtil/double_double.h | 211 +
.../libc/src/__support/FPUtil/dyadic_float.h | 714 +
.../libc/src/__support/FPUtil/except_value_utils.h | 145 +
.../libc/src/__support/FPUtil/fpbits_str.h | 76 +
.../libc/src/__support/FPUtil/generic/FMA.h | 288 +
.../libc/src/__support/FPUtil/generic/FMod.h | 296 +
.../libc/src/__support/FPUtil/generic/README.md | 28 +
.../libc/src/__support/FPUtil/generic/add_sub.h | 209 +
.../libc/src/__support/FPUtil/generic/div.h | 126 +
.../libc/src/__support/FPUtil/generic/mul.h | 105 +
.../libc/src/__support/FPUtil/generic/sqrt.h | 171 +
.../FPUtil/generic/sqrt_80_bit_long_double.h | 141 +
.../libc/src/__support/FPUtil/multiply_add.h | 74 +
.../libc/src/__support/FPUtil/nearest_integer.h | 79 +
.../libc/src/__support/FPUtil/riscv/FEnvImpl.h | 181 +
.../libc/src/__support/FPUtil/riscv/sqrt.h | 45 +
.../libc/src/__support/FPUtil/rounding_mode.h | 81 +
.../llvm-project/libc/src/__support/FPUtil/sqrt.h | 65 +
.../libc/src/__support/FPUtil/triple_double.h | 26 +
.../libc/src/__support/FPUtil/x86_64/FEnvImpl.h | 651 +
.../__support/FPUtil/x86_64/NextAfterLongDouble.h | 125 +
.../__support/FPUtil/x86_64/NextUpDownLongDouble.h | 63 +
.../src/__support/FPUtil/x86_64/nearest_integer.h | 46 +
.../libc/src/__support/FPUtil/x86_64/sqrt.h | 54 +
.../llvm-project/libc/src/__support/File/dir.cpp | 65 +
contrib/llvm-project/libc/src/__support/File/dir.h | 79 +
.../llvm-project/libc/src/__support/File/file.cpp | 477 +
.../llvm-project/libc/src/__support/File/file.h | 324 +
.../libc/src/__support/File/linux/dir.cpp | 60 +
.../libc/src/__support/File/linux/file.cpp | 185 +
.../libc/src/__support/File/linux/file.h | 37 +
.../libc/src/__support/File/linux/lseekImpl.h | 51 +
.../libc/src/__support/File/linux/stderr.cpp | 25 +
.../libc/src/__support/File/linux/stdin.cpp | 26 +
.../libc/src/__support/File/linux/stdout.cpp | 26 +
.../libc/src/__support/GPU/allocator.cpp | 605 +
.../libc/src/__support/GPU/allocator.h | 26 +
.../llvm-project/libc/src/__support/GPU/utils.h | 138 +
.../libc/src/__support/HashTable/bitmask.h | 93 +
.../__support/HashTable/generic/bitmask_impl.inc | 124 +
.../libc/src/__support/HashTable/randomness.h | 61 +
.../src/__support/HashTable/sse2/bitmask_impl.inc | 52 +
.../libc/src/__support/HashTable/table.h | 356 +
.../libc/src/__support/OSUtil/baremetal/exit.cpp | 21 +
.../libc/src/__support/OSUtil/baremetal/io.cpp | 70 +
.../libc/src/__support/OSUtil/baremetal/io.h | 25 +
.../src/__support/OSUtil/darwin/aarch64/syscall.h | 113 +
.../libc/src/__support/OSUtil/darwin/io.h | 26 +
.../libc/src/__support/OSUtil/darwin/syscall.h | 33 +
.../llvm-project/libc/src/__support/OSUtil/exit.h | 22 +
.../llvm-project/libc/src/__support/OSUtil/fcntl.h | 27 +
.../libc/src/__support/OSUtil/fuchsia/io.h | 34 +
.../libc/src/__support/OSUtil/gpu/exit.cpp | 33 +
.../libc/src/__support/OSUtil/gpu/io.cpp | 24 +
.../libc/src/__support/OSUtil/gpu/io.h | 22 +
.../llvm-project/libc/src/__support/OSUtil/io.h | 31 +
.../src/__support/OSUtil/linux/aarch64/syscall.h | 111 +
.../libc/src/__support/OSUtil/linux/aarch64/vdso.h | 37 +
.../libc/src/__support/OSUtil/linux/arm/syscall.h | 129 +
.../libc/src/__support/OSUtil/linux/arm/vdso.h | 37 +
.../libc/src/__support/OSUtil/linux/exit.cpp | 31 +
.../libc/src/__support/OSUtil/linux/fcntl.cpp | 142 +
.../libc/src/__support/OSUtil/linux/getrandom.h | 35 +
.../libc/src/__support/OSUtil/linux/i386/syscall.h | 88 +
.../libc/src/__support/OSUtil/linux/i386/vdso.h | 0
.../libc/src/__support/OSUtil/linux/io.h | 27 +
.../src/__support/OSUtil/linux/riscv/syscall.h | 111 +
.../libc/src/__support/OSUtil/linux/riscv/vdso.h | 43 +
.../libc/src/__support/OSUtil/linux/syscall.h | 39 +
.../libc/src/__support/OSUtil/linux/vdso.cpp | 239 +
.../libc/src/__support/OSUtil/linux/vdso.h | 81 +
.../libc/src/__support/OSUtil/linux/vdso_sym.h | 70 +
.../src/__support/OSUtil/linux/x86_64/syscall.h | 99 +
.../libc/src/__support/OSUtil/linux/x86_64/vdso.h | 43 +
.../libc/src/__support/OSUtil/syscall.h | 18 +
.../libc/src/__support/OSUtil/uefi/error.h | 104 +
.../libc/src/__support/OSUtil/uefi/exit.cpp | 24 +
.../libc/src/__support/OSUtil/uefi/io.cpp | 41 +
.../libc/src/__support/OSUtil/uefi/io.h | 25 +
.../libc/src/__support/OSUtil/windows/exit.cpp | 23 +
.../libc/src/__support/OSUtil/windows/io.cpp | 25 +
.../libc/src/__support/OSUtil/windows/io.h | 21 +
.../libc/src/__support/RPC/rpc_client.cpp | 22 +
.../libc/src/__support/RPC/rpc_client.h | 37 +
.../libc/src/__support/RPC/rpc_server.h | 551 +
.../src/__support/StringUtil/error_to_string.cpp | 85 +
.../src/__support/StringUtil/error_to_string.h | 27 +
.../libc/src/__support/StringUtil/message_mapper.h | 104 +
.../src/__support/StringUtil/platform_errors.h | 18 +
.../src/__support/StringUtil/platform_signals.h | 18 +
.../src/__support/StringUtil/signal_to_string.cpp | 81 +
.../src/__support/StringUtil/signal_to_string.h | 25 +
.../StringUtil/tables/linux_extension_errors.h | 130 +
.../StringUtil/tables/linux_extension_signals.h | 34 +
.../StringUtil/tables/linux_platform_errors.h | 27 +
.../StringUtil/tables/linux_platform_signals.h | 24 +
.../StringUtil/tables/minimal_platform_errors.h | 23 +
.../StringUtil/tables/minimal_platform_signals.h | 21 +
.../src/__support/StringUtil/tables/posix_errors.h | 178 +
.../__support/StringUtil/tables/posix_signals.h | 47 +
.../src/__support/StringUtil/tables/signal_table.h | 42 +
.../src/__support/StringUtil/tables/stdc_errors.h | 34 +
.../src/__support/StringUtil/tables/stdc_signals.h | 30 +
contrib/llvm-project/libc/src/__support/arg_list.h | 140 +
contrib/llvm-project/libc/src/__support/big_int.h | 1391 +
contrib/llvm-project/libc/src/__support/block.h | 482 +
.../llvm-project/libc/src/__support/blockstore.h | 262 +
contrib/llvm-project/libc/src/__support/c_string.h | 37 +
.../llvm-project/libc/src/__support/char_vector.h | 81 +
contrib/llvm-project/libc/src/__support/common.h | 92 +
.../libc/src/__support/complex_basic_ops.h | 36 +
.../llvm-project/libc/src/__support/complex_type.h | 73 +
.../llvm-project/libc/src/__support/ctype_utils.h | 584 +
.../libc/src/__support/detailed_powers_of_ten.h | 740 +
.../libc/src/__support/endian_internal.h | 146 +
contrib/llvm-project/libc/src/__support/error_or.h | 40 +
.../libc/src/__support/fixed_point/fx_bits.h | 232 +
.../libc/src/__support/fixed_point/fx_rep.h | 303 +
.../libc/src/__support/fixed_point/sqrt.h | 269 +
.../llvm-project/libc/src/__support/fixedvector.h | 127 +
.../libc/src/__support/float_to_string.h | 837 +
.../llvm-project/libc/src/__support/freelist.cpp | 42 +
contrib/llvm-project/libc/src/__support/freelist.h | 89 +
.../libc/src/__support/freelist_heap.cpp | 19 +
.../libc/src/__support/freelist_heap.h | 209 +
.../llvm-project/libc/src/__support/freestore.h | 114 +
.../llvm-project/libc/src/__support/freetrie.cpp | 64 +
contrib/llvm-project/libc/src/__support/freetrie.h | 237 +
contrib/llvm-project/libc/src/__support/hash.h | 164 +
.../libc/src/__support/high_precision_decimal.h | 442 +
.../libc/src/__support/integer_literals.h | 180 +
.../libc/src/__support/integer_operations.h | 33 +
.../libc/src/__support/integer_to_string.h | 498 +
.../libc/src/__support/intrusive_list.h | 66 +
.../llvm-project/libc/src/__support/libc_assert.h | 88 +
.../llvm-project/libc/src/__support/libc_errno.h | 108 +
.../libc/src/__support/macros/README.md | 1 +
.../libc/src/__support/macros/attributes.h | 51 +
.../libc/src/__support/macros/config.h | 46 +
.../libc/src/__support/macros/null_check.h | 37 +
.../libc/src/__support/macros/optimization.h | 76 +
.../libc/src/__support/macros/properties/README.md | 2 +
.../__support/macros/properties/architectures.h | 64 +
.../src/__support/macros/properties/compiler.h | 43 +
.../__support/macros/properties/complex_types.h | 30 +
.../src/__support/macros/properties/cpu_features.h | 108 +
.../libc/src/__support/macros/properties/os.h | 32 +
.../libc/src/__support/macros/properties/types.h | 72 +
.../libc/src/__support/macros/sanitizer.h | 59 +
.../libc/src/__support/math/exp_float_constants.h | 145 +
.../llvm-project/libc/src/__support/math/expf.h | 116 +
.../llvm-project/libc/src/__support/math/expf16.h | 141 +
.../libc/src/__support/math/expf16_utils.h | 89 +
.../llvm-project/libc/src/__support/math/frexpf.h | 28 +
.../libc/src/__support/math/frexpf128.h | 34 +
.../libc/src/__support/math/frexpf16.h | 34 +
.../llvm-project/libc/src/__support/math/ldexpf.h | 28 +
.../libc/src/__support/math/ldexpf128.h | 34 +
.../libc/src/__support/math/ldexpf16.h | 34 +
.../llvm-project/libc/src/__support/math_extras.h | 160 +
.../llvm-project/libc/src/__support/memory_size.h | 92 +
.../llvm-project/libc/src/__support/number_pair.h | 26 +
.../libc/src/__support/ryu_constants.h | 4404 +
.../libc/src/__support/ryu_long_double_constants.h | 120478 ++++++++++++++++++
contrib/llvm-project/libc/src/__support/sign.h | 45 +
.../llvm-project/libc/src/__support/str_to_float.h | 1275 +
.../libc/src/__support/str_to_integer.h | 168 +
.../libc/src/__support/str_to_num_result.h | 48 +
.../libc/src/__support/threads/CndVar.h | 55 +
.../libc/src/__support/threads/callonce.h | 41 +
.../libc/src/__support/threads/fork_callbacks.cpp | 95 +
.../libc/src/__support/threads/fork_callbacks.h | 26 +
.../libc/src/__support/threads/gpu/mutex.h | 32 +
.../libc/src/__support/threads/identifier.h | 50 +
.../libc/src/__support/threads/linux/CndVar.cpp | 106 +
.../libc/src/__support/threads/linux/callonce.cpp | 40 +
.../libc/src/__support/threads/linux/callonce.h | 32 +
.../libc/src/__support/threads/linux/futex_utils.h | 88 +
.../libc/src/__support/threads/linux/futex_word.h | 30 +
.../libc/src/__support/threads/linux/mutex.h | 90 +
.../libc/src/__support/threads/linux/raw_mutex.h | 129 +
.../libc/src/__support/threads/linux/rwlock.h | 558 +
.../libc/src/__support/threads/linux/thread.cpp | 521 +
.../libc/src/__support/threads/mutex.h | 46 +
.../libc/src/__support/threads/mutex_common.h | 26 +
.../libc/src/__support/threads/sleep.h | 37 +
.../libc/src/__support/threads/spin_lock.h | 65 +
.../libc/src/__support/threads/thread.cpp | 191 +
.../libc/src/__support/threads/thread.h | 257 +
.../libc/src/__support/time/clock_gettime.h | 22 +
.../libc/src/__support/time/gpu/clock_gettime.cpp | 33 +
.../libc/src/__support/time/gpu/time_utils.cpp | 22 +
.../libc/src/__support/time/gpu/time_utils.h | 45 +
.../libc/src/__support/time/linux/abs_timeout.h | 50 +
.../src/__support/time/linux/clock_conversion.h | 43 +
.../src/__support/time/linux/clock_gettime.cpp | 62 +
.../libc/src/__support/time/linux/monotonicity.h | 44 +
.../llvm-project/libc/src/__support/time/units.h | 39 +
.../src/__support/time/windows/clock_gettime.cpp | 134 +
.../__support/time/windows/performance_counter.h | 35 +
contrib/llvm-project/libc/src/__support/uint128.h | 23 +
.../src/__support/wchar/character_converter.cpp | 174 +
.../libc/src/__support/wchar/character_converter.h | 47 +
.../libc/src/__support/wchar/mbrtowc.cpp | 52 +
.../libc/src/__support/wchar/mbrtowc.h | 29 +
.../libc/src/__support/wchar/mbstate.h | 37 +
.../libc/src/__support/wchar/string_converter.h | 110 +
.../libc/src/__support/wchar/wcrtomb.cpp | 50 +
.../libc/src/__support/wchar/wcrtomb.h | 26 +
.../libc/src/__support/wcs_to_integer.h | 155 +
.../llvm-project/libc/src/__support/wctype_utils.h | 606 +
611 files changed, 170014 insertions(+)
diff --git a/contrib/llvm-project/libc/hdr/errno_macros.h b/contrib/llvm-project/libc/hdr/errno_macros.h
new file mode 100644
index 000000000000..27ea49977d8c
--- /dev/null
+++ b/contrib/llvm-project/libc/hdr/errno_macros.h
@@ -0,0 +1,28 @@
+//===-- Definition of macros from errno.h ---------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_HDR_ERRNO_MACROS_H
+#define LLVM_LIBC_HDR_ERRNO_MACROS_H
+
+#ifdef LIBC_FULL_BUILD
+
+#ifdef __linux__
+#include <linux/errno.h>
+
+#include "include/llvm-libc-macros/error-number-macros.h"
+#else // __linux__
+#include "include/llvm-libc-macros/generic-error-number-macros.h"
+#endif
+
+#else // Overlay mode
+
+#include <errno.h>
+
+#endif // LLVM_LIBC_FULL_BUILD
+
+#endif // LLVM_LIBC_HDR_ERRNO_MACROS_H
diff --git a/contrib/llvm-project/libc/hdr/fcntl_macros.h b/contrib/llvm-project/libc/hdr/fcntl_macros.h
new file mode 100644
index 000000000000..3a1ddeb0a2da
--- /dev/null
+++ b/contrib/llvm-project/libc/hdr/fcntl_macros.h
@@ -0,0 +1,22 @@
+//===-- Definition of macros from fcntl/fcntl.h ---------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_HDR_FCNTL_MACROS_H
+#define LLVM_LIBC_HDR_FCNTL_MACROS_H
+
+#ifdef LIBC_FULL_BUILD
+
+#include "include/llvm-libc-macros/fcntl-macros.h"
+
+#else // Overlay mode
+
+#include "hdr/fcntl_overlay.h"
+
+#endif // LLVM_LIBC_FULL_BUILD
+
+#endif // LLVM_LIBC_HDR_FCNTL_MACROS_H
diff --git a/contrib/llvm-project/libc/hdr/fcntl_overlay.h b/contrib/llvm-project/libc/hdr/fcntl_overlay.h
new file mode 100644
index 000000000000..17ae78b3d0ec
--- /dev/null
+++ b/contrib/llvm-project/libc/hdr/fcntl_overlay.h
@@ -0,0 +1,47 @@
+//===-- Including fcntl.h in overlay mode ---------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_HDR_FCNTL_OVERLAY_H
+#define LLVM_LIBC_HDR_FCNTL_OVERLAY_H
+
+#ifdef LIBC_FULL_BUILD
+#error "This header should only be included in overlay mode"
+#endif
+
+// Overlay mode
+
+// glibc <fcntl.h> header might provide extern inline definitions for few
+// functions, causing external alias errors. They are guarded by
+// `__USE_FORTIFY_LEVEL`, which will be temporarily disabled
+// with `_FORTIFY_SOURCE`.
+
+#ifdef _FORTIFY_SOURCE
+#define LIBC_OLD_FORTIFY_SOURCE _FORTIFY_SOURCE
+#undef _FORTIFY_SOURCE
+#endif
+
+#ifdef __USE_FORTIFY_LEVEL
+#define LIBC_OLD_USE_FORTIFY_LEVEL __USE_FORTIFY_LEVEL
+#undef __USE_FORTIFY_LEVEL
+#define __USE_FORTIFY_LEVEL 0
+#endif
+
+#include <fcntl.h>
+
+#ifdef LIBC_OLD_FORTIFY_SOURCE
+#define _FORTIFY_SOURCE LIBC_OLD_FORTIFY_SOURCE
+#undef LIBC_OLD_FORTIFY_SOURCE
+#endif
+
+#ifdef LIBC_OLD_USE_FORTIFY_LEVEL
+#undef __USE_FORTIFY_LEVEL
+#define __USE_FORTIFY_LEVEL LIBC_OLD_USE_FORTIFY_LEVEL
+#undef LIBC_OLD_USE_FORTIFY_LEVEL
+#endif
+
+#endif // LLVM_LIBC_HDR_FCNTL_OVERLAY_H
diff --git a/contrib/llvm-project/libc/hdr/fenv_macros.h b/contrib/llvm-project/libc/hdr/fenv_macros.h
new file mode 100644
index 000000000000..3f0bd89a6ea3
--- /dev/null
+++ b/contrib/llvm-project/libc/hdr/fenv_macros.h
@@ -0,0 +1,61 @@
+//===-- Definition of macros from fenv.h ----------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_HDR_FENV_MACROS_H
+#define LLVM_LIBC_HDR_FENV_MACROS_H
+
+#ifdef LIBC_FULL_BUILD
+
+#include "include/llvm-libc-macros/fenv-macros.h"
+
+#else // Overlay mode
+
+#include <fenv.h>
+
+// In some environment, FE_ALL_EXCEPT is set to 0 and the remaining exceptions
+// FE_* are missing.
+#ifndef FE_DIVBYZERO
+#define FE_DIVBYZERO 0
+#endif // FE_DIVBYZERO
+
+#ifndef FE_INEXACT
+#define FE_INEXACT 0
+#endif // FE_INEXACT
+
+#ifndef FE_INVALID
+#define FE_INVALID 0
+#endif // FE_INVALID
+
+#ifndef FE_OVERFLOW
+#define FE_OVERFLOW 0
+#endif // FE_OVERFLOW
+
+#ifndef FE_UNDERFLOW
+#define FE_UNDERFLOW 0
+#endif // FE_UNDERFLOW
+
+// Rounding mode macros might be missing.
+#ifndef FE_DOWNWARD
+#define FE_DOWNWARD 0x400
+#endif // FE_DOWNWARD
+
+#ifndef FE_TONEAREST
+#define FE_TONEAREST 0
+#endif // FE_TONEAREST
+
+#ifndef FE_TOWARDZERO
+#define FE_TOWARDZERO 0xC00
+#endif // FE_TOWARDZERO
+
+#ifndef FE_UPWARD
+#define FE_UPWARD 0x800
+#endif // FE_UPWARD
+
+#endif // LLVM_LIBC_FULL_BUILD
+
+#endif // LLVM_LIBC_HDR_FENV_MACROS_H
diff --git a/contrib/llvm-project/libc/hdr/float_macros.h b/contrib/llvm-project/libc/hdr/float_macros.h
new file mode 100644
index 000000000000..a0ef5e29b986
--- /dev/null
+++ b/contrib/llvm-project/libc/hdr/float_macros.h
@@ -0,0 +1,22 @@
+//===-- Definition of macros from math.h ----------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_HDR_FLOAT_MACROS_H
+#define LLVM_LIBC_HDR_FLOAT_MACROS_H
+
+#ifdef LIBC_FULL_BUILD
+
+#include "include/llvm-libc-macros/float-macros.h"
+
+#else // Overlay mode
+
+#include <float.h>
+
+#endif // LLVM_LIBC_FULL_BUILD
+
+#endif // LLVM_LIBC_HDR_FLOAT_MACROS_H
diff --git a/contrib/llvm-project/libc/hdr/func/aligned_alloc.h b/contrib/llvm-project/libc/hdr/func/aligned_alloc.h
new file mode 100644
index 000000000000..b3436dfee1f2
--- /dev/null
+++ b/contrib/llvm-project/libc/hdr/func/aligned_alloc.h
@@ -0,0 +1,22 @@
+//===-- Definition of the aligned_alloc.h proxy ---------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_HDR_FUNC_ALIGNED_ALLOC_H
+#define LLVM_LIBC_HDR_FUNC_ALIGNED_ALLOC_H
+
+#ifdef LIBC_FULL_BUILD
+#include "hdr/types/size_t.h"
+extern "C" void *aligned_alloc(size_t, size_t);
+
+#else // Overlay mode
+
+#include "hdr/stdlib_overlay.h"
+
+#endif
+
+#endif
diff --git a/contrib/llvm-project/libc/hdr/func/free.h b/contrib/llvm-project/libc/hdr/func/free.h
new file mode 100644
index 000000000000..316556b21e3b
--- /dev/null
+++ b/contrib/llvm-project/libc/hdr/func/free.h
@@ -0,0 +1,22 @@
+//===-- Definition of the free.h proxy ------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_HDR_FUNC_FREE_H
+#define LLVM_LIBC_HDR_FUNC_FREE_H
+
+#ifdef LIBC_FULL_BUILD
+
+extern "C" void free(void *) noexcept;
+
+#else // Overlay mode
+
+#include "hdr/stdlib_overlay.h"
+
+#endif
+
+#endif
diff --git a/contrib/llvm-project/libc/hdr/func/malloc.h b/contrib/llvm-project/libc/hdr/func/malloc.h
new file mode 100644
index 000000000000..8281021f7996
--- /dev/null
+++ b/contrib/llvm-project/libc/hdr/func/malloc.h
@@ -0,0 +1,24 @@
+//===-- Definition of the malloc.h proxy ----------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_HDR_FUNC_MALLOC_H
+#define LLVM_LIBC_HDR_FUNC_MALLOC_H
+
+#ifdef LIBC_FULL_BUILD
+
+#include "hdr/types/size_t.h"
+
+extern "C" void *malloc(size_t) noexcept;
+
+#else // Overlay mode
+
+#include "hdr/stdlib_overlay.h"
+
+#endif
+
+#endif
diff --git a/contrib/llvm-project/libc/hdr/func/realloc.h b/contrib/llvm-project/libc/hdr/func/realloc.h
new file mode 100644
index 000000000000..ecb29541fe34
--- /dev/null
+++ b/contrib/llvm-project/libc/hdr/func/realloc.h
@@ -0,0 +1,24 @@
+//===-- Definition of the realloc.h proxy ---------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_HDR_FUNC_REALLOC_H
+#define LLVM_LIBC_HDR_FUNC_REALLOC_H
+
+#ifdef LIBC_FULL_BUILD
+
+#include "hdr/types/size_t.h"
+
+extern "C" void *realloc(void *ptr, size_t new_size) noexcept;
+
+#else // Overlay mode
+
+#include "hdr/stdlib_overlay.h"
+
+#endif
+
+#endif
diff --git a/contrib/llvm-project/libc/hdr/limits_macros.h b/contrib/llvm-project/libc/hdr/limits_macros.h
new file mode 100644
index 000000000000..2dc13b0cca60
--- /dev/null
+++ b/contrib/llvm-project/libc/hdr/limits_macros.h
@@ -0,0 +1,22 @@
+//===-- Definition of macros from limits.h --------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_HDR_LIMITS_MACROS_H
+#define LLVM_LIBC_HDR_LIMITS_MACROS_H
+
+#ifdef LIBC_FULL_BUILD
+
+#include "include/llvm-libc-macros/limits-macros.h"
+
+#else // Overlay mode
+
+#include <limits.h>
+
+#endif // LLVM_LIBC_FULL_BUILD
+
+#endif // LLVM_LIBC_HDR_LIMITS_MACROS_H
*** 173323 LINES SKIPPED ***