MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / LLVM_LIBC_FUNCTION

Function LLVM_LIBC_FUNCTION

system/lib/llvm-libc/src/string/memcpy.cpp:17–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace LIBC_NAMESPACE_DECL {
16
17LLVM_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

Callers

nothing calls this directly

Calls 1

inline_memcpyFunction · 0.85

Tested by

no test coverage detected