Skip to content

[libc] Add proxy headers for fenv.h types. #88187

Closed
@lntue

Description

@lntue

Context: #87017 #87598

This is the continuation of #87863.

Add a proxy header for fenv.h types so that our implementations and tests will work nicely for both overlay and full build modes.

  • Add libc/hdr/fenv_t.h and libc\hdr\fexcept_t that will include the system <fenv.h> in overlay mode or include the corresponding header in libc/include/llvm-libc-types/ in full build mode.
  • Add its corresponding cmake targets in libc/hdr/CMakeLists.txt.
  • Replacing the remaining #include <fenv.h> and cmake target dependency on libc.include.fenv.
  • Add their corresponding bazel targets in utils/bazel/llvm-project-overlay/libc/BUILD.bazel.
  • Update bazel dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuehttps://github.com/llvm/llvm-project/contributelibc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions