//===------------- Linux VDSO Symbols ---------------------------*- C++ -*-===// // // 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 // //===----------------------------------------------------------------------===// #include "hdr/types/clock_t.h" #include "hdr/types/clockid_t.h" #include "hdr/types/struct_timespec.h" #include "hdr/types/struct_timeval.h" #include "hdr/types/time_t.h" #include "src/__support/common.h" #include <stddef.h> // For size_t. // NOLINTBEGIN(llvmlibc-implementation-in-namespace) // TODO: some of the following can be defined via proxy headers. struct __kernel_timespec; struct timezone; struct riscv_hwprobe; struct getcpu_cache; struct cpu_set_t; // NOLINTEND(llvmlibc-implementation-in-namespace) namespace LIBC_NAMESPACE_DECL { namespace vdso { enum class VDSOSym { … }; template <VDSOSym sym> LIBC_INLINE constexpr auto dispatcher() { … } VDSOSymType; } // namespace vdso } // namespace LIBC_NAMESPACE_DECL