[libc][NFC] Allow memset (and bzero) to be inlined
authorGuillaume Chatelet <gchatelet@google.com>
Thu, 4 Nov 2021 12:14:31 +0000 (12:14 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Thu, 4 Nov 2021 13:48:18 +0000 (13:48 +0000)
commitc02aa15438459a2b148c1c84267fff3e926c2632
tree0c6b4fbdb423cb883d910fc2fc404f488b8e83c8
parent4f3511e28fc49faa4d2af743a37ca1007f5be30c
[libc][NFC] Allow memset (and bzero) to be inlined

This allows shipping individual functions without also having to provide
memset or bzero at the expense of bigger functions.

Similar to D113097.

Differential Revision: https://reviews.llvm.org/D113108
libc/src/string/CMakeLists.txt
libc/src/string/aarch64/memset.cpp [deleted file]
libc/src/string/bzero.cpp
libc/src/string/memory_utils/memset_implementations.h [moved from libc/src/string/memory_utils/memset_utils.h with 54% similarity]
libc/src/string/memset.cpp