llvm / llvm-project

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

[libc] proxy headers walk through #99693

Open SchrodingerZhu opened 2 months ago

SchrodingerZhu commented 2 months ago

We have introduced proxy layers to help us dispatch headers for overlay mode and fullbuild mode. However, as proxy layers is just introduced early this year, many headers are not properly ported to use proxy layers. Depending on platforms, glibc and linux versions, build errors due to mixed system and llvm definitions are frequently reported. We should scan through the libc codebase to properly provide overlay type/macro definitions via proxy layers.

@lntue maybe we can keep the list updated in this issue?

michaelrj-google commented 2 months ago

From a quick search through the codebase I found this list of public headers that are currently being including and need updating:

And this list of internal headers being included that need updating: