summaryrefslogtreecommitdiff
path: root/libc/lib
diff options
context:
space:
mode:
authorSiva Chandra <sivachandra@google.com>2019-10-04 17:30:54 +0000
committerSiva Chandra <sivachandra@google.com>2019-10-04 17:30:54 +0000
commit4380647e79bd80af1ebf6191c2d6629855ccf556 (patch)
tree35f6a4c1125c9f4b344b4f22081678ef63732c33 /libc/lib
parent717e540f7ea13eb73707b76bf9062a1704fc68b9 (diff)
downloadllvm-4380647e79bd80af1ebf6191c2d6629855ccf556.tar.gz
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
Diffstat (limited to 'libc/lib')
-rw-r--r--libc/lib/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/lib/CMakeLists.txt b/libc/lib/CMakeLists.txt
new file mode 100644
index 000000000000..49e2d2f10d76
--- /dev/null
+++ b/libc/lib/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+add_entrypoint_library(
+ llvmlibc
+ DEPENDS
+ ### C standard library entrypoints
+ # string.h entrypoints
+ strcpy
+ strcat
+)