[libc-commits] [PATCH] D82404: [libc] Minimal Darwin support

Alex Brachet via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jun 26 17:43:55 PDT 2020


abrachet added a subscriber: PaulkaToast.
abrachet added a comment.

Would you mind looking if it is possible for a program not to be linked against `LibSystem.dylib` which contains Apple's libc? I thought it was the case that it wasn't possible, but I might be wrong.

> It stills fails the liniting. It claims that stddef.h and stdint.h are system headers. stddef.h and stdint.h are provided by the libc and the resource directory of clang ...

@PaulkaToast Might have some insight here, or maybe ideas on what we can do. But it does make sense that the clang function used in the linter is saying these are system headers, they are provided by Apple also. `/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stddef.h` This one isn't provided by `clang`, right?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82404/new/

https://reviews.llvm.org/D82404





More information about the libc-commits mailing list