summaryrefslogtreecommitdiff
path: root/libc/lib
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@google.com>2020-05-12 16:01:28 -0700
committerSiva Chandra Reddy <sivachandra@google.com>2020-05-28 23:45:09 -0700
commit0baf0e8cfc1845ef92d397c1ae43793bf9e6aaad (patch)
tree270c0cb7d9f84429262c4e41b7340701342b309e /libc/lib
parent17ed6dcb0c96ac6a6fd5021b326213dbd5fef250 (diff)
downloadllvm-0baf0e8cfc1845ef92d397c1ae43793bf9e6aaad.tar.gz
[libc] Add implementation of call_once from threads.h.
Reviewers: abrachet, maskray Differential Revision: https://reviews.llvm.org/D79828
Diffstat (limited to 'libc/lib')
-rw-r--r--libc/lib/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/lib/CMakeLists.txt b/libc/lib/CMakeLists.txt
index 1c500ba3e5da..51f587a2a70a 100644
--- a/libc/lib/CMakeLists.txt
+++ b/libc/lib/CMakeLists.txt
@@ -35,6 +35,7 @@ add_entrypoint_library(
libc.src.sys.mman.munmap
# threads.h entrypoints
+ libc.src.threads.call_once
libc.src.threads.mtx_init
libc.src.threads.mtx_lock
libc.src.threads.mtx_unlock