[libc] remove errno.h includes (#110934)
This commit is contained in:
committed by
GitHub
parent
47e6d18162
commit
46944b0cbc
@@ -21,4 +21,12 @@
|
||||
#define EHWPOISON 133
|
||||
#endif // EHWPOISON
|
||||
|
||||
#ifndef EOPNOTSUPP
|
||||
#define EOPNOTSUPP 95
|
||||
#endif
|
||||
|
||||
#ifndef ENOTSUP
|
||||
#define ENOTSUP EOPNOTSUPP
|
||||
#endif
|
||||
|
||||
#endif // LLVM_LIBC_MACROS_LINUX_ERROR_NUMBER_MACROS_H
|
||||
|
||||
@@ -3,7 +3,7 @@ add_header_library(
|
||||
HDRS
|
||||
stdc_errors.h
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.src.errno.errno
|
||||
libc.src.__support.StringUtil.message_mapper
|
||||
)
|
||||
|
||||
@@ -12,7 +12,7 @@ add_header_library(
|
||||
HDRS
|
||||
posix_errors.h
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.src.errno.errno
|
||||
libc.src.__support.StringUtil.message_mapper
|
||||
)
|
||||
|
||||
@@ -21,8 +21,8 @@ add_header_library(
|
||||
HDRS
|
||||
linux_extension_errors.h
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.src.__support.StringUtil.message_mapper
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_header_library(
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
#include "src/__support/StringUtil/message_mapper.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
|
||||
#include <errno.h> // For error macros
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
|
||||
@@ -9,11 +9,10 @@
|
||||
#ifndef LLVM_LIBC_SRC___SUPPORT_STRINGUTIL_TABLES_POSIX_ERRORS_H
|
||||
#define LLVM_LIBC_SRC___SUPPORT_STRINGUTIL_TABLES_POSIX_ERRORS_H
|
||||
|
||||
#include "hdr/errno_macros.h"
|
||||
#include "src/__support/StringUtil/message_mapper.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
|
||||
#include <errno.h> // For error macros
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
LIBC_INLINE_VAR constexpr MsgTable<76> POSIX_ERRORS = {
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
#include "src/__support/StringUtil/message_mapper.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
|
||||
#include <errno.h> // For error macros
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
LIBC_INLINE_VAR constexpr const MsgTable<4> STDC_ERRORS = {
|
||||
|
||||
@@ -1372,7 +1372,6 @@ add_entrypoint_object(
|
||||
DEPENDS
|
||||
.common_constants
|
||||
.explogxf
|
||||
libc.include.errno
|
||||
libc.src.__support.CPP.bit
|
||||
libc.src.__support.CPP.optional
|
||||
libc.src.__support.FPUtil.dyadic_float
|
||||
@@ -1406,7 +1405,6 @@ add_entrypoint_object(
|
||||
libc.src.__support.FPUtil.polyeval
|
||||
libc.src.__support.FPUtil.rounding_mode
|
||||
libc.src.__support.macros.optimization
|
||||
libc.include.errno
|
||||
libc.src.errno.errno
|
||||
COMPILE_OPTIONS
|
||||
-O3
|
||||
@@ -1445,7 +1443,6 @@ add_entrypoint_object(
|
||||
DEPENDS
|
||||
.common_constants
|
||||
.explogxf
|
||||
libc.include.errno
|
||||
libc.src.__support.CPP.bit
|
||||
libc.src.__support.CPP.optional
|
||||
libc.src.__support.FPUtil.dyadic_float
|
||||
@@ -1478,7 +1475,6 @@ add_header_library(
|
||||
libc.src.__support.FPUtil.rounding_mode
|
||||
libc.src.__support.macros.optimization
|
||||
libc.src.__support.common
|
||||
libc.include.errno
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
@@ -1548,7 +1544,6 @@ add_entrypoint_object(
|
||||
DEPENDS
|
||||
.common_constants
|
||||
.explogxf
|
||||
libc.include.errno
|
||||
libc.src.__support.CPP.bit
|
||||
libc.src.__support.CPP.optional
|
||||
libc.src.__support.FPUtil.dyadic_float
|
||||
@@ -1580,7 +1575,6 @@ add_header_library(
|
||||
libc.src.__support.FPUtil.rounding_mode
|
||||
libc.src.__support.macros.optimization
|
||||
libc.src.__support.common
|
||||
libc.include.errno
|
||||
libc.src.errno.errno
|
||||
COMPILE_OPTIONS
|
||||
-O3
|
||||
@@ -1632,7 +1626,6 @@ add_entrypoint_object(
|
||||
DEPENDS
|
||||
.common_constants
|
||||
.explogxf
|
||||
libc.include.errno
|
||||
libc.src.__support.CPP.bit
|
||||
libc.src.__support.CPP.optional
|
||||
libc.src.__support.FPUtil.dyadic_float
|
||||
@@ -1666,7 +1659,6 @@ add_entrypoint_object(
|
||||
libc.src.__support.FPUtil.polyeval
|
||||
libc.src.__support.FPUtil.rounding_mode
|
||||
libc.src.__support.macros.optimization
|
||||
libc.include.errno
|
||||
libc.src.errno.errno
|
||||
COMPILE_OPTIONS
|
||||
-O3
|
||||
@@ -1705,7 +1697,6 @@ add_entrypoint_object(
|
||||
.exp10f_impl
|
||||
.exp2f_impl
|
||||
.explogxf
|
||||
libc.include.errno
|
||||
libc.src.__support.CPP.bit
|
||||
libc.src.__support.CPP.optional
|
||||
libc.src.__support.FPUtil.fenv_impl
|
||||
@@ -4144,7 +4135,6 @@ add_object_library(
|
||||
libc.src.__support.FPUtil.nearest_integer
|
||||
libc.src.__support.FPUtil.polyeval
|
||||
libc.src.__support.common
|
||||
libc.include.errno
|
||||
libc.src.errno.errno
|
||||
COMPILE_OPTIONS
|
||||
-O3
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include "inv_trigf_utils.h"
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
|
||||
#include "src/__support/macros/properties/cpu_features.h" // LIBC_TARGET_CPU_HAS_FMA
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include "inv_trigf_utils.h"
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
|
||||
#include "src/__support/macros/properties/cpu_features.h" // LIBC_TARGET_CPU_HAS_FMA
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
// Exceptional cases for cosf.
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
using fputil::DoubleDouble;
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
using fputil::DoubleDouble;
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
namespace generic {
|
||||
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
using fputil::DoubleDouble;
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
|
||||
#include "src/__support/macros/properties/cpu_features.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include "explogxf.h"
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
LLVM_LIBC_FUNCTION(float, expf, (float x)) {
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/macros/properties/cpu_features.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
struct ExpBase {
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
|
||||
#include "src/__support/macros/properties/cpu_features.h" // LIBC_TARGET_CPU_HAS_FMA
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
LLVM_LIBC_FUNCTION(float, expm1f, (float x)) {
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
#include "exp10f_impl.h" // Speedup for powf(10, y) = exp10f(y)
|
||||
#include "exp2f_impl.h" // Speedup for powf(2, y) = exp2f(y)
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
using fputil::DoubleDouble;
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
|
||||
#include "src/__support/macros/properties/cpu_features.h" // LIBC_TARGET_CPU_HAS_FMA
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
// Exceptional values
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
|
||||
#include "src/__support/macros/properties/cpu_features.h" // LIBC_TARGET_CPU_HAS_FMA
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#if defined(LIBC_TARGET_CPU_HAS_FMA)
|
||||
#include "range_reduction_fma.h"
|
||||
#else
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
|
||||
#include "src/__support/macros/properties/cpu_features.h" // LIBC_TARGET_CPU_HAS_FMA
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
// Exceptional cases for tanf.
|
||||
|
||||
@@ -36,6 +36,7 @@ add_entrypoint_object(
|
||||
pthread_attr_setdetachstate.h
|
||||
DEPENDS
|
||||
libc.include.pthread
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -56,6 +57,7 @@ add_entrypoint_object(
|
||||
pthread_attr_setguardsize.h
|
||||
DEPENDS
|
||||
libc.include.pthread
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -76,6 +78,7 @@ add_entrypoint_object(
|
||||
pthread_attr_setstacksize.h
|
||||
DEPENDS
|
||||
libc.include.pthread
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -98,6 +101,7 @@ add_entrypoint_object(
|
||||
DEPENDS
|
||||
libc.include.pthread
|
||||
libc.src.pthread.pthread_attr_setstacksize
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -149,10 +153,10 @@ add_entrypoint_object(
|
||||
HDRS
|
||||
pthread_condattr_setclock.h
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.include.pthread
|
||||
libc.include.sys_types
|
||||
libc.include.time
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -163,6 +167,7 @@ add_entrypoint_object(
|
||||
pthread_condattr_setpshared.h
|
||||
DEPENDS
|
||||
libc.include.pthread
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_header_library(
|
||||
@@ -205,6 +210,7 @@ add_entrypoint_object(
|
||||
DEPENDS
|
||||
.pthread_mutexattr
|
||||
libc.include.pthread
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -215,7 +221,7 @@ add_entrypoint_object(
|
||||
pthread_mutexattr_destroy.h
|
||||
DEPENDS
|
||||
.pthread_mutexattr
|
||||
libc.include.errno
|
||||
libc.src.errno.errno
|
||||
libc.include.pthread
|
||||
)
|
||||
|
||||
@@ -238,8 +244,8 @@ add_entrypoint_object(
|
||||
pthread_mutexattr_setrobust.h
|
||||
DEPENDS
|
||||
.pthread_mutexattr
|
||||
libc.include.errno
|
||||
libc.include.pthread
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -261,8 +267,8 @@ add_entrypoint_object(
|
||||
pthread_mutexattr_setpshared.h
|
||||
DEPENDS
|
||||
.pthread_mutexattr
|
||||
libc.include.errno
|
||||
libc.include.pthread
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -273,7 +279,7 @@ add_entrypoint_object(
|
||||
pthread_mutex_init.h
|
||||
DEPENDS
|
||||
.pthread_mutexattr
|
||||
libc.include.errno
|
||||
libc.src.errno.errno
|
||||
libc.include.pthread
|
||||
libc.src.__support.threads.mutex
|
||||
)
|
||||
@@ -318,7 +324,6 @@ add_entrypoint_object(
|
||||
HDRS
|
||||
pthread_create.h
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.include.pthread
|
||||
libc.src.__support.threads.thread
|
||||
libc.src.pthread.pthread_attr_destroy
|
||||
@@ -326,6 +331,7 @@ add_entrypoint_object(
|
||||
libc.src.pthread.pthread_attr_getdetachstate
|
||||
libc.src.pthread.pthread_attr_getguardsize
|
||||
libc.src.pthread.pthread_attr_getstack
|
||||
libc.src.errno.errno
|
||||
COMPILE_OPTIONS
|
||||
-O3
|
||||
-fno-omit-frame-pointer
|
||||
@@ -419,9 +425,9 @@ add_entrypoint_object(
|
||||
HDRS
|
||||
pthread_key_create.h
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.include.pthread
|
||||
libc.src.__support.threads.thread
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -431,9 +437,9 @@ add_entrypoint_object(
|
||||
HDRS
|
||||
pthread_key_delete.h
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.include.pthread
|
||||
libc.src.__support.threads.thread
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -443,8 +449,8 @@ add_entrypoint_object(
|
||||
HDRS
|
||||
pthread_getspecific.h
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.include.pthread
|
||||
libc.src.errno.errno
|
||||
libc.src.__support.threads.thread
|
||||
)
|
||||
|
||||
@@ -455,9 +461,9 @@ add_entrypoint_object(
|
||||
HDRS
|
||||
pthread_setspecific.h
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.include.pthread
|
||||
libc.src.__support.threads.thread
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -508,7 +514,7 @@ add_entrypoint_object(
|
||||
pthread_rwlockattr_setkind_np.h
|
||||
DEPENDS
|
||||
libc.include.pthread
|
||||
libc.include.errno
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -519,7 +525,7 @@ add_entrypoint_object(
|
||||
pthread_rwlockattr_setpshared.h
|
||||
DEPENDS
|
||||
libc.include.pthread
|
||||
libc.include.errno
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -554,6 +560,7 @@ add_entrypoint_object(
|
||||
DEPENDS
|
||||
libc.include.pthread
|
||||
libc.src.__support.threads.linux.rwlock
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -587,6 +594,7 @@ add_entrypoint_object(
|
||||
DEPENDS
|
||||
libc.include.pthread
|
||||
libc.src.__support.threads.linux.rwlock
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -631,6 +639,7 @@ add_entrypoint_object(
|
||||
DEPENDS
|
||||
libc.include.pthread
|
||||
libc.src.__support.threads.linux.rwlock
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -727,7 +736,7 @@ add_entrypoint_object(
|
||||
HDRS
|
||||
pthread_atfork.h
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.include.pthread
|
||||
libc.src.__support.threads.fork_callbacks
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/fork_callbacks.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h> // For pthread_* type definitions.
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <linux/param.h> // For EXEC_PAGESIZE.
|
||||
#include <pthread.h>
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/thread.h" // For STACK_ALIGNMENT
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h> // EINVAL
|
||||
#include <pthread.h> // pthread_condattr_t
|
||||
#include <sys/types.h> // clockid_t
|
||||
#include <time.h> // CLOCK_MONOTONIC, CLOCK_REALTIME
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h> // EINVAL
|
||||
#include <pthread.h> // pthread_condattr_t, PTHREAD_PROCESS_SHARED, PTHREAD_PROCESS_PRIVATE
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/macros/optimization.h"
|
||||
#include "src/__support/threads/thread.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h> // For pthread_* type definitions.
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/thread.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/thread.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/mutex.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
LLVM_LIBC_FUNCTION(int, pthread_mutexattr_destroy, (pthread_mutexattr_t *)) {
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
LLVM_LIBC_FUNCTION(int, pthread_mutexattr_getpshared,
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
LLVM_LIBC_FUNCTION(int, pthread_mutexattr_getrobust,
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
LLVM_LIBC_FUNCTION(int, pthread_mutexattr_gettype,
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/linux/rwlock.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/linux/rwlock.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/linux/rwlock.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -7,15 +7,14 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "src/pthread/pthread_rwlock_timedrdlock.h"
|
||||
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/libc_assert.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/macros/optimization.h"
|
||||
#include "src/__support/threads/linux/rwlock.h"
|
||||
#include "src/__support/time/linux/abs_timeout.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include "src/__support/threads/linux/rwlock.h"
|
||||
#include "src/__support/time/linux/abs_timeout.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/linux/rwlock.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/linux/rwlock.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/linux/rwlock.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/linux/rwlock.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h> // pthread_rwlockattr_t
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h> // EINVAL
|
||||
#include <pthread.h> // pthread_rwlockattr_t, PTHREAD_PROCESS_SHARED, PTHREAD_PROCESS_PRIVATE
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/thread.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -28,9 +28,9 @@ add_entrypoint_object(
|
||||
posix_spawn_file_actions_destroy.h
|
||||
DEPENDS
|
||||
.file_actions
|
||||
libc.include.errno
|
||||
libc.include.spawn
|
||||
libc.src.__support.CPP.new
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -41,9 +41,9 @@ add_entrypoint_object(
|
||||
posix_spawn_file_actions_adddup2.h
|
||||
DEPENDS
|
||||
.file_actions
|
||||
libc.include.errno
|
||||
libc.include.spawn
|
||||
libc.src.__support.CPP.new
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -54,9 +54,9 @@ add_entrypoint_object(
|
||||
posix_spawn_file_actions_addopen.h
|
||||
DEPENDS
|
||||
.file_actions
|
||||
libc.include.errno
|
||||
libc.include.spawn
|
||||
libc.src.__support.CPP.new
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
@@ -67,9 +67,9 @@ add_entrypoint_object(
|
||||
posix_spawn_file_actions_addclose.h
|
||||
DEPENDS
|
||||
.file_actions
|
||||
libc.include.errno
|
||||
libc.include.spawn
|
||||
libc.src.__support.CPP.new
|
||||
libc.src.errno.errno
|
||||
)
|
||||
|
||||
add_entrypoint_object(
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
#include "src/__support/CPP/new.h"
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <spawn.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
#include "src/__support/CPP/new.h"
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <spawn.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
#include "src/__support/CPP/new.h"
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <spawn.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -9,11 +9,12 @@
|
||||
#include "posix_spawn_file_actions_destroy.h"
|
||||
|
||||
#include "file_actions.h"
|
||||
|
||||
#include "src/__support/CPP/new.h"
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <spawn.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -22,6 +22,7 @@ add_entrypoint_object(
|
||||
DEPENDS
|
||||
libc.src.__support.threads.thread
|
||||
libc.include.threads
|
||||
libc.src.errno.errno
|
||||
COMPILE_OPTIONS
|
||||
-O3
|
||||
-fno-omit-frame-pointer # This allows us to sniff out the thread args from
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include "src/__support/common.h"
|
||||
#include "src/__support/macros/config.h"
|
||||
#include "src/__support/threads/thread.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <threads.h> // For thrd_* type definitions.
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
#include "src/stdio/printf_core/core_structs.h"
|
||||
#include "test/UnitTest/Test.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
namespace testing {
|
||||
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
#include "src/stdio/scanf_core/core_structs.h"
|
||||
#include "test/UnitTest/Test.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
namespace LIBC_NAMESPACE_DECL {
|
||||
namespace testing {
|
||||
|
||||
|
||||
@@ -115,7 +115,6 @@ add_integration_test(
|
||||
SRCS
|
||||
pthread_name_test.cpp
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.include.pthread
|
||||
libc.src.errno.errno
|
||||
libc.src.pthread.pthread_create
|
||||
@@ -185,8 +184,8 @@ add_integration_test(
|
||||
pthread_join_test.cpp
|
||||
DEPENDS
|
||||
libc.include.pthread
|
||||
libc.include.errno
|
||||
libc.include.stdio
|
||||
libc.src.errno.errno
|
||||
libc.src.pthread.pthread_create
|
||||
libc.src.pthread.pthread_join
|
||||
)
|
||||
@@ -199,7 +198,7 @@ add_integration_test(
|
||||
pthread_create_test.cpp
|
||||
DEPENDS
|
||||
libc.include.pthread
|
||||
libc.include.errno
|
||||
libc.src.errno.errno
|
||||
libc.src.pthread.pthread_create
|
||||
libc.src.pthread.pthread_join
|
||||
libc.src.pthread.pthread_attr_getdetachstate
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "src/__support/CPP/string_view.h"
|
||||
#include "src/errno/libc_errno.h"
|
||||
#include "src/pthread/pthread_create.h"
|
||||
#include "src/pthread/pthread_getname_np.h"
|
||||
#include "src/pthread/pthread_join.h"
|
||||
@@ -19,7 +20,6 @@
|
||||
|
||||
#include "test/IntegrationTest/test.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
#include <stdint.h> // uintptr_t
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include "test_binary_properties.h"
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
@@ -21,10 +21,10 @@ add_integration_test(
|
||||
SRCS
|
||||
fork_test.cpp
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.include.signal
|
||||
libc.include.sys_wait
|
||||
libc.include.unistd
|
||||
libc.src.errno.errno
|
||||
libc.src.pthread.pthread_atfork
|
||||
libc.src.signal.raise
|
||||
libc.src.sys.wait.wait
|
||||
@@ -45,11 +45,11 @@ if((${LIBC_TARGET_OS} STREQUAL "linux") AND (${LIBC_TARGET_ARCHITECTURE_IS_X86})
|
||||
SRCS
|
||||
stack_smashing_test.cpp
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.include.signal
|
||||
libc.include.sys_wait
|
||||
libc.include.unistd
|
||||
libc.src.compiler.__stack_chk_fail
|
||||
libc.src.errno.errno
|
||||
libc.src.pthread.pthread_atfork
|
||||
libc.src.signal.raise
|
||||
libc.src.sys.wait.wait
|
||||
@@ -94,7 +94,7 @@ add_integration_test(
|
||||
DEPENDS
|
||||
libc_execv_test_normal_exit
|
||||
libc_execv_test_signal_exit
|
||||
libc.include.errno
|
||||
libc.src.errno.errno
|
||||
libc.src.sys.wait.waitpid
|
||||
libc.src.unistd.execv
|
||||
libc.src.unistd.fork
|
||||
@@ -111,7 +111,7 @@ add_integration_test(
|
||||
DEPENDS
|
||||
libc_execv_test_normal_exit
|
||||
libc_execv_test_signal_exit
|
||||
libc.include.errno
|
||||
libc.errno.errno
|
||||
libc.src.sys.wait.waitpid
|
||||
libc.src.unistd.execve
|
||||
libc.src.unistd.fork
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
|
||||
#include "test/IntegrationTest/test.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
#include "test/IntegrationTest/test.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -38,7 +38,6 @@ add_integration_test(
|
||||
SRCS
|
||||
tls_test.cpp
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.include.sys_mman
|
||||
libc.src.errno.errno
|
||||
libc.src.sys.mman.mmap
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "src/sys/mman/mmap.h"
|
||||
#include "test/IntegrationTest/test.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
constexpr int threadLocalDataSize = 101;
|
||||
|
||||
@@ -14,9 +14,9 @@ add_libc_test(
|
||||
LINK_LIBRARIES
|
||||
LibcMemoryHelpers
|
||||
DEPENDS
|
||||
libc.include.errno
|
||||
libc.include.stdio
|
||||
libc.include.stdlib
|
||||
libc.src.errno.errno
|
||||
libc.src.__support.CPP.new
|
||||
libc.src.__support.File.file
|
||||
)
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include "hdr/math_macros.h"
|
||||
#include <errno.h>
|
||||
|
||||
namespace mpfr = LIBC_NAMESPACE::testing::mpfr;
|
||||
using LIBC_NAMESPACE::Sign;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace mpfr = LIBC_NAMESPACE::testing::mpfr;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcAcoshfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcAsinfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcAsinhfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcAtanfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcAtanhfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include "test/src/math/sdcomp26094.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LIBC_NAMESPACE::testing::SDCOMP26094_VALUES;
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcCoshfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcErffTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcExp10Test = LIBC_NAMESPACE::testing::FPTest<double>;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcExp2Test = LIBC_NAMESPACE::testing::FPTest<double>;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcExpTest = LIBC_NAMESPACE::testing::FPTest<double>;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcLog10Test = LIBC_NAMESPACE::testing::FPTest<double>;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcLog10fTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcLog1pTest = LIBC_NAMESPACE::testing::FPTest<double>;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcLog1pfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcLog2Test = LIBC_NAMESPACE::testing::FPTest<double>;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcLogTest = LIBC_NAMESPACE::testing::FPTest<double>;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcPowfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include "test/src/math/sdcomp26094.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcSinCosfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include "test/src/math/sdcomp26094.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcSinfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcSinhfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#include "test/UnitTest/Test.h"
|
||||
|
||||
#include "hdr/math_macros.h"
|
||||
#include <errno.h>
|
||||
|
||||
static constexpr int ROUNDING_MODES[4] = {FE_UPWARD, FE_DOWNWARD, FE_TOWARDZERO,
|
||||
FE_TONEAREST};
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "test/UnitTest/FPMatcher.h"
|
||||
#include "test/UnitTest/Test.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcAcosfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "test/UnitTest/FPMatcher.h"
|
||||
#include "test/UnitTest/Test.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcAcoshfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "test/UnitTest/FPMatcher.h"
|
||||
#include "test/UnitTest/Test.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcAsinfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "test/UnitTest/FPMatcher.h"
|
||||
#include "test/UnitTest/Test.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcAsinhfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "test/UnitTest/FPMatcher.h"
|
||||
#include "test/UnitTest/Test.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LlvmLibcAtanfTest = LIBC_NAMESPACE::testing::FPTest<float>;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "test/UnitTest/FPMatcher.h"
|
||||
#include "test/UnitTest/Test.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using LIBC_NAMESPACE::Sign;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user