JJohn Ericson[libc][cmake] Make add_tablegen calls match others
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc][cmake] Make add_tablegen calls match others in all the other add_tablegen calls, the project name is so transformed so it can be a prefix of a CMake variable. I think it is better to do do that here too for consistency. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D117979 | 4 年前 | |
[libc] Add a tool called WrapperGen. This tool will be used to generate C wrappers for the C++ LLVM libc implementations. 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 the objcopy step (to insert the C symbol in the object file) but can make use of LTO to eliminate the cost of the additional wrapper call. This can be relevant for certain downstream platforms. If this tool can benefit other libc platforms in general, then it can be integrated into the build system with options to use or not use the wrappers. An example of such a platform is CUDA. Reviewed By: abrachet Differential Revision: https://reviews.llvm.org/D84848 | 5 年前 |