Files
Reid Kleckner 821afb2ed8 [docs] Rewrite libc docs from reST to markdown (#208802)
Tracking issue: https://github.com/llvm/llvm-project/issues/201242
Migration guide docs:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
RFC:
https://discourse.llvm.org/t/rfc-make-myst-markdown-the-llvm-docs-format-rip-rest/90840

This was prepared with rst2myst plus LLM-assisted cleanup. I paged
through all the generated HTML looking for migration artifacts, and all
of the differences I could find appear to be formatting error
corrections. Please spot check my work and approve if it looks good.
2026-07-10 11:45:43 -07:00

656 B

(compiler_support)=

Compiler Support

LLVM libc compiles from both Clang and GCC but for maximum performance we recommend using Clang.

Indeed, 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.

For platforms where only GCC is natively available but maximum performance is required it is possible to bootstrap Clang with GCC and then use Clang to build the libc project.

Minimum supported versions

  • Clang 11
  • GCC 12.2