Skip to content

Commit

Permalink
[libc] Add a section about supported compilers in the documentation
Browse files Browse the repository at this point in the history
Context #59368

Differential Revision: https://reviews.llvm.org/D141045
  • Loading branch information
gchatelet committed Jan 6, 2023
1 parent 0421074 commit 062a7ea
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions libc/docs/compiler_support.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. _compiler_support:

================
Compiler Support
================

As of now only ``Clang`` is fully supported.

We are in the process of supporting ``GCC`` but some memory function implementations rely on `compiler intrinsics`__ that are not currently available in ``GCC``.
As such we cannot guarantee optimal performance for these functions.

.. __: https://clang.llvm.org/docs/LanguageExtensions.html#guaranteed-inlined-copy

Minimum version
===============

- ``Clang 11``
1 change: 1 addition & 0 deletions libc/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ stages there is no ABI stability in any form.
:maxdepth: 1
:caption: Development

compiler_support
build_and_test
developer_guides
porting
Expand Down

0 comments on commit 062a7ea

Please sign in to comment.