| 15 | namespace LIBC_NAMESPACE_DECL { |
| 16 | |
| 17 | LLVM_LIBC_FUNCTION(void *, memcpy, |
| 18 | (void *__restrict dst, const void *__restrict src, |
| 19 | size_t size)) { |
| 20 | if (size) { |
| 21 | LIBC_CRASH_ON_NULLPTR(dst); |
| 22 | LIBC_CRASH_ON_NULLPTR(src); |
| 23 | } |
| 24 | inline_memcpy(dst, src, size); |
| 25 | return dst; |
| 26 | } |
| 27 | |
| 28 | } // namespace LIBC_NAMESPACE_DECL |
nothing calls this directly
no test coverage detected