quic-akaryaki wrote: > @quic-akaryaki do we really need the builtin headers? > > for Picolibc, they are needed as Picolibc expects some headers (float.h, ...) > to be provided by the toochain, thats why I am adding them here > [link](https://github.com/llvm/llvm-project/pull/183257/changes#diff-f39bc0410434ecf4b1d4b6cb0df1d33504d9d88410a454c1fbdd707ca870e457R814-R827) > > the internal libc already provides its own headers and we don't really need > clang provided headers AFAIK
There are several reasons resource directory in needed. First, there are compiler-provided definition e.g. in stddef.h. Second, there declaration of target-specific intrinsics, like smmintrin.h for x86 and hexagon_protos.h for hexagon. https://github.com/llvm/llvm-project/pull/186494 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
