This allows shipping individual functions without also having to provide
memset or bzero at the expense of bigger functions.
Similar to D113097.
Paths
| Differential D113108
[libc][NFC] Allow memset (and bzero) to be inlined ClosedPublic Authored by gchatelet on Nov 3 2021, 7:59 AM.
Details Summary This allows shipping individual functions without also having to provide Similar to D113097.
Diff Detail
Event Timeline
Comment Actions I've added the header guard and renamed the file and function, so I think this is good to go. This revision is now accepted and ready to land.Nov 4 2021, 6:34 AM Closed by commit rGc02aa1543845: [libc][NFC] Allow memset (and bzero) to be inlined (authored by gchatelet). · Explain WhyNov 4 2021, 6:48 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 384737 libc/src/string/CMakeLists.txt
libc/src/string/aarch64/memset.cpp
libc/src/string/bzero.cpp
libc/src/string/memory_utils/memset_implementations.h
libc/src/string/memory_utils/memset_utils.h
libc/src/string/memset.cpp
|
Should the new inline files have header guards?