summaryrefslogtreecommitdiff
path: root/libc/utils/CMakeLists.txt
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@google.com>2020-07-28 23:42:11 -0700
committerSiva Chandra Reddy <sivachandra@google.com>2020-07-30 16:07:26 -0700
commita32af8252fde237a3936c4f2f5bee1dfb0cf5ea8 (patch)
tree6908d427f70b433e59f08aaea2786f5b0fd21d90 /libc/utils/CMakeLists.txt
parent8dfb5d767e70dd862096c8872fd3e3bead99741d (diff)
[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
Diffstat (limited to 'libc/utils/CMakeLists.txt')
-rw-r--r--libc/utils/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/utils/CMakeLists.txt b/libc/utils/CMakeLists.txt
index ec1308927bf9..a55182065d20 100644
--- a/libc/utils/CMakeLists.txt
+++ b/libc/utils/CMakeLists.txt
@@ -4,4 +4,5 @@ add_subdirectory(LibcTableGenUtil)
add_subdirectory(HdrGen)
add_subdirectory(MPFRWrapper)
add_subdirectory(testutils)
+add_subdirectory(tools)
add_subdirectory(UnitTest)