Add few docs and implementation of strcpy and strcat.
authorSiva Chandra <sivachandra@google.com>
Fri, 4 Oct 2019 17:30:54 +0000 (17:30 +0000)
committerSiva Chandra <sivachandra@google.com>
Fri, 4 Oct 2019 17:30:54 +0000 (17:30 +0000)
commit4380647e79bd80af1ebf6191c2d6629855ccf556
tree35f6a4c1125c9f4b344b4f22081678ef63732c33
parent717e540f7ea13eb73707b76bf9062a1704fc68b9
Add few docs and implementation of strcpy and strcat.

Summary:
This patch illustrates some of the features like modularity we want
in the new libc. Few other ideas like different kinds of testing, redirectors
etc are not yet present.

Reviewers: dlj, hfinkel, theraven, jfb, alexshap, jdoerfert

Subscribers: mgorny, dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D67867

llvm-svn: 373764
29 files changed:
libc/CMakeLists.txt [new file with mode: 0644]
libc/cmake/modules/LLVMLibCRules.cmake [new file with mode: 0644]
libc/docs/build_system.rst [new file with mode: 0644]
libc/docs/entrypoints.rst [new file with mode: 0644]
libc/docs/header_generation.rst [new file with mode: 0644]
libc/docs/implementation_standard.rst [new file with mode: 0644]
libc/docs/source_layout.rst [new file with mode: 0644]
libc/include/CMakeLists.txt [new file with mode: 0644]
libc/include/__llvm-libc-common.h [new file with mode: 0644]
libc/include/ctype.h [new file with mode: 0644]
libc/include/math.h [new file with mode: 0644]
libc/include/string.h [new file with mode: 0644]
libc/lib/CMakeLists.txt [new file with mode: 0644]
libc/src/CMakeLists.txt [new file with mode: 0644]
libc/src/__support/CMakeLists.txt [new file with mode: 0644]
libc/src/__support/common.h.def [new file with mode: 0644]
libc/src/__support/linux/entrypoint_macro.h.inc [new file with mode: 0644]
libc/src/string/CMakeLists.txt [new file with mode: 0644]
libc/src/string/strcat/CMakeLists.txt [new file with mode: 0644]
libc/src/string/strcat/strcat.cpp [new file with mode: 0644]
libc/src/string/strcat/strcat.h [new file with mode: 0644]
libc/src/string/strcat/strcat_test.cpp [new file with mode: 0644]
libc/src/string/strcpy/CMakeLists.txt [new file with mode: 0644]
libc/src/string/strcpy/strcpy.cpp [new file with mode: 0644]
libc/src/string/strcpy/strcpy.h [new file with mode: 0644]
libc/src/string/strcpy/strcpy_test.cpp [new file with mode: 0644]
libc/utils/build_scripts/gen_hdr.py [new file with mode: 0755]
llvm/CMakeLists.txt
llvm/projects/CMakeLists.txt