llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.42k stars 12.15k forks source link

[libc++] Implement Freestanding #78350

Open ldionne opened 10 months ago

ldionne commented 10 months ago

This issue tracks the work required to make libc++ conforming to the notion of "Freestanding" as specified in the Standard.

At a high level, this means that clang++ -ffreestanding -stdlib=libc++ should work and provide only the Freestanding parts of the Standard. Furthermore, it should require only reasonable functionality from the underlying system, although exactly how that should be achieved still needs to be discussed.

frederick-vs-ja commented 3 months ago

Standard-related issues: