diff options
author | Job Henandez Lara <hj93@protonmail.com> | 2024-04-15 11:45:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 11:45:16 -0700 |
commit | 75bbf4dd7cfda744d4a2487cfd06a58194d02db3 (patch) | |
tree | 39b682c5a42f5f17e26ccccb28f4faeda6485737 /utils | |
parent | 58c5f50f4c73945fdc5440dee2fba03267a460d4 (diff) | |
download | llvm-75bbf4dd7cfda744d4a2487cfd06a58194d02db3.zip llvm-75bbf4dd7cfda744d4a2487cfd06a58194d02db3.tar.gz llvm-75bbf4dd7cfda744d4a2487cfd06a58194d02db3.tar.bz2 |
[libc] Add proxy headers for fenv types. (#88467)
Fixes #88187
Diffstat (limited to 'utils')
3 files changed, 18 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel index 9270a9d..fb37f11 100644 --- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel @@ -131,6 +131,16 @@ libc_support_library( ############################ Type Proxy Header Files ########################### libc_support_library( + name = "types_fenv_t", + hdrs = ["hdr/types/fenv_t.h"], +) + +libc_support_library( + name = "types_fexcept_t", + hdrs = ["hdr/types/fexcept_t.h"], +) + +libc_support_library( name = "types_sigset_t", hdrs = ["hdr/types/sigset_t.h"], ) @@ -776,6 +786,7 @@ libc_support_library( ":errno", ":hdr_fenv_macros", ":hdr_math_macros", + ":types_fenv_t" ], ) @@ -1251,6 +1262,7 @@ libc_function( deps = [ ":__support_common", ":__support_fputil_fenv_impl", + ":types_fexcept_t" ], ) @@ -1261,6 +1273,7 @@ libc_function( deps = [ ":__support_common", ":__support_fputil_fenv_impl", + ":types_fexcept_t", ], ) diff --git a/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel index 82c015a7..b1140a5 100644 --- a/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel @@ -87,6 +87,7 @@ libc_support_library( "//libc:__support_fputil_rounding_mode", "//libc:hdr_math_macros", "//libc:hdr_fenv_macros", + "//libc:types_fenv_t", ], ) diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/fenv/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/src/fenv/BUILD.bazel index bce1dd7..359db07 100644 --- a/utils/bazel/llvm-project-overlay/libc/test/src/fenv/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/test/src/fenv/BUILD.bazel @@ -65,6 +65,7 @@ libc_test( "//libc:__support_fputil_fenv_impl", "//libc:__support_macros_properties_architectures", "//libc/test/UnitTest:fp_test_helpers", + "//libc:types_fenv_t", ], ) @@ -77,6 +78,7 @@ libc_test( ], deps = [ "//libc:__support_fputil_fenv_impl", + "//libc:types_fexcept_t", ], ) @@ -115,6 +117,7 @@ libc_test( ], deps = [ "//libc:__support_fputil_fenv_impl", + "//libc:types_fenv_t", ], ) @@ -129,5 +132,6 @@ libc_test( ], deps = [ "//libc:__support_fputil_fenv_impl", + "//libc:types_fenv_t", ], ) |