llvm-project/libc
Siva Chandra Reddy a32af8252f [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
2020-07-30 16:07:26 -07:00
..
AOR_v20.02 Harmonize Python shebang 2020-07-16 21:53:45 +02:00
benchmarks [libc][benchmark] Add display option to render.py3 2020-07-13 12:09:14 +01:00
cmake/modules [libc][NFC] Make cpu feature check tolerate non-x86 architectures. 2020-06-10 11:11:04 -07:00
config [libc] Implements isdigit and isalnum. Adds a utility header to inline 2020-07-30 12:37:30 -04:00
docs [libc] Add documentation for clang-tidy checks. 2020-07-06 18:15:35 -07:00
fuzzing [libc] Adds fuzz test for strstr and alphabetizes string fuzz CMakeList. 2020-07-29 16:35:59 -04:00
include [libc] [Obvious] Delete ctype.h, since ctype.h.def is used. 2020-07-28 19:20:14 -04:00
lib [libc] Add implementations of round and roundf. 2020-06-09 23:01:20 -07:00
loader [libc] Skip entrypoints not present in the entrypoints list. 2020-06-09 14:40:28 -07:00
spec [libc] Implements isdigit and isalnum. Adds a utility header to inline 2020-07-30 12:37:30 -04:00
src [libc] Implements isdigit and isalnum. Adds a utility header to inline 2020-07-30 12:37:30 -04:00
test [libc] Implements isdigit and isalnum. Adds a utility header to inline 2020-07-30 12:37:30 -04:00
utils [libc] Add a tool called WrapperGen. 2020-07-30 16:07:26 -07:00
CMakeLists.txt [libc][benchmarks] Link the memory benchmark exes to functions from LLVM libc. 2020-06-17 11:42:26 -07:00
LICENSE.txt
README.txt

README.txt

LLVM libc
=========

This directory and its subdirectories contain source code for llvm-libc,
a retargetable implementation of the C standard library.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.