[libc][cmake] Make `add_tablegen` calls match othersin all the other `add_tablegen` calls, the project name is so transformed so itcan be a prefix of a CMake variable. I think it is better to do d
[libc][cmake] Make `add_tablegen` calls match othersin all the other `add_tablegen` calls, the project name is so transformed so itcan be a prefix of a CMake variable. I think it is better to do do that heretoo for consistency.Reviewed By: sivachandraDifferential Revision: https://reviews.llvm.org/D117979
show more ...
[libc] Refactor WrapperGen to make the flow cleaner.Reviewed By: michaelrjDifferential Revision: https://reviews.llvm.org/D93417
[libc] Let wrappergen pick LLVM libc mangled name from aliasee file.Along the way, made a change to run tool unittests when the target"check-libc" is run by introducing a libc testsuite for tool u
[libc] Let wrappergen pick LLVM libc mangled name from aliasee file.Along the way, made a change to run tool unittests when the target"check-libc" is run by introducing a libc testsuite for tool unittests.Reviewed By: michaelrjDifferential Revision: https://reviews.llvm.org/D93142
[libc] Extend WrapperGen to emit aliases.Reviewed By: michaelrjDifferential Revision: https://reviews.llvm.org/D90985
[libc][WrapperGen] Replace the C _Noreturn annotation with C++ [[noreturn]].Reviewed By: michaelrjDifferential Revision: https://reviews.llvm.org/D90900
[libc] Fix WrapperGen seeing no arguments as a void argument.This corrects WrapperGen generating incorrect wrappers for functionsthat take no arguments. Previously it would generate a wrapper with
[libc] Fix WrapperGen seeing no arguments as a void argument.This corrects WrapperGen generating incorrect wrappers for functionsthat take no arguments. Previously it would generate a wrapper with asingle argument of type `void`.Reviewed By: sivachandraDifferential Revision: https://reviews.llvm.org/D90800
[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