[libc] Add global stdout and stderr objects.They are added as entrypoint object targets. The header-geninfrastructure has been extended to enable handling standard requiredglobal objects. The lib
[libc] Add global stdout and stderr objects.They are added as entrypoint object targets. The header-geninfrastructure has been extended to enable handling standard requiredglobal objects. The libc-api-test has also been extended to verify theglobal object declarations.Reviewed By: lntueDifferential Revision: https://reviews.llvm.org/D126329
show more ...
[libc] Let header generator generate the type header inclusion boiler plate.Reviewed By: michaelrjDifferential Revision: https://reviews.llvm.org/D117855
[libc] Add missing TableGen dependencyDifferential Revision: https://reviews.llvm.org/D87689
[libc] Add a tool called WrapperGen.This tool will be used to generate C wrappers for the C++ LLVM libcimplementations. This change does not hook this tool up to anything yet.However, it can be u
[libc] Add a tool called WrapperGen.This tool will be used to generate C wrappers for the C++ LLVM libcimplementations. This change does not hook this tool up to anything yet.However, it can be useful for cases where one does not want to run theobjcopy step (to insert the C symbol in the object file) but can make useof LTO to eliminate the cost of the additional wrapper call. This can berelevant for certain downstream platforms. If this tool can benefit otherlibc platforms in general, then it can be integrated into the build systemwith options to use or not use the wrappers. An example of such aplatform is CUDA.Reviewed By: abrachetDifferential Revision: https://reviews.llvm.org/D84848
[libc] [obvious] Fix typo in binary header.
[libc][obvious] Add license headers to APIIndexer.[cpp|h].
[libc][NFC] Move tablegen indexer class into a util library of its own.This class is currently used by two tools: HdrGen and PrototypeTestGen.We will be adding more tools based on this class so it
[libc][NFC] Move tablegen indexer class into a util library of its own.This class is currently used by two tools: HdrGen and PrototypeTestGen.We will be adding more tools based on this class so it is convenient tokeep it in a util library of its own.